Skip to content

Instantly share code, notes, and snippets.

View Layzie's full-sized avatar
🐈

HIRAKI Satoru Layzie

🐈
View GitHub Profile
@Layzie
Layzie / 2013-01-22-javascript書くときに便利なvimプラギン集.md
Last active December 11, 2015 10:38
はてなブログのバックアップ用
@Layzie
Layzie / git_style.md
Created December 19, 2012 16:50
git dev style for enja-oss

enja-ossでのGitの運用の提案

git remoteの活用

enja-ossのmasterリポジトリと、自分がforkしたリポジトリとで簡単に同期を取る為に、以下のようにremoteを設定すると楽になります。

git remote add upstream git@github.com:enja-oss/Backbone.git
git remote
# 以下のように表示されます
@Layzie
Layzie / devlove2012.md
Created December 15, 2012 02:07
DevLove Conference 2012メモ

DevLove Conference 2012

周りを巻き込みながら歩んできた関西人スクラムマスターの自分戦略

中村 洋さん

1番言いたい事

やりたい事があったら、やってしまう

@Layzie
Layzie / rock.diff
Created December 14, 2012 06:06
v0.0.3.6 - v0.5 diff
diff --git a/.gitignore b/.gitignore
index ca35be0..a10754b 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
_site
+node_modules/
diff --git a/README.md b/README.md
index f77a570..b8b975b 100644
--- a/README.md
@Layzie
Layzie / brew.txt
Created December 14, 2012 05:43
fomula in work mac
ack
autoconf
bdw-gc
cloc
cmake
ctags
gdbm
gettext
gist
git
@Layzie
Layzie / test.md
Created December 12, 2012 01:54
markdown test

JSON.stringifyから呼び出され、モデルのattributes属性のコピーを返します。このメソッドはViewに渡す前に属性値を永続化/シリアライズするために使用されます。実際にはJSON文字列を返すわけではないので、メソッド名はいささか混乱を招くかもしれませんが、JavaScriptのtoJSONとJSON.stringifyもそのように動作します。

@Layzie
Layzie / NodeJp_fest2012.md
Created November 18, 2012 02:12
学園祭2012

東京Node学園 学園祭2012

基調講演

途中から参戦…

  • Streamムズい
    • 後方互換性を行かしつつはムズかしい
  • streams2
  • 今までと違ってdataイベントの代わりにプッシュ通知のようにしてくれる
@Layzie
Layzie / .jshintrc
Last active March 23, 2016 19:33
Sample of .jshintrc
{
"globals": {
"jasmine" : false,
"spyOn" : false,
"it" : false,
"describe" : false,
"expect" : false,
"beforeEach" : false,
"waits" : false,
"waitsFor" : false,
### define function variable before block to avoid code being appended to closing part of JSDoc comment ###
cube = ''
###*
* Funtion to calculate cube of input
* @param {number} Number to operate on
* @return {number} Cube of input
###
cube = (x) -> x*x*x
@Layzie
Layzie / link.sh
Created October 31, 2012 04:05
Make Sublime Text 2 settings alias for syncing Dropbox