2016-02-01から1ヶ月間の記事一覧
pip freeze > requirements.txt pip install -r requirements.txt mkvirtualenv env1 -r requirements.txt 参考:Python Tips:ライブラリをまとめてインストールしたい - Life with Python
install $ sudo rpm -Uvh http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm $ sudo yum -y install python-virtualenv python-virtualenvwrapper .bashrcに追記 $ vim .bashrc // 追記 export WORKON_HOME=~/.virtualenvs source…
git log --follow -p filename
$ ssh-keygen -t rsa
$ ssh-keygen -R ホスト名
sil.hatenablog.com
正規表現を簡単に確認できるサイトのメモ...((φ( ̄ー ̄〃)ノ□、 メモメモ♪ rubular http://rubular.com/ scriptular http://scriptular.com/
iphoneのホーム画面のように、デバイスを傾けたら、背景の画像も動いて傾くっていうものを実装。 注意:imageViewは、画面のサイズよりも若干大きく設定をしておく x方向の指定 let xMotionEffect = UIInterpolatingMotionEffect(keyPath: "center.x", type:…
Python で書かれたコードを解析して、 デッドコード)や、危険な記述を見つけ出して教えてくれるサードパーティ製のツール。 install $ pip install pylint $ pylint --generate-rcfile > ~/.pylintrc 使ってみる $ pylint sample.py //結果 Global evaluatio…