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
someValue = "Hello" | |
somevalue = "World" | |
function helloWorld(say) | |
print(say) | |
end | |
function helloworld(say) | |
print(say..say) | |
end |
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
#!/usr/bin/env python2.5 | |
# -*- coding: utf-8 -*- | |
import pikzie | |
#import unittest as pikzie | |
from core.models import User, Bookmark | |
class GAETestBase(pikzie.TestCase): | |
def setup(self): |
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
#!/usr/bin/python | |
#-*- encoding:utf-8 -*- | |
""" | |
require : simplejson | |
simplejson - Project Hosting on Google Code http://code.google.com/p/simplejson/ | |
oauthのコンシューマIDとアクセストークンは自分で取得してください | |
$ python tw_stream.py <抽出ユーザー名> |
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
#!/usr/bin/python | |
# coding: utf-8 | |
# (http://github.com/Kami/python-face-client | |
# "Kami's python-face-client at master - GitHub") | |
from face_client import face_client | |
import pit | |
config = pit.Pit.get( | |
"api.face.com", {'require':{ |
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
#!/usr/bin/env python | |
# coding: utf-8 | |
import os | |
import urllib2 | |
from cStringIO import StringIO | |
import webbrowser | |
import Image |
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
# -*- coding: utf-8 -*- | |
# togchk.models | |
import re | |
import urllib2 | |
import logging | |
from BeautifulSoup import BeautifulSoup | |
RE_URL = re.compile(r'http://togetter\.com\/li\/\d+$') |
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 <<EOM | |
liberator.globalVariables.copy_templates = [ | |
{ label: 'tw2hb', value: '[%TITLE%] B! %URL%' }, | |
{ label: 'tw2hb+quote', value: '"%SEL%" B! %URL%' }, | |
]; | |
EOM | |
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
#!/usr/bin/env python | |
# coding: utf-8 | |
from gevent import monkey; monkey.patch_all() | |
from gevent.wsgi import WSGIServer | |
import os | |
import logging | |
log = logging.getLogger(__name__) |
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
#!/usr/bin/env python | |
# coding: utf-8 | |
import os | |
from multiprocessing import Process | |
def main(args): | |
p = Process(\ |
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
# Generic | |
include "linux104.mayu" | |
keymap Global | |
# SandS | |
mod shift += !!Space | |
key R-*Space = &Ignore | |
# beef-up! | |
key BS = &Undefined |