2013-04-01から1ヶ月間の記事一覧

Install Ruby via RVM, Rails, thin on CentOS6

CentOS 6 に Rails をインストールする。 Ruby は RVM のマルチユーザモードでインストール。 $ \curl -L https://get.rvm.io | sudo bash -s stable $ rvmsudo rvm $ rvmsudo rvm requirement $ rvmsudo rvm get head && rvm reinstall $ rvmsudo rvm autol…

git behind authentication proxy

git config --global http.proxy http://username:password@proxy.example.com:8080 git config --global https.proxy http://username:password@proxy.example.com:8080 via http://stackoverflow.com/questions/783811/getting-git-to-work-with-a-proxy-s…

ベーシック認証

リクエスト URL に埋め込む場合は Base64 でエンコードする必要はないけど、Authorization ヘッダに追加する場合は Base64 でエンコードする必要がある。