This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
+++ 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" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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): |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
install libosmocore | |
git clone git://git.osmocom.org/libosmocore.git | |
cd libosmocore | |
autoreconf –i | |
./configure | |
make | |
sudo make install | |
sudo ldconfig | |
install airprobe |