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
| #!/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 |
| $(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'); | |
| }); | |
| }); |
| var myConfObj = { | |
| iframeMouseOver : false | |
| } | |
| window.addEventListener('blur',function(){ | |
| if(myConfObj.iframeMouseOver){ | |
| console.log('Wow! Iframe Click!'); | |
| } | |
| }); | |
| document.getElementById('YOUR_CONTAINER_ID').addEventListener('mouseover',function(){ |
| /* | |
| * 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 = { |
| 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 |
| 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) |