start new:
tmux
start new with session name:
tmux new -s myname
| #go to folder: | |
| /Applications/Adobe Photoshop CS6/Locales/pt_BR/Support Files/tw10428.dat | |
| #rename the file tw10428.dat for tw10428.bak |
| package main | |
| import "code.google.com/p/go-tour/pic" | |
| func Pic(dx, dy int) [][]uint8 { | |
| // Allocate two-dimensioanl array. | |
| a := make([][]uint8, dy) | |
| for i := 0; i < dy; i++ { | |
| a[i] = make([]uint8, dx) | |
| } |
As configured in my dotfiles.
start new:
tmux
start new with session name:
| #!/usr/bin/env python | |
| # coding: utf-8 | |
| # You need PIL <http://www.pythonware.com/products/pil/> to run this script | |
| # Download unifont.ttf from <http://unifoundry.com/unifont.html> (or use | |
| # any TTF you have) | |
| # Copyright 2011 Álvaro Justen [alvarojusten at gmail dot com] | |
| # License: GPL <http://www.gnu.org/copyleft/gpl.html> | |
| from image_utils import ImageText |