Skip to content

Instantly share code, notes, and snippets.

View okamuuu's full-sized avatar

okamuuu okamuuu

View GitHub Profile
@okamuuu
okamuuu / mongo.aggregate.coffee
Last active September 8, 2016 16:06
mongo aggregate order by ymd
require 'coffee-script'
require 'coffee-errors'
assert = require 'assert'
moment = require 'moment'
async = require 'async'
MongoClient = require('mongodb').MongoClient
describe 'MongoClient', ->
@okamuuu
okamuuu / webpack.md
Last active October 16, 2016 08:52
webpack
mkdir src www
npm init -f
npm install --save-dev webpack webpack-dev-server
npm install --save-dev babel-core babel-loader babel-preset-es2015
npm install --save-dev babel-preset-stage-0 babel-polyfill
npm install --save-dev babel-preset-react

spa-boilerplate.react-hot-replace

mkdir practice-react && cd $_
mkdir src www
touch .babelrc webpack.config.js devServer.js src/index.js src/Root.js www/index.html
npm init -y
npm install --save-dev browser-sync webpack webpack-dev-middleware webpack-hot-middleware
npm install --save-dev babel-core babel-loader babel-preset-es2015 babel-preset-stage-0 babel-preset-react babel-plugin-react-hot
npm install --save-dev style-loader file-loader css-loader url-loader react-hot-loader
diff --git a/package.json b/package.json
index 74e43d6..0a2c4d6 100644
--- a/package.json
+++ b/package.json
@@ -22,6 +22,7 @@
"@angular/platform-browser-dynamic": "^4.0.0",
"@angular/router": "^4.0.0",
"core-js": "^2.4.1",
+ "ng2-datepicker": "^1.8.3",
"rxjs": "^5.1.0",
@okamuuu
okamuuu / isucon7q-spec.md
Created October 24, 2017 04:30
ISUCON7 予選時のマシンスペック

ISUCON7 予選時のマシンスペック

OS

$ uname -a
Linux app2693 4.4.0-96-generic #119-Ubuntu SMP Tue Sep 12 14:59:54 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu