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
# -*- coding: utf-8 -*- | |
import os | |
def get_ancestor_dir(path, n): | |
''' | |
pathからn階層上のディレクトリを返す | |
path: ディレクトリの文字列. os.path.abspath(__file__)とかを想定. | |
n: 遡る階層の数 | |
return: パスの文字列 | |
''' |
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
# -*- coding: utf-8 -*- | |
from pymongo import Connection | |
from lib.core import Filter | |
class Deleted(Filter): | |
def init(self): | |
self.watch = [] # 監視対象のスクリーンネームを入れる. 空なら全部通知 | |
addr = "localhost" |
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
# -*- coding: utf-8 -*- | |
import json | |
import urllib, urllib2 | |
import time | |
from datetime import datetime | |
from lib.core import Input | |
class Teiden(Input): | |
def get_info(self): |
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
俺の iPhone 4 (iOS 5.0.1) の JB 環境まとめ。とりあえず。 | |
--- | |
Sources | |
*Backspace Repos* | |
http://v.backspace.jp/repo/ | |
*BigBoss* | |
http://apt.thebigboss.org/repofiles/cydia/dists/stable |
NewerOlder