更新: | 2014-05-14 |
---|---|
バージョン: | 0.0.12 |
作者: | @voluntas |
URL: | http://voluntas.github.io/ |
とても詳しいまとめがありますので、ますはそちらを見ることをオススメします。
var db = mongoose.connect('mongodb://localhost:27017/DB'); | |
// In middleware | |
app.use(function (req, res, next) { | |
// action after response | |
var afterResponse = function() { | |
logger.info({req: req}, "End request"); | |
// any other clean ups |
SDK = 'iphoneos7.0' | |
PRODUCT_NAME = '' | |
CODE_SIGN_IDENTITY = '' | |
PROVISIONING_PROFILE_UUID = '' | |
TESTFLIGHT_API_TOKEN = '' | |
TESTFLIGHT_TEAM_TOKEN = '' | |
desc "Clean build dir" |
更新: | 2014-05-14 |
---|---|
バージョン: | 0.0.12 |
作者: | @voluntas |
URL: | http://voluntas.github.io/ |
とても詳しいまとめがありますので、ますはそちらを見ることをオススメします。
var https = require('https'); | |
var req = https.request({ | |
host: "api.chatwork.com", | |
path: "/v1/my/status", | |
method: 'GET', | |
headers: { | |
"X-ChatWorkToken":"xxxxx" | |
} | |
}, |
Why Should I Care (For Developers)
"Dockerが面白いのはシンプルな環境に隔離性と再現性をもたらしてくれることだ.ランタイムの環境を一度作れば、パッケージにして別のマシンでも再利用することできる.さらに,すべてはホスト内の隔離された環境で行われる(VMのように).最も素晴らしい点は,シンプルかつ高速であることだ."
/** | |
* The MIT License (MIT) | |
* | |
* Copyright (c) 2013-2015 Andrew Snare, Age Mooij | |
* | |
* Permission is hereby granted, free of charge, to any person obtaining a copy | |
* of this software and associated documentation files (the "Software"), to deal | |
* in the Software without restriction, including without limitation the rights | |
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
* copies of the Software, and to permit persons to whom the Software is |
module.exports = function(grunt) { | |
grunt.initConfig({ | |
jade: { | |
compile: { | |
options: { | |
pretty: true | |
}, | |
files: [{ | |
expand: true, | |
src: ['**/*.jade'], |
// http://ejohn.org/blog/simple-javascript-inheritance/ | |
function Class() {} | |
Class.extend = function extend(props) { | |
var SuperClass = this; | |
function Class() { | |
if (typeof this.init === 'function') { | |
this.init.apply(this, arguments); |