GitHub

Thumbnail of post image 081

~/.ssh/configに以下を追記しよう.

Host github.comHostName github.comIdentityFile ~/.ssh/github/github_keyUser git

注意点:Host ...

Heroku

Thumbnail of post image 020

$ heroku config:add BUILDPACK_URL= touch .buildpacks$ echo "" >> .buildpacks$ echo "" >> .buildpacks$ git ad ...

Python,Ubuntu

Thumbnail of post image 083

$ sudo mv/usr/bin/python/usr/bin/python2$ sudo ln -s/usr/bin/python3/usr/bin/python$ python --version

Python2とPython3が ...

Python

Thumbnail of post image 006

>> import requests>> url = "">> r = requests.get(url)>> __attrs____bool____class____delattr____d ...

Ubuntu

Thumbnail of post image 015

$ sudo su -# passwdEnter new UNIX password: Retype new UNIX password: passwd: password updated successfully

AWS,Jupyter

Thumbnail of post image 150

AWSにサーバーを立てて、Jupyterをインストールした時のことをレポート。

まずは、LightsailでAWSにサーバーを立てる。

Lightsailサーバーのインストール自体はすごく簡単で、料金も月3.5 ...

OverLeaf,Tex

Thumbnail of post image 097

先に解決法

\usepackage{graphics}ではなく\usepackage{graphicx}を使ったら普通にコンパイルできた

以降、経緯をだらだらと書く

OverLeafで図を挿入しようとして、以下のようなコマンド ...

Docker

Thumbnail of post image 174

Dockerを使うときにいちいちdocker … と毎回打つのはめんどくさいですよね。

なので、エイリアスを活用してコマンドを短縮しましょう。

そして筆者は以下の4つのエイリアスを追加してみました。 ...

Docker,Mac

Thumbnail of post image 138

Macにdockerをインストールし、docker run --rm hello-world を打ち込むと、

docker: Error response from daemon:Get incorrect username ...