(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
#!/usr/bin/python | |
import hmac, struct, time, base64, hashlib # for totp generation | |
import re, sys, subprocess # for general stuff | |
from getopt import getopt, GetoptError # pretending to be easy-to-use | |
# | |
# gtb - Google(auth) + Tunnelblick | |
# |
# | |
# Name: nginx-tls.conf | |
# Auth: Gavin Lloyd <[email protected]> | |
# Desc: Nginx SSL/TLS configuration for "A+" Qualys SSL Labs rating | |
# | |
# Enables HTTP/2, PFS, HSTS and OCSP stapling. Configuration options not related | |
# to SSL/TLS are not included here. | |
# | |
# Additional tips: | |
# |
"Kerberos is not the authentication system CERN deserves, but the one we need". - A wise man
This guide aims to ease the pain of setting up Kerberos authentication in your local (Ubuntu) machine and then completely forget about it.
First of all, install the following packages if you want to be successful on this journey:
#!/bin/bash | |
# ------------------------------------------------------------------------------ | |
# | System | | |
# ------------------------------------------------------------------------------ | |
# Navigation | |
# ------------------- |
" Use Vim settings, rather then Vi settings (much better!). | |
" This must be first, because it changes other options as a side effect. | |
set nocompatible | |
" ================ General Config ==================== | |
set number "Line numbers are good | |
set backspace=indent,eol,start "Allow backspace in insert mode | |
set history=1000 "Store lots of :cmdline history | |
set showcmd "Show incomplete cmds down the bottom |
http://www.depesz.com/2011/12/02/the-secret-ingredient-in-the-webscale-sauce/ | |
http://www.craigkerstiens.com/2012/11/30/sharding-your-database/ | |
https://github.com/markokr/pghashlib | |
http://www.niwi.be/2013/03/06/table-partitioning-with-postgresql/ | |
https://blog.engineyard.com/2013/scaling-postgresql-performance-table-partitioning | |
http://instagram-engineering.tumblr.com/post/10853187575/sharding-ids-at-instagram | |
http://instagram-engineering.tumblr.com/post/40781627982/handling-growth-with-postgres-5-tips-from-instagram | |
http://media.postgresql.org/sfpug/instagram_sfpug.pdf |
#!/usr/bin/env sh | |
# Download lists, unpack and filter, write to stdout | |
curl -s https://www.iblocklist.com/lists.php \ | |
| sed -n "s/.*value='\(http:.*=bt_.*\)'.*/\1/p" \ | |
| xargs wget -O - \ | |
| gunzip \ | |
| egrep -v '^#' |