https://speakerdeck.com/rtechkouhou/javaru-men
p.68 7って数値リテラルが大分ヤバい
p.69 entrySetメソッドを使うべき 単にListに変換したいだけなら、謎のDTOとかいうオブジェクトの必要性を感じない
List<Map.Entry<String, String>> list = new ArrayList<>(arg.entrySet());
p.72
const { spawn, spawnSync } = require('child_process'); | |
const readline = require('readline'); | |
const blame = spawn('git', ['blame', '--first-parent', process.argv[2]]); | |
const lines = readline.createInterface({ input: blame.stdout }); | |
const lookup = hash => { | |
const ret = spawnSync('git', ['show', '--oneline', hash]); | |
const msg = /Merge\s+(?:pull\s+request|pr)\s+\#?(\d+)\s/i; | |
const matcher = msg.exec(ret.stdout.toString()); |
version: 2 | |
jobs: | |
build: | |
working_directory: ~/project | |
docker: | |
- image: circleci/node:8 | |
steps: | |
- checkout | |
- restore_cache: | |
key: dependency-{{ .Environment.CACHE_KEY }}-{{ checksum "yarn.lock" }} |
【井の中の蛙大海を知らず?】まだデスマーチや残業に巻き込まれて消耗していますか?破壊的イノベーションを起こす外資企業からのご招待 | |
taichi sato様 | |
初めまして、エグゼクティブサーチICPAの榎本です。 |
https://speakerdeck.com/rtechkouhou/javaru-men
p.68 7って数値リテラルが大分ヤバい
p.69 entrySetメソッドを使うべき 単にListに変換したいだけなら、謎のDTOとかいうオブジェクトの必要性を感じない
List<Map.Entry<String, String>> list = new ArrayList<>(arg.entrySet());
p.72
/******************************************************************************* | |
* Copyright (c) 2010, 2014 IBM Corporation and others. | |
* All rights reserved. This program and the accompanying materials | |
* are made available under the terms of the Eclipse Public License v1.0 | |
* which accompanies this distribution, and is available at | |
* http://www.eclipse.org/legal/epl-v10.html | |
* | |
* Contributors: | |
* IBM Corporation - initial API and implementation | |
* Lars Vogel <Lars.Vogel@gmail.com> - Bug 420836 |
I hereby claim:
To claim this, I am signing this object:
// SQLite3 usage Examples | |
test.cb("sqlite3:open & close", t => { | |
t.plan(2); | |
let db = new sqlite3.Database(":memory:"); | |
db.on("open", () => { | |
t.pass(); | |
}); | |
db.on("close", () => { | |
t.pass(); |
node_modules/ |
import { TextLintMessage } from "textlint"; |