Skip to content

Instantly share code, notes, and snippets.

View Layzie's full-sized avatar
🐈

HIRAKI Satoru Layzie

🐈
View GitHub Profile
#!/bin/bash
#
# git-feature-start - Git リポジトリディレクトリで、指定したブランチ名でブランチを作成し、合わせてリモートブランチも作成するコマンド
#
pushd `dirname $0` >/dev/null 2>&1
[ $? -eq 1 ] && exit 1
__script_dir=`pwd`
popd >/dev/null 2>&1
__base_dir=`dirname ${__script_dir}`
@Layzie
Layzie / 2014-11-15-node-fest2014.md
Last active August 29, 2015 14:09
Node学園祭2014メモ

Node学園祭2014

基調講演

ファイルアップロードについて

アップロードの歴史

  • HTTPはあんまりアップロードのこと考えてない
  • FTPはいまはあんまり使われてないけど、前は使われてた
@Layzie
Layzie / file0.vim
Created February 6, 2015 12:03
indentLineがそこまでイケてなかったのに気付いた ref: http://qiita.com/Layzie/items/a1c8d14bccb14c02eb1b
let g:indent_guides_enable_on_vim_startup = 1
let g:indent_guides_start_level = 2
let g:indent_guides_guide_size = 1
let g:indent_guides_exclude_filetypes = ['help', 'nerdtree', 'tagbar', 'unite']
@Layzie
Layzie / chrome-tech-night-8.md
Last active August 29, 2015 14:25
Chrome Tech Night #8 メモ
@Layzie
Layzie / to9patch.jsx
Created August 4, 2011 09:24
make 9patch file using PhotoShop
//rulerはpx指定にしておく
//9patch変換前のpngファイルを開いてから、このスクリプトを使用する
// vim:set ft=javascript:
#target photoshop
var doc = app.activeDocument;
function changeCanvas() {
var w = activeDocument.width.value,
@Layzie
Layzie / gist:1278499
Created October 11, 2011 15:58
Vichrome settings
### Sample Settings
# aliases
# in this example you can open extensions page by the command ':ext'
# and Chrome's option page by the command ':option'
alias ext OpenNewTab chrome://extensions/
alias option OpenNewTab chrome://settings/browser
# mappings for opening your favorite web page
nmap <Space>tw :OpenNewTab http://www.twitter.com
@Layzie
Layzie / _vimrc
Created November 30, 2011 01:37
for less file comment
function EnhCommentifyCallback(ft)
if a:ft == 'coffee'
let b:ECcommentOpen = '#'
let b:ECcommentClose = ''
elseif a:ft == 'less'
let b:ECcommentOpen = '/*'
let b:ECcommentMiddle = ''
let b:ECcommentClose = '*/'
endif
endfunction
" コーディングスタイル切り替え
let s:coding_styles = {}
let s:coding_styles['Default'] = 'setl tabstop=4 shiftwidth=4 shiftwidth=4 softtabstop=4 noexpandtab'
let s:coding_styles['ShortExpandStyle'] = 'setl tabstop=2 shiftwidth=2 shiftwidth=2 softtabstop=2 expandtab'
command!
\ -bar -nargs=1 -complete=customlist,s:coding_style_complete
\ CodingStyle
\ execute get(s:coding_styles, <f-args>, '')

jQuery Mobile 勉強会

  • 3/15 リクルートGINZA 8 ビル * 吉川さん

資料公開されました。

jQuery Mobile 1.1の変更点

ECMAScript勉強会

2012/04/07 渋谷

例によって、抜けなんかもあります。

自己紹介タイム

何だか錚々たる面々でビビりました。