サイズがあまりに大きくなってしまったので、gist ではなくて github 上で管理するようにしました。
https://github.com/Shinpeim/process-book
URL 変わっちゃうの申し訳ないんだけど、一覧性が高くなるのと pull req が受け取れるメリットのほうを取ります。せっかく読みにきてくれたのにひと手間かかっちゃってすみません。
//https://github.com/gruntjs/grunt/ | |
module.exports = function(grunt){ | |
grunt.initConfig({ | |
//execタスクとしてjasmine-headless-webkitを追加。 | |
exec:{ | |
jasmine:{ | |
command:"jasmine-headless-webkit", | |
stdout:true | |
} |
var fs = require('fs'); | |
var vm = require('vm'); | |
var _ = require('underscore'); | |
var src = fs.readFileSync('test.js'); | |
var code = (_.template("'use strict';(<%= src %>)(req,res)"))({src: src}); | |
var app = require('express')(); | |
app.get('/',function(req,res){ | |
var cxt = { |
#!/usr/bin/env ruby | |
#encoding: utf-8 | |
# | |
# TODO | |
# ---- | |
# | |
# # Output inventories as HTML. | |
# ./pomosound.rb report > report.html | |
# |
#!/usr/bin/env ruby | |
#encoding: utf-8 | |
framework 'Cocoa' | |
framework 'ApplicationServices' | |
framework 'AppKit' | |
# Get a list of applications currently running. | |
ws = NSWorkspace.sharedWorkspace |
サイズがあまりに大きくなってしまったので、gist ではなくて github 上で管理するようにしました。
https://github.com/Shinpeim/process-book
URL 変わっちゃうの申し訳ないんだけど、一覧性が高くなるのと pull req が受け取れるメリットのほうを取ります。せっかく読みにきてくれたのにひと手間かかっちゃってすみません。
S.on('appActivated', function (event, app) { | |
S.log('appActivated:' + app.name()); | |
}); |
(ns yes | |
(:use [overtone.live] | |
[clojure.data.json :only [read-json]]) | |
(:require [echonest-api.core :as echonest] | |
[http.async.client :as client])) | |
;; Kierra "Kiki" Sheard - Yes (2006) | |
;; http://www.youtube.com/watch?v=4LgXAWeGqDE | |
(def mp3 "data/yes.mp3") | |
(def wav "data/yes.wav") |
#!/bin/bash -e | |
# given a commit, find immediate children of that commit. | |
for arg in "$@"; do | |
for commit in $(git rev-parse $arg^0); do | |
for child in $(git log --format='%H %P' --all | grep -F " $commit" | cut -f1 -d' '); do | |
git describe $child | |
done | |
done | |
done |
@antipop
技術的負債の分類 (Kruchten et al., 2012)
可能的代替システムとの差異(Schmid, 2013)
var chunkedUrl = 'https://jigsaw.w3.org/HTTP/ChunkedScript'; | |
fetch(chunkedUrl) | |
.then(processChunkedResponse) | |
.then(onChunkedResponseComplete) | |
.catch(onChunkedResponseError) | |
; | |
function onChunkedResponseComplete(result) { | |
console.log('all done!', result) | |
} |