This file contains 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
queue: | |
- name: geocoding | |
rate: 1/m | |
retry_parameters: | |
task_retry_limit: 60 | |
task_age_limit: 3d | |
min_backoff_seconds: 120 |
This file contains 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
import oauth2 as oauth | |
import urllib | |
def yam(): | |
consumer_key = YOUR_CONSUMER_KEY | |
consumer_secret= YOUR_CONSUMER_SECRET | |
access_token = YOUR_ACCESS_TOKEN | |
access_token_secret = YOUR_ACCESS_TOKEN_SECRET | |
consumer = oauth.Consumer(consumer_key, consumer_secret) | |
token = oauth.Token(access_token,access_token_secret) | |
client = oauth.Client(consumer,token) |
This file contains 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
<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | |
<html xml:lang="en" xmlns="http://www.w3.org/1999/xhtml" lang="en"> | |
<head><script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script> | |
<script type="text/javascript" src="http://scripts.embed.ly/jquery.embedly.js"></script></head> | |
<body> | |
<form action="" method="get"><input type="text" name="q"/><input type="submit" name="q" value="Search"/></form> | |
<ul></ul> | |
<script> | |
function searchTwitter(q){ | |
//Force twitter to only search image providers |
NewerOlder