Skip to content

Instantly share code, notes, and snippets.

View japsu's full-sized avatar

Santtu Pajukanta japsu

View GitHub Profile
@japsu
japsu / isp.md
Last active February 14, 2018 07:59 — forked from joepie91/vpn.md
Don't use ISP services.

Don't use ISP services.

No, seriously, don't. You're probably reading this because you've asked what ISP service to use, and this is the answer.

Note: The content in this post does not apply to using ISP for their intended purpose; that is, as a premium service delivery mechanism (such as cable, VOD). It only applies to using it as a glorified proxy, which is what every third-party "Internet Service Provider" does.

Why not?

Because an ISP in this sense is just a glorified proxy. The ISP can see all your traffic, and do with it what they want - including logging.

x () {
if [ -f $1 ]
then
case $1 in
(*.tar.bz2) tar xvjf $1 ;;
(*.tar.gz) tar xvzf $1 ;;
(*.bz2) bunzip2 $1 ;;
(*.rar) unrar x $1 ;;
(*.gz) gunzip $1 ;;
(*.tar) tar xvf $1 ;;
@japsu
japsu / gunicorn_django
Created July 6, 2012 07:27 — forked from xspager/gunicorn
Gunicorn_django init.d script (redhat/centos)
#!/bin/sh
### BEGIN INIT INFO
# Provides: gunicorn_django
# Required-Start: $all
# Required-Stop: $all
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: starts the gunicorn server
# Description: starts gunicorn using start-stop-daemon