$ ssh -A vm
$ git config --global url."git@github.com:".insteadOf "https://github.com/"
$ cat ~/.gitconfig
[url "git@github.com:"]
insteadOf = https://github.com/
$ go get github.com/private/repo && echo Success!
Success!
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'rubygems' | |
require 'bundler/setup' | |
require 'aws-sdk' | |
# NOTE: require ENV[...] | |
# export AWS_ACCESS_KEY_ID='...' | |
# export AWS_SECRET_ACCESS_KEY='...' | |
# export AWS_REGION='ap-northeast-1' | |
s3 = AWS::S3.new |
$ ssh -A vm
$ git config --global url."git@github.com:".insteadOf "https://github.com/"
$ cat ~/.gitconfig
[url "git@github.com:"]
insteadOf = https://github.com/
$ go get github.com/private/repo && echo Success!
Success!
download from http://www.mls-software.com/opensshd.html
C:\Users\Takeshi>set HOME=%USERPROFILE%
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# ########################################################## # | |
# wrapper for mosh to work with ssh's proxycommand directive # | |
# this only makes sense if the machine is directly reachable # | |
# from the internet using udp. # | |
# ########################################################## # | |
THISSCRIPT="`basename \"$0\"`" | |
REMOTE="$1" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function cfenv () { | |
function curenv () { | |
if [ "$1" == "" ]; then | |
CURENV="default" | |
else | |
CURENV="$(echo "$1" | cut -d '-' -f 2)" | |
fi | |
} | |
function listenvs () { | |
echo "Listing available environments..." |
このgistは Cloud Foundry Advent Calendar 2013 の23日目の記事です。今回はかなり軽めに。
Cloud Controller NG (以下「CCng」) の document_api については,輪読会などでも何度か「壊れていて使えない」と言ってきましたが,この間再度試してみようと思ってREADMEを読んだら,気になる記述が。
To genenerate the API documentation
bundle exec rspec spec/api/ --format RspecApiDocumentation::ApiFormatter open doc/api/index.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
15:39 kumauta: な!ん!だ!よ! |