2020年8月15日kubernetes

Thumbnail of post image 183

kubernetesの学習用に環境構築した際の構築手順メモです。 環境 今回構築する各ソフトのバージョン ソフトバージョンOSUbuntu 20.04LTSDocker19.03.12kubernetes1.18.6 OSのUbuntu 2 ...

2020年8月15日git,Linux

Thumbnail of post image 017

普段WindowsのGit Bashを利用していると操作中のブランチ名がプロンプトに表示されます。 ユーザ@ホスト名 MINGW64 /c/Git/memo (master)   AWSのEC2でUbuntuを利用している場合や、ローカル環 ...

2020年8月10日Windows

Thumbnail of post image 122

WSL2でswapをオフにする方法についてまとめました。 sudo swap off -aでは無理 きっかけは、WSL2の Ubuntu に kubeadm で kubernetes 環境を構築しようとした際に、利用条件に「swapをオフに ...

2020年8月9日Windows

Thumbnail of post image 179

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

2020年8月8日git-command

Thumbnail of post image 144

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

2020年7月19日Firebase,CircleCI

Thumbnail of post image 093

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

2020年7月12日Flask

Thumbnail of post image 110

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

2020年6月25日Firebase

Thumbnail of post image 004

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

2020年6月14日Docker

Thumbnail of post image 055

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

2020年6月9日CircleCI

Thumbnail of post image 090

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

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

Thumbnail of post image 189

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

2020年6月5日Firebase

Thumbnail of post image 189

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

2020年4月28日git-command

Thumbnail of post image 132

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

2020年4月28日git-command

Thumbnail of post image 145

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

2020年4月27日git-command

Thumbnail of post image 166

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

2020年4月27日git-command

Thumbnail of post image 034

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

2020年4月27日git-command

Thumbnail of post image 113

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

2020年4月26日git-command

Thumbnail of post image 044

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

2020年4月22日git-command

Thumbnail of post image 111

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