Skip to content

Instantly share code, notes, and snippets.

View Layzie's full-sized avatar
🐈

HIRAKI Satoru Layzie

🐈
View GitHub Profile
@Layzie
Layzie / file0.txt
Created August 27, 2013 15:24
npm update -gでこんなエラーが出たら… ref: http://qiita.com/Layzie/items/c8ca7917550e94202e42
npm ERR! cb() never called!
npm ERR! not ok code 0
@Layzie
Layzie / 2013-04-26-html5_study.md
Last active April 29, 2023 14:58
第38回 HTML5とか勉強会

第38回 HTML5とか勉強会

JavaScriptテスト最新事情 Why? What? How?

テスト環境の向上

  • Node.jsの隆盛など

どこから手をつけるか

git log --since=1.day --author='Your Name'
@Layzie
Layzie / grunt-init.sh
Created March 6, 2013 14:58
setting.
#!/bin/sh
echo "### make .grunt-init directory ###"
mkdir $HOME/.grunt-init
echo "### clone grunt-init-commonjs ###"
git clone git@github.com:gruntjs/grunt-init-commonjs.git ~/.grunt-init/commonjs
echo "### clone grunt-init-gruntfile ###"
git clone git@github.com:gruntjs/grunt-init-gruntfile.git ~/.grunt-init/gruntfile
echo "### clone grunt-init-gruntplugin ###"
git clone git@github.com:gruntjs/grunt-init-gruntplugin.git ~/.grunt-init/gruntplugin
history | tail -n 1 -q | awk '$1=""; {print}' | pbcopy
@Layzie
Layzie / totsuzen.js
Created January 30, 2013 11:16 — forked from ahomu/totsuzen.js
#!/bin/node
// via http://starwing.net/suddenly_death.html
String.prototype.lengthByte = function()
{
var str = this;
var r = 0;
for (var i = 0; i < str.length; i++) {
var c = str.charCodeAt(i);
_人人人人人人_
> 突然の死 <
 ̄Y^Y^Y^Y^Y ̄
@Layzie
Layzie / .gitconfig
Created January 29, 2013 01:20
git config core.editor
editor = env LANG=ja_JP.UTF-8 /Applications/MacVim.app/Contents/MacOS/Vim \"$@\"