Skip to content

Instantly share code, notes, and snippets.

View halch's full-sized avatar

yamahal halch

View GitHub Profile
@STAR-ZERO
STAR-ZERO / gist:5335577
Last active December 15, 2015 22:49
HomebrewでMySQLのバージョンを指定して入れる

HomebrewでMySQLのバージョンを指定して入れる

$ cd /usr/local
$ brew versions mysql
5.6.10   git checkout aa3db07 Library/Formula/mysql.rb
5.5.29   git checkout 336c976 Library/Formula/mysql.rb
5.5.28   git checkout 5825f62 Library/Formula/mysql.rb
5.5.27   git checkout 93aecfa Library/Formula/mysql.rb
5.5.25a git checkout faaa6c1 Library/Formula/mysql.rb
@etheriqa
etheriqa / innodb-lock.md
Created March 12, 2013 19:22
[InnoDB] 非ユニークキーによる行ロックの範囲についてちょっと調べた

[InnoDB] 非ユニークキーによる行ロックの範囲についてちょっと調べた

バージョン

% mysql --version
mysql  Ver 14.14 Distrib 5.5.29, for debian-linux-gnu (x86_64) using readline 6.2

調査方法

@victusfate
victusfate / working_member_bind.coffee
Created June 27, 2011 09:46
working CoffeeScript class member bind
class GameOfLife
#rest of class omitted
#see http://github.com/victusfate/life
update: (playpause=1) ->
#jk dual flip flop flashback
if playpause == @playpause
@playpause = 0
clearTimeout @time_out_id if @time_out_id