Here's a quick post on making WordPress SFTP friendly.
Here's how to make the stat command more readable.
This is more of a snippet than a post.
Simple script to create MySQL database and user really quickly.
Here's how to add Content-Type: text/plain with NGinx to all files inside a given directory.
Run these queries after migrating to make image paths point to new server.
Handy little snippet.
Leverage the current_page_item class when listing custom post type pages with wp_list_pages in WordPress
Strangely, the current_menu_item class is not added when listing custom post type pages. Here's a small snippet to that.
Giving an excerpt an unique class may come handy when writing CSS in BEM style. Here's a small function to do just that.
Comes handy in checkboxes and radios.
Club-Mate, the beverage → club-mate.fi