Visual Guide to Selling SaaS (Repost)

ArchLinux Installation for Dummies

Import MySQL Dump Fast(er)


Part of software testing at times we need mock database which can be easily obtained from production database using a simple mysqldump command.

However, the import of the mysql dump into our local mysql server could painstakingly slow especially when the import file is large.

If the tables are of InnoDB, we can speed up the import like Speedy gonzales by wrapping the dump with the following SQL statements :)

SET autocommit=0;
... SQL import statements ...

Time to make your harddisk work harder! Read more at MySQL reference manual.

Steam + ArchLinux



It’s pretty easy to install steam now than a year ago.

Read the rest of this entry »

Hibernate @NotBlank vs @NotEmpty



Sometimes we may often overlook at the difference between these two useful annotations for Hibernate. @NotBlank versus @NotEmpty.

Validate that the annotated string is not null or empty. The difference to NotEmpty is that trailing whitespaces are getting ignored.

The answer can be found at Hibernate Doc for @NotBlank :)