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
| Resources: | |
| MyCustomDomain: | |
| Type: AWS::ApiGatewayV2::DomainName | |
| Properties: | |
| DomainName: api.example.com | |
| DomainNameConfigurations: | |
| - CertificateArn: arn:aws:acm:ap-northeast-1:759044339783:certificate/e17e4147-4f27-4ccb-ab1d-a1d6300f118a | |
| EndpointType: REGIONAL | |
| Outputs: | |
| WayWay: |
| https://chrome.google.com/webstore/detail/ublacklist/pncfbmialoiaghdehhbnbhkkgmjanfhe | |
| *://qiita.com/* | |
| *://matome.naver.jp/* | |
| *://kyoko-np.net/* | |
| *://blog.livedoor.com/* | |
| *://dev.classmethod.jp/* |
| import assert = require('assert'); | |
| it("hello", () => { | |
| assert.equal({geeting:"WayWayWa", Fu:{Ho:1}}, | |
| { greeting: "Hello", Fu:{Fe:1}}); | |
| }); | |
| #!/bin/bash | |
| # run sudo apt update or similar and feed the password for the rest to run smooth | |
| # this is for the old bash based on ubuntu 14.04 | |
| sudo apt update && sudo apt dist-upgrade -y | |
| # Instlall NodeJS, Yarn and npm related dependencies | |
| curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add - | |
| echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list |
| 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 <[email protected]> - Bug 420836 |