- Scott Chacon on the Interwebs(リンク切れ)
- Scott Chacon on the Interwebs
- GitHub Flow - The best way to use Git and GitHub
31 Aug 2011
var Iconv, iconv, httpRequest; | |
httpRequest = require('httpclient').httpRequest; | |
Iconv = require('iconv').Iconv; | |
//iconv = new Iconv('SHIFT_JIS', 'UTF-8//TRANSLIT//IGNORE'); | |
iconv = new Iconv('CP932', 'UTF-8//TRANSLIT//IGNORE'); | |
function gsURL (uri) { | |
return function (_uri) { | |
if (_uri && _uri !== uri) uri = _uri; |
#!/bin/bash | |
LANG=ja_JP.utf8 | |
pid=$$ | |
date=`date '+%Y-%m-%d-%H_%M'` | |
outdir="." | |
if [ $# -le 1 ]; then |
This is a curated set of conventions and best practices for Stylus, an expressive, dynamic, robust and advanced CSS preprocessor. Frustrated with there not being a set of conventions set in place (that could be easily found), I set forth to find out on my own.
###作りたいものリスト
回答してみた。
自分の立場
10分ぐらいで答えた。間違ってるのがあるのもわかってるけどリアルさ重視というナの手抜きです。
{ | |
"name": "my-app", | |
"version": "1.0.0", | |
"description": "My test app", | |
"main": "src/js/index.js", | |
"scripts": { | |
"jshint:dist": "jshint src/js/*.js", | |
"jshint": "npm run jshint:dist", | |
"jscs": "jscs src/*.js", | |
"browserify": "browserify -s Validating -o ./dist/js/build.js ./lib/index.js", |
var getIP = function (req) { | |
if (req.headers['x-forwarded-for']) { | |
return req.headers['x-forwarded-for']; | |
} | |
if (req.connection && req.connection.remoteAddress) { | |
return req.connection.remoteAddress; | |
} | |
if (req.connection.socket && req.connection.socket.remoteAddress) { | |
return req.connection.socket.remoteAddress; | |
} |
" Vim color file | |
" Converted from Textmate theme Predawn using Coloration v0.4.0 (http://github.com/sickill/coloration) | |
set background=dark | |
highlight clear | |
if exists("syntax_on") | |
syntax reset | |
endif |