Skip to content

Instantly share code, notes, and snippets.

View is8r's full-sized avatar
🙂

Yu Ishihara is8r

🙂
View GitHub Profile
@is8r
is8r / how to use
Created October 7, 2011 00:13
アンドロイドのバージョン判別
var bo = lowerAndroid(2.2);
alert(bo);//2.2(含まない)以下はtrue
@is8r
is8r / .bash_profile
Last active October 6, 2015 08:38
.bash_profileの便利設定メモ
alias g='git'
alias gi='git init && git add . && git commit -m "first commit"'
alias gc='g add -A && git commit -a'
alias r='rails'
alias rs='rails s'
alias rgs='rails g scaffold'
alias bi="bundle install"
alias be="bundle exec rackup"
alias sq="mysql.server"
alias sqrs='mysql.server start && rails s'
@is8r
is8r / .gitconfig
Created June 21, 2012 15:11
.gitconfigの便利設定メモ
[alias]
st = status
co = checkout
di = diff
br = branch
ci = commit -a
cancel = reset --soft HEAD^ #直前のコミットを取り消す
zip = archive --format=zip --prefix=archive/ HEAD^ -o archive.zip #直前のコミットの差分ファイルをzipで抽出
ad = add .
cm = commit -m
@is8r
is8r / .gitignore
Last active October 12, 2015 12:48
.gitignoreの便利設定メモ
# OS
*~
.DS_Store
Thumbs.db
# Sass
.sass-cache
# Xcode
UserInterfaceState.xcuserstate
#----------------------------------------------------------------------
#cake watch
#----------------------------------------------------------------------
#trg
src = 'htdocs/common/coffee/'
target = 'htdocs/common/js/main.js'
#source
{spawn} = require 'child_process'
@is8r
is8r / bloog
Created February 5, 2013 02:42
$ git clone https://github.com/ShareKit/ShareKit.git
@is8r
is8r / blog
Created February 5, 2013 02:42
#import "DefaultSHKConfigurator.h"
@interface ShareKitConfigurator : DefaultSHKConfigurator
@end
@is8r
is8r / blog
Created February 5, 2013 02:43
- (NSNumber*)shareMenuAlphabeticalOrder {
return [NSNumber numberWithInt:0];
}
@is8r
is8r / blog
Created February 5, 2013 02:44
- (NSArray*)defaultFavoriteImageSharers {
return [NSArray arrayWithObjects:@"SHKTwitter", @"SHKFacebook", @"SHKInstagram", @"SHKPhotoAlbum", nil];
}
@is8r
is8r / blog
Created February 5, 2013 02:45
- (NSNumber*)showActionSheetMoreButton {
return [NSNumber numberWithBool:false];
}