Showing posts with label tool. Show all posts
Showing posts with label tool. Show all posts

Saturday, January 3, 2009

GitHub Creator

Install
# cpan Git::Github::Creator

Setting in ~/.github_creator.ini
[github]
login_page="https://github.com/login"
account=joe@example.com
password=foobar
remote_name=origin
debug=1
Then, in local git repository
github_creator --name my-project --desc "an awesome thing"

Arguments are optional in a Perl module with META.yml.

GitHub Creator's repository and manual on cpan

 

Tuesday, March 25, 2008

.sqliterc

I never notice that sqlite3 also support rc file. Write all convenient setting you like as ".header on"...etc in it. and never set it again when using sqlite3.

Sunday, March 9, 2008

tip for using space

It is very boring that using F8 to show all space partition and drag the window into another partition. Tonight the little discovery make me so happy. I just need to drag the window to the edge of desktop and double click the space key, and the window shift into the other partition beside the edge. Mac OS X is always make me amazing everyday. :D

Saturday, February 23, 2008

browser debuger note

Note for memory...

Safari:
Safari include a build-in debug menu, but default is off. To enable debug menu, command "defaults write com.apple.Safari IncludeDebugMenu 1" in shell, restart Safari to load it.

Debug menu with a javascript console. use Firebug compatible function console.log and console.info can print some infomation in it

Regretfully, build-in javascript console is not with javascript shell. There is a nice alternative choice at here. drag the link named shell in this page to safari bookmark bar. Click the bookmark to got a javascript shell.

Firefox:
Firebug add-on is the better choice for looking DOM, CSS. It also with a nice build-in javascript shell.

Internet Explorer 7:
internet explorer developer toolbar is a new tool. It still in beta and only for IE7. Appearance looks like firebug, But without javascript shell and couldn't modify CSS in it. Any way, It shows some aurora for debugging javascript in IE. XD

More information in blog.gugod.org

 

Sunday, February 17, 2008

the end of winter recess

這個寒假比預期的廢了很多,預定的事項,想讀的書,沒一件做完的,再來,三月一日就是研究所考試了,看著別人即將踏入考場,自己摸著鼻子甸甸自己剩下不到一年的時間儲備,真是難以說話。雖然沒有完成預定的事項,不過練習 perl/ruby 之餘還是寫了些 bot,cwbbot 是個簡單的 ruby 天氣預報機器人,提供他 twitter 的帳號和密碼,丟進 crontab,就可以每天自動取得明日溫度。