Skip to content

Instantly share code, notes, and snippets.

@Ins1ne
Ins1ne / gist:893b87e40a84c53216d4ec4439e2a399
Last active January 18, 2017 16:35 — forked from jordelver/gist:3073101
Set the Mac OS X SOCKS proxy on the command line

Set the Mac OS X SOCKS proxy on the command line

a.k.a. what to do when your ISP starts blocking sites :(

Start SSH tunel

ssh -D 8888 -C -N [email protected]

Set the SOCKS proxy to local SSH tunnel

import ConfigParser
import multiprocessing
import os
import servicemanager
import sys
import time
import win32serviceutil
import win32service
import win32event
import win32api
@Ins1ne
Ins1ne / vimrc
Created November 29, 2013 11:27
"=============================================================================
" Description: Ins1ne's .vimrc
" Author: Aider Ibragimov <[email protected]>
" URL: https://github.com/Ins1ne/dotfiles.git
"=============================================================================
" Vundle setup
set nocompatible " be iMproved
filetype off " required!
@Ins1ne
Ins1ne / README.md
Created September 19, 2012 17:43 — forked from smileart/README.md
My ZSH Theme — Agnoster Mod

My modified fork of agnoster.zsh-theme

A ZSH theme optimized for people who use:

  • Solarized
  • Git
  • Unicode-compatible fonts and terminals (I use iTerm2 + Menlo)

Compatibility