Update salt from 2015.5.3 to 2016.3.2

When reading salt’s source code, it seems we have a ‘source_hash_update’ option on “archive.extracted”, however when I added so, salt complains:

Date
Categories
Tags
Comments

Published:August 25, 2016 View Post

python

Also tagged

Leave a comment

Crop image in golang

In python, for cropping  image I use PIL. However the dependencies of PIL is huge, also need to install some lib*-dev packages. So I choose go to crop images: Usage: % go run crop.go large.jpeg thumbnail.jpg

Date
Categories
Tags
Comments

Published:October 4, 2013 View Post

golang

Also tagged

Leave a comment

Create file with random string in python

Date
Categories
Tags
Comments

Published:July 24, 2013 View Post

python

Also tagged

Leave a comment

Deploy django project to dotCloud

QuickNote: follow the Official guide may not be enough.

Date
Categories
Tags
Comments

Published:June 22, 2011 View Post

python

Also tagged

Leave a comment