- jQuery - The de-facto library for the modern age. It makes things like HTML document traversal and manipulation, event handling, animation, and Ajax much simpler with an easy-to-use API that works across a multitude of browsers.
- Backbone - Backbone.js gives structure to web applications by providing models with key-value binding and custom events, collections with a rich API of enumerable functions, views with declarative event handling, and connects it all to your existing API over a RESTful JSON interface.
- AngularJS - Conventions based MVC framework for HTML5 apps.
- Underscore - Underscore is a utility-belt library for JavaScript that provides a lot of the functional programming support that you would expect in Prototype.js (or Ruby), but without extending any of the built-in JavaScript objects.
- lawnchair - Key/value store adapter for indexdb, localStorage
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
use strict; | |
use warnings; | |
use utf8; | |
use feature qw( say ); | |
binmode(STDOUT, ":utf8"); | |
use Time::HiRes qw( usleep gettimeofday tv_interval ); | |
# 現在時刻を取得([currentsec, currentmicrosec]の構造になっている) | |
my $t0 = [gettimeofday]; |
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
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
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
# リポジトリのGitHubを表示 | |
bind generic ^ !@hub browse | |
# issuesを表示 | |
bind generic - !@hub browse -- issues | |
# 選択したcommitをGitHubで表示 | |
bind generic ~ !@hub browse -- commit/%(commit) | |
# 選択したcommitのci-statusを確認 |
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
######## | |
# main view | |
######## | |
# チーム開発しているとよくremoteで更新が入るため手元に同期 | |
bind main ^r !git pull --rebase | |
# revert作業は手早く行う必要があるためバインドして効率化 | |
bind main V !?git revert %(commit) | |
# 任意のリビジョンを再現するためにcheckoutすることが多いためバインド | |
bind main C !?git checkout %(commit) |
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
bind main V !?git revert %(commit) |
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
# デフォルトの bind generic G !git gc を無効化する | |
bind generic G none |
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
# 差分の前後の表示行数(diff-context)を指定 | |
set diff-context = 6 |