2017-10-11から1日間の記事一覧
はじめに vagrantを使ってDjango開発環境を構築する vagrantでUbuntu 16.04 LTSの準備 ubuntu 16.04 LTSのboxを持っていることが前提 Vagrantfileの作成 $ vagrant init ubuntu/xenial64 作成されたVagrantfileのポートを設定 $ vim Vagrantfile 下記の部分…
curl を使ってシェルをダウンロード curl https://raw.githubusercontent.com/Shougo/dein.vim/master/bin/installer.sh -o /tmp/installer.sh シェルの実行 sh /tmp/installer.sh ~/.vim/dein "dein Scripts----------------------------- if &compatible s…
import datetime today = datetime.date.today() today.isoformat()
num_lines = sum(1 for line in open(text))
sudo apt-get update apt-get install -y software-properties-common sudo apt-get install apt-transport-https ca-certificates curl software-properties-common curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add - sudo ap…