I hereby claim:
- I am SimonSickle on github.
- I am simonsickle (https://keybase.io/simonsickle) on keybase.
- I have a public key whose fingerprint is 6A40 A84F B157 604F 97D3 7CC3 CC2B CE98 794B DF22
To claim this, I am signing this object:
#!/usr/bin/python | |
import csv | |
from socket import inet_ntoa | |
from struct import pack | |
def long2ip(ip): | |
return inet_ntoa(pack("!L", ip)) | |
with open('demo.csv', 'rb') as infile, open("ip-correct-2.csv", "wb") as outfile: |
#!/usr/bin/env python | |
import multiprocessing | |
import imp | |
import urllib2 | |
import urlparse | |
urllib = imp.new_module('urllib') | |
urllib.error = urllib2 | |
urllib.parse = urlparse | |
urllib.request = urllib2 |
I hereby claim:
To claim this, I am signing this object:
/* | |
* Copyright 2015 - Simon Sickle | |
* CSV DeDuplicator | |
* Finds duplicate emails and creates a list of duplicates | |
* usage is ./dedupe /path/to/whatever.csv /path/to/dupe.csv | |
*/ | |
#include <iostream> | |
#include <fstream> | |
#include <sstream> |
<?php | |
/** | |
* Class and Function List: | |
* Function list: | |
* - ReCaptcha() | |
* - _encodeQS() | |
* - _submitHTTPGet() | |
* - verifyResponse() | |
* Classes list: | |
* - ReCaptchaResponse |
/* Copyright 2015 Simon Sickle <simon@simonsickle.com> | |
* This program is free software: you can redistribute it and/or modify | |
* it under the terms of the GNU General Public License as published by | |
* the Free Software Foundation, either version 3 of the License, or | |
* (at your option) any later version. | |
* | |
* This program is distributed in the hope that it will be useful, | |
* but WITHOUT ANY WARRANTY; without even the implied warranty of | |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
* GNU General Public License for more details. |
#!/bin/bash | |
###################################################### | |
# Copyright 2014 (c) Simon Sickle # | |
# MIT LICENSE # | |
###################################################### | |
# Notes: Run this script from the directory containing | |
# the android source. Modify variables at the top to | |
# customize the upload. Meant for AOSP. Enjoy! |
<?php | |
// A script to list devices and their "friendly" names | |
$devices = array( | |
"deb" => "Google Nexus 7 2013 (4G)", | |
"flo" => "Google Nexus 7 2013 (Wi-Fi)", | |
"grouper" => "Google Nexus 7 (Wi-Fi)", | |
"endeavoru" => "HTC One X", | |
"m7" => "HTC One (GSM)", | |
"m7spr" => "HTC One (Sprint)", | |
"m7vzw" => "HTC One (Verizon)", |
<DOCTYPE html> | |
<header> | |
<title>Carbon Changelog</title> | |
</header> | |
<body> | |
<?php | |
// Get JSON Data | |
$jsonraw = file_get_contents("https://review.carbonrom.org/changes/?q=status:merged"); | |
$json = json_decode(preg_replace('/^.+\n/', '', $jsonraw)); |
#!/bin/bash | |
# Below place your directory you want to search. For example below shows allfolders/allfiles.zip | |
list=*/*.zip | |
# Place file extension of a seperate file that you require to occompany your other files | |
extraextension=.md5 | |
for i in $( ls $list ); do | |
if [ ! -f $i.$extraextension ]; then | |
md5sum $i > $i.$extraextension |