- 速度より品質を優先すること。
- 実装はファクト(公式ドキュメント、ソースコード、実際の動作確認)に基づいて行うこと。推測で実装してはならない。
- 十分なレファレンスがない場合は、実装に入る前に調査ステップを設けること。
- 調査しても確信が持てない場合は、ユーザーに確認または調査を依頼すること。
- 調査で複数の情報源を得た場合は、情報の鮮度を評価すること。古い情報と新しい情報が矛盾する場合は、どれが最新の状態を反映しているかを判断し、根拠とともに提示すること。
This file contains hidden or 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
| #!/bin/bash | |
| set -euo pipefail | |
| input=$(cat) | |
| [[ $(echo "$input" | jq -r '.stop_hook_active') == "true" ]] && exit 0 | |
| text=$(python3 -c " | |
| import json | |
| with open('$(echo "$input" | jq -r '.transcript_path')') as f: | |
| for entry in reversed([json.loads(l) for l in f if l.strip()]): |
This file contains hidden or 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
| <label *ngFor="let control of form.controls.liquors.controls; let i = index"> | |
| <input type="checkbox" [formControl]="control"></input> | |
| <span>{{ liquors[i].label }}</span> | |
| </label> |
This file contains hidden or 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
| FROM node:10-alpine AS builder | |
| WORKDIR /work | |
| COPY package.json yarn.lock ./ | |
| RUN yarn | |
| COPY src ./src | |
| COPY public ./public | |
| RUN yarn build | |
| FROM nginx:alpine |
This file contains hidden or 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
| apm list --installed --bare > ~/.atom/atom-packages.txt |
This file contains hidden or 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
| // @flow | |
| export default class FirebaseUtils { | |
| static logEvent(name: string, parameters: Object = {}): void { | |
| if (!name) { | |
| return | |
| } | |
| if (FirebaseUtils.isAndroid) { | |
| window.AnalyticsWebInterface.logEvent(name, JSON.stringify(parameters)) | |
| return |
This file contains hidden or 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
| // @flow | |
| import { AutoSizer, WindowScroller } from 'react-virtualized' | |
| import React, { Component } from 'react' | |
| import ReactDOM from 'react-dom' | |
| type Props = { | |
| children?: (args: { | |
| height: number, | |
| isScrolling: boolean, | |
| onChildScroll: Function, |
This file contains hidden or 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
| # Emoji list | |
| # 🎨 :art: UI | |
| # 🐛 :bug: バグ | |
| # 💄 :lipstick: リファクタリング | |
| # 📝 :memo: ドキュメント | |
| # 👔 :necktie: テストコード | |
| # 📦 :package: ライブラリ | |
| # ✨ :sparkles: 機能追加 |
{
"env": {
"browser": true,
"commonjs": true
},
"extends": "eslint:recommended"
}
This file contains hidden or 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
| var webpack = require('webpack'); | |
| module.exports = { | |
| entry: { | |
| // 起点となるファイルを指定 | |
| 'bundle-hello' : './app-hello.js', | |
| 'bundle-backbone': './app-backbone.js' | |
| }, | |
| output: { | |
| // 出力先のパスを指定 |
NewerOlder