[ Launch: Tributary inlet ] 5804062 by dsuket
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
module.exports = function(grunt) { | |
var fs = require('fs'); | |
// ファイルのmtimeを比較 | |
var compareMtime = function(src, target) { | |
var isNewer = true; | |
if (fs.existsSync(target)) { | |
isNewer = fs.statSync(src).mtime > fs.statSync(target).mtime; | |
} |
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
(function() { | |
/** | |
Usage: | |
```javascript | |
var userScale = scale() | |
.domain(0, 10) | |
.range(0,100); | |
userScale(2); | |
// => 20 |
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 strict'; | |
const assert = require('power-assert'); | |
const {Observable} = require('rxjs/Rx'); | |
describe('Stream', () => { | |
const expectedCount = 20; | |
// create something stream | |
function createStream() { |
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
alias dps='docker ps -a' | |
alias dl='docker ps -l -q' | |
alias di='docker images' | |
alias drun='docker run -it --rm' | |
alias dstop='docker stop $(dl)' | |
alias dstopa='docker stop $(docker ps -a -q)' | |
alias drm='docker rm' | |
alias drmi='docker rmi' | |
alias drma='docker rm $(docker ps -a -q)' |