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
(function(){ | |
var total = 0; | |
var year = '2012'; | |
function init(num) { | |
num = (typeof num !== 'number' ? 0 : num); | |
if(num === 0) { | |
$('<div/>').css({ | |
position: 'fixed', | |
left: 0, | |
top: 0, |
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
(function(){ | |
// このブックマークレット内で共有する変数定義 | |
var total = {}; | |
var year = '2012'; | |
// 処理中のオーバーレイ表示の追加と変数の初期化 | |
function init() { | |
$('<div/>').css({ | |
position: 'fixed', | |
left: 0, |
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
#!/bin/sh | |
# Original: http://qiita.com/items/549b42c8b361807d96a2 | |
# Original: https://gist.github.com/1185755 saiten / radiru.txt | |
# Install: rtmpdump2.4 http://trick77.com/downloads/ | |
PATH=$PATH:/usr/local/bin | |
# 使い方 | |
show_usage() { |
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
#!/bin/sh | |
# Original1: https://gist.github.com/875864 saiten / rec_radiko.sh | |
# Original2: http://backslash.ddo.jp/wordpress/archives/1020 http://backslash.ddo.jp/tools/rec_radiko2.txt | |
# Install: wget swftools rtmpdump ffmpeg http://d.hatena.ne.jp/zariganitosh/20130120/radiko_recoding_again | |
PATH=$PATH:/usr/local/bin | |
VERSION=3.0.0.01 | |
# 使い方 |
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
property pw : "" | |
property command : {{true, "touch "}, {false, "rm "}} | |
property check_text : {{true, "入"}, {false, "切"}} | |
property ScreenSharing_launchd : {{"10.5", "/Library/Preferences/com.apple.ScreenSharing.launchd"}, {"10.6", "/etc/ScreenSharing.launchd"}} | |
property RemoteManagement_launchd : {{"10.5", "/Library/Preferences/com.apple.RemoteManagement.launchd"}, {"10.6", "/etc/RemoteManagement.launchd"}} | |
global process_list | |
global service_list | |
global screen_sharing | |
global remote_managemanet |
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
tell application "AppleScript Editor" | |
activate | |
set myString to contents of document 1 | |
set beforeList to {"%", ASCII character (9), ASCII character (13), ASCII character (13), ASCII character (32), ASCII character (34), "&", "<", ">", "\\", "\""} | |
set afterList to {"%25", "%09", "%0a", "%0a", "%20", "%22", "%26", "%3c", "%3e", "\\\\", "\\\""} | |
set html1 to "<html>\n<head>\n<meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\">\n</head>\n<body>\n\n<script language=\"JavaScript\">\n<!--\nlocation.href=\"" | |
set html2 to "\"\nsetTimeout('window.close();', 1000);\n//-->\n</script>\n\n</body>\n</html>\n" | |
set oldDel to text item delimiters of AppleScript |
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
set margin to input_margin() | |
tell application "TextEdit" | |
activate | |
make new document | |
set text of front document to my rtf_setting(margin) | |
set tmp_path to (path to temporary items as text) & "rtf_margin_setting.scpt.rtf" | |
set doc_name to "余白設定 " & my in_text(margin) & ".rtf" | |
close front document saving yes saving in tmp_path | |
open file (tmp_path) |
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
(* | |
このスクリプトは、現在Operaで開いている全ページを、指定したブラウザで一気に開きます。 | |
利用したいwebブラウザをアクティブにして、Opera_to_Other.scptを実行します。 | |
全てのページを一つの新規ウィンドウを開いて表示します。 | |
最前面のOperaウィンドウのみに限定することができます。(デフォルト) | |
このスクリプトを動かすために必要なもの | |
AppleScriptライブラリ | |
依存するAppleScriptライブラリを以下のページからダウンロードしておく必要があります。 | |
http://github.com/zarigani/AppleScript-bebe-s-Library/tree/master |
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
(* | |
このスクリプトは、表計算ソフトに入力された全銀データの読み合わせを行います。 | |
このスクリプトを動かすために必要なもの | |
◆SayKana | |
SayKana(Mac版 日本語音声合成ソフト)が/usr/local/bin/以下にインストールされている必要があります。 | |
http://www.a-quest.com/aquestalk/saykana/ | |
◆AppleScriptライブラリ | |
依存するAppleScriptライブラリを以下のページからダウンロードしておく必要があります。 |
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
saykanji() | |
{ | |
voice=`kanji2voice "$1"` | |
echokanji "$voice" | |
/usr/local/bin/saykana "$voice" & | |
} | |
#FORMAT_OPTION='--node-format=%pS%f[8] --unk-format=%M --eos-format="\n"' | |
sayeb() | |
{ |
NewerOlder