Error: Key could not be imported

210977249_da533e62a4_o

Do you ever face key could not be imported error during a pacman / yaourt update?
Read the rest of this entry »

Protected: Prevent concurrent execution using file locking

This content is password protected. To view it please enter your password below:

MySQL Profiling

If we ever wondered what’s the performance of a MySQL query and a SELECT query be more efficient (and hence faster)?

MySQL has an embedded profiling feature that we can use from stock MySQL.

To enable it, it’s pretty simple:

mysql> SET profiling = 1;
Read the rest of this entry »

2014 StanDesk 2200

2014 StanDesk 2200

A blatant rip-off of StanDesk 2200, with a twist of a lower budget.

Read the rest of this entry »

Hash#each vs. Hash#each_pair

Sometimes I find each and each_pair kind of confusing. Though Ruby’s API Doc has been one of the most well documented API Doc, it is not very helpful in showing the difference between each and each_pair.

Peeps from ruby-forum.com gave an excellent explanation:

Read the rest of this entry »