2020年8月9日Windows

Thumbnail of post image 199

  2023-01-24 更新 WSL2にUbuntu22.04を導入しようと思い、またsystemctlコマンド使えるようにしないとなーと思っていたら、いつの間にか、systemdが正式に対応していました。   手順はシンプルです。 1. ...

2020年8月8日git-command

Thumbnail of post image 172

git revert コマンド概要 git revertは特定のcommitの内容を取り消したい場合に、逆向きの変更を加えたcommitを作成するコマンドです。 commitを取り消すコマンドには他にgit resetコマンドがありますが、 ...

2020年7月19日Firebase,CircleCI

Thumbnail of post image 051

Firebaseに複数の環境(本番環境と開発環境など)とGitHubのブランチと関連付け、circleciを利用してビルド・テスト・デプロイを自動化する方法をまとめました。 環境(Firebase/circleci/GitHub) Fire ...

2020年7月12日Flask

Thumbnail of post image 166

Python Flask を利用して REST API を作成する方法についてまとめました。 記事の内容としては以下の内容について解説してます。 記事の内容 Flask の BluePrin ...

2020年6月25日Firebase

Thumbnail of post image 014

Firebaseのfunctinosで作成したNode.js8のWebAPIを呼び出すとエラーメッセージが表示されるので、調べてみました。 Billing account not configured. External network i ...

2020年6月14日Docker

Thumbnail of post image 142

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

2020年6月9日CircleCI

Thumbnail of post image 131

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

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

Thumbnail of post image 072

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

2020年6月5日Firebase

Thumbnail of post image 117

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

2020年4月28日git-command

Thumbnail of post image 031

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

2020年4月28日git-command

Thumbnail of post image 160

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

2020年4月27日git-command

Thumbnail of post image 029

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

2020年4月27日git-command

Thumbnail of post image 015

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

2020年4月27日git-command

Thumbnail of post image 077

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

2020年4月26日git-command

Thumbnail of post image 125

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

2020年4月22日git-command

Thumbnail of post image 140

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

2020年4月15日git-command

Thumbnail of post image 119

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

2020年4月13日git-command

Thumbnail of post image 129

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

2020年4月12日git-command

Thumbnail of post image 138

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