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
import re, os, os.path | |
import tempfile | |
import pickle | |
import Media, VideoFiles, Stack | |
import dircache | |
import commands | |
import UnicodeHelper | |
import hashlib | |
from mp4file import mp4file, atomsearch |
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
import re, os, os.path | |
import Media, VideoFiles, Stack | |
from mp4file import mp4file, atomsearch | |
# Look for episodes. | |
def Scan(path, files, mediaList, subdirs): | |
# Scan for video files. | |
VideoFiles.Scan(path, files, mediaList, subdirs) | |
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
sys = require 'util' | |
fs = require 'fs' | |
exec = require('child_process').exec | |
# アプリ関連設定 | |
APP_NAME = 'appname' # アプリ名 | |
APP_ID = 'net.necomimi.appid' # アプリID | |
ANDROID_SDK = '/path/to/android-sdk' # AndroidSDKのインストール先 | |
TI_HOME = '/Library/Application\\ Support/Titanium/mobilesdk/osx/1.8.0.1' # 利用するTitaniumのホーム |
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
# Prefixを<Ctrl + b>から<Ctrl + t>に変えます。 | |
# 例:新しいウィンドウを開くときは<Ctrl + t><c>と押すことになります。 | |
# "t"以外の好きなキーにしても問題ありません。他の操作と重複しないようにしましょう。 | |
set-option -g prefix C-z | |
# view | |
set -g status-interval 5 | |
set -g status-left-length 16 | |
set -g status-right-length 50 |
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
# m h dom mon dow command | |
0 20 * * * zenity --warning --no-wrap --text="( ゜⌓゜) もういい時間だしさっさと帰れよカスwww" | |
0 21 * * * zenity --warning --no-wrap --text="( ゜⌓゜) おいダラダラ作業してんじゃねーよwwwクズがwww" | |
0 22 * * * zenity --warning --no-wrap --text="こんな時間まで作業してるとかwwww生産性m9( ゜⌓゜)" | |
0 23 * * * zenity --warning --no-wrap --text="( ゜⌓゜) そろそろ帰宅難民なんじゃね?社蓄乙www" | |
0 0 * * * zenity --warning --no-wrap --text="( ゜⌓゜) なにムキになって仕事してんの?社蓄www" |
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
@@ -24,6 +24,11 @@ | |
@background = options[:background] | |
options.delete(:background) | |
end | |
+ if options.include?(:status) | |
+ @status = options[:status] | |
+ options.delete(:status) | |
+ 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
51c451 | |
< print "<li><a href=\"./html5player.php?p=$pid&h=$startsec\"><img src='$httpmediamappath/$tid.localized/img/$path/$filetid' alt='$tid:$countno:$filetid'></a></li>\n"; | |
--- | |
> print "<li><a href=\"./html5player.php?p=$pid&h=$startsec\"><img src='http://$serveruri$httpmediamappath/$tid.localized/img/$path/$filetid' alt='$tid:$countno:$filetid'></a></li>\n"; |