2020年6月14日Docker

Thumbnail of post image 020

dockerやdocker-composeを暫く使っていない間に、基本的なコマンドも思い出せなくなっていたので、よく使っていたコマンドをメモしています。 よく使うdockerコマンド docker image ls (docker imag ...

2020年6月9日CircleCI

Thumbnail of post image 171

CircleCIでconfig.ymlが原因でジョブがエラーになる CircleCIを利用していると、ジョブが「Config Processing Error (Don't rerun)」でエラーになることがあります。 例えばこんなエラーな ...

2020年6月7日express(node.js),heroku,LINE

Thumbnail of post image 024

今回はクラウド環境Herokuを利用して無料でLINEチャットボットを作成してみました。 メッセージをそのまま返すサンプルはよくあるので、もう少し処理を加えて小学生低学年レベルの計算問題をやりとりするLINEチャットボット「バーチャル先生」 ...

2020年6月5日Firebase

Thumbnail of post image 198

firebaseの開発環境構築をする場合に「firebase init」コマンドで設定を行っていると、次のエラーが出る場合があります。 原因と対応方法について解説します。 Error: Error fetching Firestore in ...

2020年4月28日git-command

Thumbnail of post image 090

git push コマンド概要 git pushはlocal-repository(ローカルリポジトリ)のブランチが示すcommitをremoto-repository(リモートリポジトリ)に反映するコマンドです。 また、remo ...

2020年4月28日git-command

Thumbnail of post image 129

git pull コマンド概要 git pullはremoto-repository(リモートリポジトリ)のデフォルトブランチが示すcommitから遡って取得したcommitをlocal-repository(ローカルリポジトリ) ...

2020年4月27日git-command

Thumbnail of post image 020

git fetch コマンド概要 git fetchはremoto-repository(リモートリポジトリ)のデフォルトブランチが示すcommitから遡って取得したcommitをlocal-repository(ローカルリポジト ...

2020年4月27日git-command

Thumbnail of post image 079

git reset コマンド概要 git cloneは以下の3つの処理を行うコマンドです。 remoto-repository(リモートリポジトリ)のcommitツリーを元にlocal-repository(ローカルリポジトリ)を ...

2020年4月27日git-command

Thumbnail of post image 061

git reset コマンド概要 git resetは以下の3つの処理を行うもので、指定するオプション(soft/mixed/hard)によって処理される内容が変わります。 処理内容softmixedhardHEADの位置を変更○ ...

2020年4月26日git-command

Thumbnail of post image 068

git checkout コマンド概要 git checkoutコマンドの基本的な使い方は、指定したcommitのディレクトリ(treeオブジェクト)およびファイル(blobオブジェクト)をstaging-area(ステージングエ ...

2020年4月22日git-command

Thumbnail of post image 060

git stash コマンド概要 stashとはcommitを作成する前の変更内容を一時保存するコマンドです。 stashのリスト表示 git stash list 作成したstashを一覧で表示します。 (master) $ git st ...

2020年4月15日git-command

Thumbnail of post image 106

git tag コマンド概要 タグ(tag)とは特定のcommitに名前を付けたものです。 リリースのタイミングで付与するなどの利用方法があります。 git tagはタグに対して以下の操作をするコマンドです。 タグ(tag)の表示 ...

2020年4月13日git-command

Thumbnail of post image 047

git branch コマンド概要 git branchはローカルリポジトリのブランチに対して以下の操作をするコマンドです。 ブランチのリスト表示ブランチの作成ブランチの削除upstream(上流ブランチ)の設定upstream( ...

2020年4月12日git-command

Thumbnail of post image 135

git cat-file コマンド概要 git cat-fileはリポジトリに登録されている以下のオブジェクトの内容を表示するコマンドです。 commitオブジェクトtreeオブジェクトblobオブジェクトtagオブジェクト 以下 ...

2020年4月11日BigQuery

Thumbnail of post image 084

スナップショット デコレータ(snapshot decorators)はBigQueryの標準機能として自動で取得されるバックアップ機能です。 BigQueryのバックアップとして簡単に利用できる良い機能なのですが、注意 ...

2020年4月6日git-command

Thumbnail of post image 183

git cherry-pick コマンド概要 git cherry-pick コマンドは特定のcommitの変更内容だけを取り込んで新しいcommitを作成します。 以下の図はmasterブランチでcommit(C)をc ...

2020年4月6日git-command

Thumbnail of post image 040

git rebase コマンド概要 git rebase コマンドには以下の2つの機能があります。 2つのcommitの履歴を一直線にする複数のcommitを1つのcommitにまとめる 共通していることは、commit ...

2020年4月5日git-command

Thumbnail of post image 026

git merge コマンド概要 git merge コマンドはcheckout中のブランチに対して、指定したブランチの内容を取り込み新しいcommitを作成します。 以下は、masterブランチにdevelopブランチ ...

2020年4月5日git-command

Thumbnail of post image 147

git commit コマンド概要 git commit コマンドは次の2つのオブジェクトを作成しリポジトリに登録するコマンドです。 treeオブジェクト:ディレクトリの情報commitオブジェクト:blobオブジェクト ...