Skip to content

Instantly share code, notes, and snippets.

#initialize
git config --global user.name hoge
git config --global user.email [email protected]
#delete ゴミ files
find . -name .DS_Store -print -delete
#find . -name Thumbs.db -print -delete
#ignore setting
echo /hoge/hoge > .gitignore
@shenqi
shenqi / seikei.rb
Created August 18, 2010 04:57
fetch livedoor weather and growl it!
#!/usr/bin/env ruby -Ku
require 'net/http'
require 'rubygems'
require 'rmagick'
include Magick
class Kakumaru
def initialize(iconurl)
@shenqi
shenqi / update.rb
Created August 17, 2010 13:17
sync everything at start-up and growl the result
#!/usr/bin/env ruby -Ku
require 'rbconfig'
require 'rubygems'
require 'meow'
#絶対パスで指定。 '/'でクローズ
REPODIR = '/Users/shenqi/src/'
PERLDIR = '/Users/shenqi/perl5/'