a.k.a. what to do when your ISP starts blocking sites :(
Set the SOCKS proxy to local SSH tunnel
networksetup -setsocksfirewallproxy "Ethernet" localhost 8080
To clear the domain and port
| PANTS: HELLO ??? AM I LATE FOR BURNING MAN ??? IT IS COLD | |
| PANTS: THEY PROMISED FOUR AND TWENTY BLACKBIRDS | |
| PANTS: THIS IS MORE LIKE FOUR HUNDRED AND TWENTY BLACK DICKS ALL AT ONCE (WITHOUT REMORSE OR AN OUNCE OF POLITENESS I MIGHT ADD) |
| F | |
| FFFFUF FF | |
| FKF CKKCCU | |
| UUFUUUUFKKKCUCFU | |
| FU CU FF F UF FFFKCFKKCKKKKFFU | |
| F FFUUFFU F UFUFUUFC UFCUKFCC UFCKKKCF | |
| KFK FUFCFCU FF F FUFF FC F F KFUCFCF F FU FFFUFKK | |
| FCUUK KKKKKKFKC F F CCUU KCUCFUFFF F F FU F KKKKF | |
| FFF KUUKCUK FKU CCFKU CF FKFKKKUFU FFF FUFKFK | |
| FUUKCUKCF UU FCCKKKK C FFF FUKF FKKKKCCCF FFF U FUUFKKFFF |
| /* | |
| * This work is free. You can redistribute it and/or modify it under the | |
| * terms of the Do What The Fuck You Want To Public License, Version 2, | |
| * as published by Sam Hocevar. See the COPYING file for more details. | |
| */ | |
| /* | |
| * Easing Functions - inspired from http://gizma.com/easing/ | |
| * only considering the t value for the range [0, 1] => [0, 1] | |
| */ | |
| EasingFunctions = { |
| var myConfObj = { | |
| iframeMouseOver : false | |
| } | |
| window.addEventListener('blur',function(){ | |
| if(myConfObj.iframeMouseOver){ | |
| console.log('Wow! Iframe Click!'); | |
| } | |
| }); | |
| document.getElementById('YOUR_CONTAINER_ID').addEventListener('mouseover',function(){ |
| $(function(){ | |
| $('#el').hover(function(){ | |
| var colors = ['blue', 'green', 'yellow', 'orangle', 'purple', 'gray', 'cyan']; | |
| var color = colors[Math.floor(Math.random() * colors.length)]; | |
| $(this).css('background', color); | |
| }, function(){ | |
| $(this).css('background', 'transparent'); | |
| }); | |
| }); |
| #!/bin/bash | |
| for i | |
| do | |
| lynx -dump "http://www.google.com/search?q=$i&hl=en&client=safari&rls=en&tbs=isz:ex,iszw:32,iszh:32&tbm=isch&source=lnt&sa=X&ei=9eL1T9vXJsLx0gHKx6HyBg&ved=0CC0QpwUoAQ&biw=1482&bih=886" | grep imgurl=| sed 's/.*imgurl=//' | sed 's/\&.*//' | grep '\....$' | grep -v ico | grep -v ebay | |
| done |
| #!/usr/bin/env perl | |
| use strict; | |
| use warnings; | |
| use WWW::Tumblr; | |
| die 'u need to specify some filesz' if not @ARGV; | |
| my $t = WWW::Tumblr->new( |
| require "rubygems" | |
| require "twitter" | |
| require "json" | |
| # things you must configure | |
| TWITTER_USER = "your_username" | |
| MAX_AGE_IN_DAYS = 1 # anything older than this is deleted | |
| # get these from dev.twitter.com | |
| CONSUMER_KEY = "your_consumer_key" |
| # Tell system when Xcode utilities live: | |
| sudo xcode-select -switch /Applications/Xcode.app/Contents/Developer | |
| # Set "opendiff" as the default mergetool globally: | |
| git config --global merge.tool opendiff |