Skip to content

Instantly share code, notes, and snippets.

View taisyo7333's full-sized avatar

Daisuke Inoue taisyo7333

View GitHub Profile
http://grapee.jp/181642
JavaScript のBoolean は下記のように変換される。言語によって異なるため、非常に重要なポイントだと思う。
0,-0,null,false,NaN,undefined, '' (空文字列) は false に変換される。
それ以外は、 true になる。
出典
開眼!JavaScript
- 言語仕様から学ぶJavaScript の本質
@taisyo7333
taisyo7333 / script.md
Created June 9, 2016 03:12
zsh環境構築

http://www.geeks-dev.com/zsh-%E3%81%AE%E7%92%B0%E5%A2%83%E6%8F%83%E3%81%88%E3%82%8B%E3%81%AE%E3%81%AB%E7%96%B2%E3%82%8C%E3%81%9F%E3%82%89-prezto-%E3%81%8C%E3%82%AA%E3%82%B9%E3%82%B9%E3%83%A1/

zsh #既にzsh環境の方は不要  
git clone --recursive https://github.com/sorin-ionescu/prezto.git "${ZDOTDIR:-$HOME}/.zprezto"  
setopt EXTENDED_GLOB  
for rcfile in "${ZDOTDIR:-$HOME}"/.zprezto/runcoms/^README.md(.N); do  
  ln -s "$rcfile" "${ZDOTDIR:-$HOME}/.${rcfile:t}"  
done  
chsh -s /bin/zsh #既にzsh環境の方は不要
@taisyo7333
taisyo7333 / gist:fc5f18d327c8c5f0169665fd296431bb
Created June 9, 2016 03:03
DeskTop上を撮影 -- >> GIFアニメーション (Win / Mac)
http://www.cockos.com/licecap/
http://www.gigafree.net/media/recording/licecap.html
@taisyo7333
taisyo7333 / gist:1067f2775bd874d3670723d775a11bdb
Created June 7, 2016 22:42
Mac コマンドラインから計算機を起動する
http://www.headsupenglish.com/index.php/upper-intermediate-students/upper-intermediate-news-lessons/upper-intermediate-business-lessons/244-vacations-and-mini-retirements
@taisyo7333
taisyo7333 / gist:b3d3fdd3e4c1f1f3d6c797553c95922f
Created May 27, 2016 08:00
Emacs で 英語のスペルチェック!
Aspell
https://miyazakikenji.wordpress.com/2013/06/01/emacs%E3%81%A7%E3%82%B9%E3%83%9A%E3%83%AB%E3%83%81%E3%82%A7%E3%83%83%E3%82%AF/
http://qiita.com/catatsuy/items/ae9875706769d4f02317
http://keisanbutsuriya.hateblo.jp/entry/2015/02/10/152543
https://atom.io/packages/atom-react-native-css
@taisyo7333
taisyo7333 / gist:17410beb8d90708909ddf8578b8da5d8
Created May 11, 2016 02:30
npm-check-updates で package.json を更新する
http://bunlog.d-s-b.jp/2014/07/22/autoupdate-package_json/
@taisyo7333
taisyo7333 / gist:78146940fdad161112538eace80359ff
Created April 17, 2016 23:29
Test HTTP request using curl command.
curl -X POST -H "Authorization: Token token= ~Here is token~ " https://example.com?value=100