Libvirtd change default pool storage path 1

Libvirtd change default pool storage path

Listing current pools:

Destroying pool:

Undefine pool:

Defining a new pool with name “default”:

Set pool to be started when libvirt daemons starts:

Start pool:

Checking pool state:

source

Change mysql collation from latin to utf8 - all tables and all columns 2

Change mysql collation from latin to utf8 – all tables and all columns

Change mysql collation from latin* to utf8 can be done by simply stop being a lazy bastard and, take the time to change the default mysql collation for the new databases you create… But what can I say, I’m a lazy bastard after all. I keep doing the same mistake over and over again. Just […]

Batch Watermark photos with imageMagick script 3

Batch Watermark photos with imageMagick script

ImageMagick is an awesome image manipulation tool. It provides an command-line API for literally hundreds of functionalities related to image editing. Every now and then I need to apply watermarks to my images before posting them somewhere online, in public. GIMP, has one or two scripts which extend its functionalities but there’s no neat way […]

Sublime Text 2/3 run shell commands On Save #sublimetext 4

Sublime Text 2/3 run shell commands On Save #sublimetext

Sublime Text editor is my favorite along with atom. Have you ever really wanted to run a shell command whenever you save a file in Sublime? Like, automatically commit the changes on a github repo or rsync files to a debug server or start a service like php‘s built-in web server? How about all of them together, […]