git init
git add README.md
git commit -m "first commit"
git remote add origin [email protected]:sho-t/gittutorial.git
git push -u origin master```
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
// 2次元配列の初期化 | |
[...Array(3)].map(() => Array(3).fill(0)); | |
const foo = { a: 1, b: 2 }; | |
// オブジェクトのクローン | |
const bar = { ...foo }; // => { a: 1, b: 2 } | |
// 特定の値の分割代入 | |
let kbyd = ['輿水幸子', '姫川友紀', '小早川紗枝']; |
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
#!/bin/bash | |
files="/temp/hoge*.txt" | |
[ -z "$(ls $files 2>/dev/null)" ] && exit 1 |