How to easily view and log PHP errors
When developing a site the visible PHP errors are extremely handy. But, on a production site they may give out too much information or it's just plain bad habit to show that crap to users.
How to open a popup window with jquery
Generally popups are considered bad-ish, but sometimes they’re handy. For example when opening an audio player.
100% height sidebars without images, unsemantic HTML elements, or flexbox
One really frustrating thing about CSS is its lack of a way to make things 100% high. You’ll notice this especially with sidebars. If there is not enough content to fill the sidebar, it falls short and looks ugly. Luckily, there are workarounds.
Remove weird characters like ö and ä from file names in WordPress. Aka, sanitize file upload image names.
Sometimes when you move your site to another server and the database has different charset (or something else mysterious happens), you may find some of your images broken cause of the weird characters in the names. To be on the safe side, it's nice to sanitize the file names.
Upload a file to FTP server and copy the link to clipboard with Mac Automator
So you want to upload a funny image quickly to the Internet. You may use something like CloudApp. Or, do it yourself with Automator.
How to zip and unzip files and folders on your remote server
Moving thousands of small files is slow. Put them in one archive first, transfer the archive, then extract it on the server.
Fluid multi column layout revisited
This is part two of the earlier post about a fluid multi-column layout made with only floats.
PHP if, else and elseif statements
Here's all the different ways to do conditional logic in PHP.
Fluid multi column layout where sidebar and margins stays fixed width, without JavaScript
More fluid layout examples ahead. At first I thought this would need JavaScript, but of course it does not.
Different ways to redirect a URL
A quick guide on redirection with Apache, NGINX, or with plain HTML.