Skip to content

Instantly share code, notes, and snippets.

@trsqxyz
Created January 15, 2014 12:40
Show Gist options
  • Save trsqxyz/8435488 to your computer and use it in GitHub Desktop.
Save trsqxyz/8435488 to your computer and use it in GitHub Desktop.
どうやってコードを書けばいいのかな? というときに役立つかもしれない howdoi ref: http://qiita.com/trsqxyz@github/items/d668bc78621c70dcfd51
% howdoi format dict python
geopoint = {'latitude':41.123,'longitude':71.091}
print('{latitude} {longitude}'.format(**geopoint))
%howdoi install homebrew
ruby -e "$(curl -fsSL https://raw.github.com/mxcl/homebrew/go/install)"
%howdoi print golang
return fmt.Sprintf("at %v, %s", e.When, e.What)
%howdoi print lisp
CL-USER> (format t "~{~{~A ~}~%~}"
'((X X X) (X X X X X X) (X X X X X X X X X)))
X X X
X X X X X X
X X X X X X X X X
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment