c4se記:さっちゃんですよ☆

.。oO(さっちゃんですよヾ(〃l _ l)ノ゙☆)

.。oO(此のblogは、主に音樂考察Programming に分類されますよ。ヾ(〃l _ l)ノ゙♬♪♡)

音樂は SoundCloud に公開中です。

考察は現在は主に Scrapbox で公表中です。

Programming は GitHub で開發中です。

2013-10-18から1日間の記事一覧

node.jsで非同期にdirectory中の全てのfileを読み込む

fs.js fs.readAllFile(directory, callback) /** * Extends standard FileSystem module. * * @module fs */ var fs = require('fs'), path = require('path'), Q = require('q'); /** * Read All files in the directory. * * @static * @param {string} di…

node.jsでJSONをHTTPで取ってくる簡易method

http.js /** * Extends standard http module. * * @module http */ 'use strict'; var http = require('http'); /** * Wrapper for http.get() to get JSON resource. * * @example * var http = require('./http.js'); * http.getJson('http://example.com…