Skip to content

Instantly share code, notes, and snippets.

Kazuhito Hokamura hokaccha

Block or report user

Report or block hokaccha

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
teramako / promise.js
Last active Dec 16, 2015
テキトウに Promise 実装。WeakMap とか for-of とか、その他 ECMAScript 6th 機能を使っているので、一般には使えないけど。
View promise.js
* @example 1
* Promise.when(
* asyncFunc1(),
* asyncFunc2()
* ).then(
* function done (p1, p2){ console.log("resolved: ", p1.isResolved, p2.isResolved); },
* function reject(p1, p2){ console.log("rejected: ", p2.isRejected, p2.isRejected); }
* );
* function asycFunc1 () {
studiomohawk /
Created Jan 9, 2013
CSS Radar @ Twitter / 2013.01.09 Wednesday Edition'
studiomohawk / google-reader-list.xml
Last active Dec 10, 2015
Google Readerリスト - 2013/03/13 ver.
View google-reader-list.xml
<?xml version="1.0" encoding="UTF-8"?>
<opml version="1.0">
<title>studiomohawk の Google リーダー登録フィード</title>
<outline text=".net" title=".net" type="rss"
xmlUrl="" htmlUrl=""/>
<outline text="0 FPS" title="0 FPS" type="rss"
xmlUrl="" htmlUrl=""/>
tj / routes.js
Created Oct 15, 2011
Express routes
View routes.js
var app = require('../app');
console.log(' \033[90m%s \033[36m%s\033[0m', route.method.toUpperCase(), route.path);
taiju / commify.js
Created Jul 15, 2011
View commify.js
* アルゴリズム by Perlクックブック
var num = 1000000000000000000;
function commify(num, sep) {
return + '')
#!/usr/bin/env perl
use strict;
use warnings;
use Pod::Usage;
use Text::Markdown 'markdown';
use HTML::TreeBuilder;
use List::Util 'max';
You can’t perform that action at this time.