Skip to main content


Drupal, fast dump

During development, it's comfortable to have a command in bash history to create a quick development dump:

Create phpmyadmin local instance

wget -O

unzip && rm

ORDER BY Flexible

Soooo nice:

SELECT * FROM `menu` WHERE weight != 0 ORDER BY (CASE type WHEN 118 THEN 2 WHEN 54 THEN 4 END) DESC