- ダッシュボード
- 何も考えずに各モデルをカウントするのでレコード件数増えるとえらいことになる。
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Note: You must restart bin/webpack-watcher for changes to take effect | |
var path = require('path') | |
var webpack = require('webpack') | |
var merge = require('webpack-merge') | |
var config = require('./shared.js') | |
var devconfig = { | |
devtool: 'sourcemap', |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
use_debug false | |
use_bpm 130 | |
# Our mixer! | |
master = (ramp *range(0, 1, 0.01)) | |
kick_volume = 1 | |
bass_volume = 1 | |
revbass_volume = 1 | |
snare_volume = 0.5 | |
hats_volume = 0.5 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
go get -u golang.org/x/mobile/cmd/... | |
go get -u github.com/nobonobo/gomobileapp | |
gomobileapp init | |
go get -d github.com/nobonobo/nobopiano | |
# for iOS | |
gomobileapp build -target ios github.com/nobonobo/nobopiano | |
# 実機にnobopiano.appをインストール | |
# for Android |
- 特に何も無い
- 依存するモジュールの関数を引きずり出しているだけ
virtual-dom/h
は例外で、与えた引数からVNodeを作る為のラッパー
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var plugin = JavaScriptPlugin.define( | |
'export-issues', '1.0.0', | |
'Naoki Takezoe', | |
'https://twitter.com/takezoen', | |
'Export issues as JSON from REPO_URL/issues/export.' | |
); | |
plugin.addRepositoryAction('/issues/export', function(request, response, repository){ | |
var issues = plugin.db().select("SELECT * FROM ISSUE WHERE "+ | |
"USER_NAME ='" + repository.owner() + "' AND " + |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Playing ASCII drum tabs with Sonic Pi | |
# Ruby is an awesome language for String manipulation. | |
# Lets use that fact to play some drums! | |
# Tab for the Amen break taken from Wikipedia | |
# http://en.wikipedia.org/wiki/Amen_break | |
# Note that %Q{ ... } is just another way | |
# to define a string in Ruby |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- coding: utf-8 -*- | |
# manage plugins for earthquake.gem | |
# | |
# forked from: | |
# https://gist.github.com/milligramme/5253047 | |
# | |
# usage | |
# :manage_plugins show installed plugin | |
# :manage_plugins on <plugin_name> enable plugin | |
# :manage_plugins off <plugin_name> disable plugin |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var fs = require('fs'), | |
crypto = require('crypto'); | |
var through = require('through'), | |
base64 = require('base64-stream'), | |
mime = require('mime'), | |
koa = require('koa'), | |
router = require('koa-router'), | |
parse = require('co-busboy'), | |
level = require('level'), |
PG::ConnectionBad at /
could not connect to server: Connection refused
Is the server running on host "localhost" (::1) and accepting
TCP/IP connections on port 5432?
could not connect to server: Connection refused
Is the server running on host "localhost" (127.0.0.1) and accepting
TCP/IP connections on port 5432?
NewerOlder