2011-11-08から1日間の記事一覧
hjklショットカット設定してる人向け。ページロード時に勝手にフォームにフォーカスする使いものにならないサイト向け。Googleには対応できない。 // ==UserScript== // @encoding utf-8 // @include http://browse.deviantart.com/* // @include http://www…
Lispの本読んでる筈なんだけどなー。練習。 sqrt = (x) -> prev = x next = x / 2 while prev isnt next prev = next next = predictive_next_sqrt x, prev next predictive_next_sqrt = (x, value) -> (value + x / value) / 2 module.exports.sqrt = sqrt …