MacOSX + Vagrant + CoreOS + Docker + Ubuntuの環境。
2014年6月11日時点での情報。
- Version: CoreOS 343.0.0
- Kernel: 3.14.5
- Docker: 1.0
;; geeknote ============================================================== | |
(defun geeknote-mode () | |
(interactive) | |
(eshell-command "python ~/geeknote/geeknote.py settings --editor /Applications/Emacs.app/Contents/MacOS/bin/emacsclient") | |
) | |
(defun geeknote-create (newnote) | |
(interactive "sname: ") | |
(eshell-command | |
(format "python ~/geeknote/geeknote.py create --content WRITE --title %s" newnote)) |
### 非再帰的make(non-recursive make) | |
# ソースファイルツリーが常に整頓されている前提 | |
# 使っていないソースファイルが紛れ込まないようにしなければならない、その辺はGitで管理する | |
# 内容的には "GNU Make 第3版、6章 大きなプロジェクトの管理" に載っているコードとほぼ同じ | |
# | |
### 参考 | |
#論文: "Recursive Make Considered Harmful" | |
#http://miller.emu.id.au/pmiller/books/rmch/ | |
#実際にnon-recursive makeを適用しているOSSプロダクト(OpenRADIUS)のMakefile解説(上記論文のサイトにもリンクが貼られている) | |
#http://evbergen.home.xs4all.nl/nonrecursive-make.html |
#!/bin/bash | |
#This is AN Correspondence Authy SSH Command. | |
if [ "$1" = vps ] ; then | |
#Enable Authy Token. | |
echo -n "Authy Token (not support SMS Token): " | |
read authytoken | |
AUTHY_TOKEN="$authytoken" sftp vps | |
else | |
#Disable Authy Token. | |
sftp $1 |
for i in `git branch -r|grep -v HEAD|grep -v master|sed 's:origin/::g'` | |
do | |
git checkout --track -b $i origin/$i | |
done | |
git checkout master |
body { | |
font-family: Helvetica, arial, sans-serif; | |
font-size: 14px; | |
line-height: 1.6; | |
padding-top: 10px; | |
padding-bottom: 10px; | |
background-color: white; | |
padding: 30px; } | |
body > *:first-child { |
<# | |
PowerShell Image module(http://archive.msdn.microsoft.com/PSImage/)のget-exif.ps1を改変して下記のプロパティを追加します。 | |
- Latitude (緯度。度表記) | |
- Longitude (経度。度表記) | |
- Name (ファイル名) | |
使用例 | |
dir "*.jpg" | get-exif | select name, latitude, longitude | export-csv out.csv | |
ライセンス |