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/env ruby -Ku | |
require 'rbconfig' | |
require 'rubygems' | |
require 'meow' | |
#絶対パスで指定。 '/'でクローズ | |
REPODIR = '/Users/shenqi/src/' | |
PERLDIR = '/Users/shenqi/perl5/' |
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/env ruby -Ku | |
require 'net/http' | |
require 'rubygems' | |
require 'rmagick' | |
include Magick | |
class Kakumaru | |
def initialize(iconurl) |
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
#initialize | |
git config --global user.name hoge | |
git config --global user.email hoge@example.com | |
#delete ゴミ files | |
find . -name .DS_Store -print -delete | |
#find . -name Thumbs.db -print -delete | |
#ignore setting | |
echo /hoge/hoge > .gitignore |
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/env ruby -Ku | |
require 'net/http' | |
require 'rubygems' | |
require 'nokogiri' | |
require 'meow' | |
TOPURL = 'http://baseball.yahoo.co.jp/npb/schedule/' |
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
ffmpeg -i $argv[1] -vcodec libx264 -s 640x360 -b 600k -vpre faster -vpre ipod640 -r 24000/1001 -acodec libfaac -ac 2 -ar 48000 -ab 192k -threads 2 -f ipod $argv[2].m4v |
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/env ruby -Ku | |
require 'rubygems' | |
require 'meow' | |
LIBDIR = '/Users/shenqi/Media/Music/' #set the path for itunes music library | |
def gomi_remover(string) | |
return (`echo "#{string}" | iconv -f UTF-8-MAC -t UTF-8`).chomp |
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
--- ./android-sdk-mac_86/tools/android.bak 2010-11-18 08:46:46.000000000 +0000 | |
+++ ./android-sdk-mac_86/tools/android 2010-12-09 05:53:23.000000000 +0000 | |
@@ -63,7 +63,7 @@ | |
# Mac OS X needs an additional arg, or you get an "illegal thread" complaint. | |
if [ `uname` = "Darwin" ]; then | |
- os_opts="-XstartOnFirstThread" | |
+ os_opts="-XstartOnFirstThread -d32" | |
else | |
os_opts= |
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
. $topsrcdir/browser/config/mozconfig | |
CC="gcc-4.2 -arch i386" | |
CXX="g++-4.2 -arch i386" | |
HOST_CC="gcc-4.2" | |
HOST_CXX="g++-4.2" | |
RANLIB=ranlib | |
AR=ar | |
AS=$CC | |
LD=ld | |
STRIP="strip -x -S" |
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
command -nargs=+ tempopen open http://www.google.co.jp/search?hl=ja&q=<args> | |
command -nargs=+ temptabopen tabopen http://www.google.co.jp/search?hl=ja&q=<args> | |
map o -builtin :tempopen<Space> | |
map t -builtin :temptabopen<Space> |
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
. $topsrcdir/browser/config/mozconfig | |
CC="gcc-4.2 -arch x86_64" | |
CXX="g++-4.2 -arch x86_64" | |
HOST_CC="gcc-4.2" | |
HOST_CXX="g++-4.2" | |
RANLIB=ranlib | |
AR=ar | |
AS=$CC | |
LD=ld | |
STRIP="strip -x -S" |
OlderNewer