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
#!/usr/bin/ruby | |
# encoding: utf-8 | |
# | |
# Grab iTunes Icon - Brett Terpstra 2014 <http://brettterpstra.com> | |
# | |
# Retrieve an iOS app icon at the highest available resolution | |
# All arguments are combined to create an iTunes search | |
# The icon for the first result, if found, is written to a filename based on search terms | |
# | |
# example: |
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
Traceback (most recent call last): | |
File "/base/python_runtime/python_lib/versions/1/google/appengine/ext/webapp/__init__.py", line 515, in __call__ | |
handler.get(*groups) | |
File "/base/data/home/apps/v2ex/1.346841488429081261/main.py", line 68, in get | |
member = CheckAuth(self) | |
File "/base/data/home/apps/v2ex/1.346841488429081261/v2ex/babel/security/__init__.py", line 14, in CheckAuth | |
cookies = Cookies(handler, max_age = 86400 * 365, path = '/') | |
File "/base/data/home/apps/v2ex/1.346841488429081261/v2ex/babel/ext/cookies.py", line 6, in __init__ | |
self._in = handler.request.cookies | |
File "/base/python_runtime/python_lib/versions/1/webob/__init__.py", line 985, in cookies |
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
javascript:var d=document,w=window,f='https://twitter.com/share',l=d.location,e=encodeURIComponent,c=w.getSelection?w.getSelection().toString():d.getSelection?d.getSelection():d.selection.createRange().text;p='?url='+e(l.href)+'&text='+ e(c?c:d.title);a=function(){if(!w.open(f+p,'Tweet Button','toolbar=0,status=0,resizable=0,width=550,height=400,left=200,top=200'))l.href=f+'.new'+p};if(/Firefox/.test(navigator.userAgent))setTimeout(a,0);else{a()}void(0); |