| layout | post | ||||
|---|---|---|---|---|---|
| title | Flickr's Asynchronous Script Loading Part 2 | ||||
| author | Alex Kessinger | ||||
| categories |
|
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: var d = document, | |
| w = window, | |
| e = w.getSelection, | |
| k = d.getSelection, | |
| x = d.selection, | |
| s = (e ? e() : (k) ? k() : (x ? x.createRange().text: 0)), | |
| f = 'http://www.tumblr.com/share', | |
| l = d.location, | |
| e = encodeURIComponent, | |
| p = '?v=3&u=' + e(l.href) + '&t=' + e(d.title) + '&s=' + e(s), |
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: e = document.createElement('script'); | |
| e.setAttribute('type', 'text/javascript'); | |
| e.setAttribute('src', '//findings.com/bookmarklet/loader'); | |
| document.body.appendChild(e); | |
| void(0); | |
| (function(window, undefined) { | |
| var date = new Date(); | |
| window.FDGS = window.FDGS || { |
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
| // The Bookmarklet | |
| javascript: (function() % | |
| 7BISRIL_H = '8e7a'; | |
| PKT_D = 'getpocket.com'; | |
| ISRIL_SCRIPT = document.createElement('SCRIPT'); | |
| ISRIL_SCRIPT.type = 'text/javascript'; | |
| ISRIL_SCRIPT.src = 'http://' + PKT_D + '/b/r.js'; | |
| document.getElementsByTagName('head') % 5B0 % 5D.appendChild(ISRIL_SCRIPT) % 7D)(); | |
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
| // The bookmarklet portion | |
| javascript: void((function() { | |
| var e = document.createElement('script'); | |
| e.setAttribute('type', 'text/javascript'); | |
| e.setAttribute('charset', 'UTF-8'); | |
| e.setAttribute('src', 'http://assets.pinterest.com/js/pinmarklet.js?r=' + Math.random() * 99999999); | |
| document.body.appendChild(e) | |
| })()); | |
| // The code that gets loaded in |
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
| // Bookmarklet portion | |
| javascript: function iprl5() { | |
| var d = document, | |
| z = d.createElement('scr' + 'ipt'), | |
| b = d.body, | |
| l = d.location; | |
| try { | |
| if (!b) throw (0); |
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
| Hey Alex, there aren't any docs yet. Here's the info: | |
| simplenote://new?content=encodedContent&tag=encodedTag | |
| The parameters are optional. If omitted, Simplenote will open to a new, blank note. |
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
| """ | |
| From this paper: http://acl.ldc.upenn.edu/acl2004/emnlp/pdf/Mihalcea.pdf | |
| I used python with nltk, and pygraph to do an implmentation of of textrank. | |
| for questions: http://twitter.com/voidfiles | |
| """ | |
| import nltk | |
| import itertools |
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
| { | |
| // Settings | |
| "passfail" : false, // Stop on first error. | |
| "maxerr" : 10000, // Maximum error before stopping. | |
| // Predefined globals whom JSHint will ignore. | |
| "browser" : true, // Standard browser globals e.g. `window`, `document`. | |
| "node" : false, |
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
| /* | |
| * jQuery UI Draggable @VERSION | |
| * | |
| * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) | |
| * Dual licensed under the MIT or GPL Version 2 licenses. | |
| * http://jquery.org/license | |
| * | |
| * http://docs.jquery.com/UI/Draggables | |
| * | |
| * Depends: |