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
| F.actionQueue.register('button-bar-fave', { | |
| interim: function(id) { | |
| var fave_button = document.getElementById(id); | |
| if (fave_button.className.search(/fave/) === -1) { | |
| fave_button.className = 'Butt ywa-track fave-button fave'; | |
| } else { | |
| fave_button.className = 'Butt ywa-track fave-button'; | |
| } | |
| }, | |
| cleanup: function(id) { |
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
| (function(F) { | |
| var registered_ids = {}, | |
| id_to_module_map = {}, | |
| interim_actions = {}, | |
| cleanup_actions = {}, | |
| clicked_ids = {}, | |
| queueing = true; | |
| function register_id(id, callbacks, required_module) { | |
| id = id.replace('*', '.*'); |
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
| (function(F) { | |
| var registered_ids = {}, | |
| id_to_module_map = {}, | |
| interim_actions = {}, | |
| cleanup_actions = {}, | |
| clicked_ids = {}, | |
| queueing = true; | |
| function register_id(id, callbacks, required_module) { | |
| id = id.replace('*', '.*'); |
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
| """ | |
| Extractive is a cool new service that does some on the fly web | |
| crawling, and machine learning stuff like Entity Extraction, Full | |
| text extraction, and more things I don't even understand. There | |
| on demand api was very easy to use, but I built my first crawl | |
| job the other night, and had some trouble parsing the results. | |
| I thought I would put this up so people can see how I fixed the | |
| output. | |
| """ |
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
| long_tweet = 'asdfasdf asd fasd fasdf asdf asdf asdf asdf asdf asdf asdf asdf asdf asdf asdf asdf asdf asdf asdfasdf asdfasdfas dfasd fasd fasdf asdf asdf asdf asdf asdf asdf ' | |
| short_tweet = 'asdfasdf asd fasd fasdf asdf asdf asdf asdf asdf asdf asdf asdf' | |
| url = "http://sia.tw/4fgs4" | |
| def join_url(tweet, url): | |
| max_tweet_length = 139 |
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
| <?xml version="1.0" encoding="UTF-8"?> | |
| <table xmlns="http://query.yahooapis.com/v1/schema/table.xsd" securityLevel="any"> | |
| <meta> | |
| <author>Picplz</author> | |
| <documentationURL>http://picplz.com</documentationURL> | |
| <sampleQuery>select * from {table} WHERE entity='feed' AND type='interesting'</sampleQuery> | |
| <sampleQuery>select * from {table} WHERE entity='city' AND id=2 AND include_pics=1</sampleQuery> | |
| <sampleQuery>select * from {table} WHERE entity='user' AND username='zubillaga' AND include_pics=1;</sampleQuery> | |
| </meta> | |
| <bindings> |
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
| { | |
| "result": "ok", | |
| "value": { | |
| "more_pics": true, | |
| "last_pic_id": 153217, | |
| "pic_count": 200, | |
| "pics": [ | |
| { | |
| "city": { | |
| "url": "/city/san-francisco-ca/", |
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
| { | |
| 'cannonical_link': 'http://www.livemixtapes.com/mixtapes/2184/gang_related.html', | |
| 'dj': { | |
| 'link': 'http://livemixtapes.com/djs/404/dj_messiah.html', | |
| 'name': 'DJ Messiah' | |
| }, | |
| 'img_url': 'http://images.livemixtapes.com/artists/messiah/gangrelated-5star/tn_cover.jpg', | |
| 'score': { | |
| 'value': '127', | |
| 'views': '31,076', |
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
| (function(){ | |
| var cvp = $.cookie("picplz_viewpref"), | |
| nvp = (cvp===null) ? | |
| "mobile" : | |
| (cvp==="web") ? | |
| "mobile" : | |
| "web"; | |
| $.cookie("picplz_viewpref",nvp, {"path": "/"}); | |
| })() |
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
| require 'formula' | |
| <<-COMMENTS | |
| This is the Homebrew formula for Python. | |
| Versions | |
| -------- | |
| This formula is currently tracking version 2.6.x. |