Skip to content

Instantly share code, notes, and snippets.

+++ dsc_extractor.cpp 2017-06-02 08:55:43.000000000 +0700
@@ -37,7 +37,7 @@
#include <mach-o/arch.h>
#include <mach-o/loader.h>
#include <Availability.h>
-#include <dlfcn.h>
+
#define NO_ULEB
#include "Architectures.hpp"
#include "MachOFileAbstraction.hpp"
# coding: utf-8
import requests
from lxml import html
day = 21
month = 12
year = 2016
for i in range(6000):
print i
content = requests.get('http://domains-by-day.com/%d-%d-%d/domains-%d.html' % (year, month, day, i)).text
tree = html.fromstring(content)
# coding: utf-8
'''
http://www.analyticsedge.com/2016/11/heres-a-secret-%C9%A2oogle-com-is-not-google-com/
'''
import idna
'''
import unicodedata
def unicode_to_ascii(data):
return unicodedata.normalize('NFKD', data).encode('ascii', 'ignore')
def compare2(domain1, domain2):
@sovietw0rm
sovietw0rm / 0_reuse_code.js
Created December 30, 2015 09:17
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
@sovietw0rm
sovietw0rm / bladerf and airprobe
Created July 20, 2014 14:32
bladerf and airprobe
install libosmocore
git clone git://git.osmocom.org/libosmocore.git
cd libosmocore
autoreconf –i
./configure
make
sudo make install
sudo ldconfig
install airprobe