2015-06-18から1日間の記事一覧

gitpython つかってみた

目的 これを使う GitPython Documentation — GitPython 1.0.1 documentation 環境はpython 3.4です 手順 いれる $ pip install gitpython こんな感じでリポジトリを仮に作ってみる rane-hs/testgithub.com やりたいこと git clone git branch -b git add git…

flask で static content のフォルダーを指定する

flaskでアプリを作るんだけど - model - manager (管理画面用アプリ) - static - {css,js} <- CMSで使うcss, jsを入れる場所 - app (アプリ層) みたいなフォルダ構成だった場合に、管理画面2号を作りたくなったけどstaticは共通でやりたいよねみたいなその時…

ssh keyをパス有りで生成しちゃったけどパスなしに変えたいとき

ssh コマンドってパス指定できないんだよね なんでなの? $ ssh-keygen -p [-P old_passphrase] [-N new_passphrase] [-f keyfile] How do I remove the passphrase for the SSH key without having to create a new key?stackoverflow.com