Skip to content

Instantly share code, notes, and snippets.

const checkName = (name) => {
if (name.length > 5) {
return true;
}
throw new Error("My Error");
}
const name = 'piyo'
//
@shiopon01
shiopon01 / Brewfile
Last active June 12, 2020 02:08
my Brewfile
cask_args appdir: '/Applications'
# brew
brew 'ctop'
brew 'curl'
brew 'gcc'
brew 'ghq'
brew 'gist'
brew 'git'
$ sudo add-apt-repository ppa:kelleyk/emacs
$ sudo apt update
$ sudo apt install emacs26
# Prerequisites:
# You must be create config file.
#
# $ touch ~/.kube/config-<cluster-name>
# Reference: https://docs.aws.amazon.com/eks/latest/userguide/getting-started.html
#
# Build:
# $ docker build -t kubectl .
#
# Run:
while (!success)
{
try();
}
require 'io/console'
require 'benchmark'
class Enword
def initialize
@words = []
#名詞(身の回りの身近なもの)
@words.concat(["egg", "bag", "rose", "chair", "bat", "fish", "notebook", "pencil", "dog", "desk", "watch", "mitt", "milk", "flower", "door", "boat", "piano", "orange", "bird", "sheep", "cup", "bus", "apple", "fruit", "car", "cake", "picture", "cat", "stamp", "plane", "book", "racket", "glass", "bed", "letter", "tape", "cap", "mail", "box", "bread", "doll", "table", "tree", "pen", "map", "cow", "pot", "camera", "hand", "lemon"])
#名詞(場所、建物)
@words.concat(["yard", "bank", "library", "hospital", "hotel", "village", "kitchen", "wall", "park", "girl", "father", "doctor", "pilot", "man", "cook", "sister", "mother", "city", "window", "church", "school", "country", "office", "garden", "town", "brother", "woman", "citizen", "parent", "student", "clerk", "family", "teacher", "player", "floor", "store", "station", "house", "field", "japan", "gate", "room", "aunt", "boy", "son", "nu
@shiopon01
shiopon01 / gist:eb24f21f16204f01f6594e1872243b4c
Created January 30, 2018 09:12
Gitを知らないプログラマーにGitを教える際の導入
この記事はGitの導入記事ではあるが、教育者目線で話を進める。もちろんこれからGitを始めたいという人も歓迎する。
ここに書かれていることはGitの使い方ではなく、そもそもどうしてGitが必要なのかということと簡単な歴史の振り返りであり、導入である。
# もくじ
[:contents]
# はじめに
Gitを教える際は何よりも、バージョン管理システムの歴史を教えることが一番の近道のように思う。これはGitに限らず、プログラミング言語などを教えるときも同様だ。なぜそのシステムが必要なのか把握してもらい、それを実現するためにプログラマーがどんな道のりを歩んできたかを伝えることによって、そのシステムを深く理解してもらえる。(ような気がする)
+---------+       +----------+
|         | +---> |          |
| Gateway |       | Internet |
|         | <---+ |          |
+---------+       +----------+
<template>
<div id="test">
HELLO
</div>
</template>
<script>
export default {
name: 'test'
}
// 関数ポインタ
#include <stdio.h>
int kansu(int a)
{
return a * 2;
}
void main()