Skip to content

Instantly share code, notes, and snippets.

@abcjjy
abcjjy / anno_image.sh
Created July 2, 2014 08:36
Add annotation to image with imagemagick
#!/bin/bash
convert -background black -fill white -gravity center -font font.otf
-pointsize 60 \
-size 768x90 \
caption:"Clean graphic design" \
stage1.png +swap -gravity south -composite stage1-en.png
@abcjjy
abcjjy / gitlog
Last active August 29, 2015 14:13
Colorful git log
#!/bin/bash
git log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative $@
@abcjjy
abcjjy / ios9localeidentifiers.tsv
Last active August 29, 2015 14:27
iOS 9 beta 4 Local Identifiers
eu Basque
hr_BA Croatian (Bosnia & Herzegovina)
en_CM English (Cameroon)
rw_RW Kinyarwanda (Rwanda)
en_SZ English (Swaziland)
tk_Latn Turkmen (Latin)
he_IL Hebrew (Israel)
ar Arabic
uz_Arab Uzbek (Arabic)
en_PN English (Pitcairn Islands)