This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| //Use this to tunnel a file through json for crossdomain access. | |
| try { | |
| $uri = $_GET['uri']; // the URI that we're fetching | |
| $callback = $_GET['_callback']; // the callback that's used with jsonp (optional) | |
| if (is_null($_GET['uri'])) { | |
| throw new Exception('Bad URI'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var document; | |
| var dbg = (typeof console !== 'undefined') ? function(s) { | |
| console.log("Readability: " + s); | |
| } : function() {}; | |
| /* | |
| * Readability. An Arc90 Lab Experiment. | |
| * Website: http://lab.arc90.com/experiments/readability | |
| * Source: http://code.google.com/p/arc90labs-readability |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| $countries = array | |
| ( | |
| 'AF' => 'Afghanistan', | |
| 'AX' => 'Aland Islands', | |
| 'AL' => 'Albania', | |
| 'DZ' => 'Algeria', | |
| 'AS' => 'American Samoa', | |
| 'AD' => 'Andorra', |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| javascript:(function(){ | |
| //inspired by http://userscripts.org/scripts/show/8924 | |
| var s = document.createElement('script'); | |
| s.setAttribute('src','http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.js'); | |
| if(typeof jQuery=='undefined') document.getElementsByTagName('head')[0].appendChild(s); | |
| (function() { | |
| if(typeof jQuery=='undefined') setTimeout(arguments.callee, 100) | |
| else{ | |
| jQuery("*").one("click",function(event){ | |
| //http://snippets.dzone.com/posts/show/4349 |
NewerOlder