To take down a website or part of one, you can just point search engine spiders to the 410 status code.
.htaccess makes it very easy to flag a link as offline or gone. It’s what we’ll use to tell either google or other search engine spiders that the content that once was there is not anymore and that it is our deliberate choice.
Continue reading “Take site offline with .htaccess”
I began digging into WordPress Theme development on a more OOP based approach, when I noticed something odd about the availability of the object you get when you write your custom theme functions as a class in functions.php.
To be fair, it’s only odd because I’ve mainly been developing in other frameworks, which handle it after different conventions.
Continue reading “Object / Class not available in WordPress Theme files”
Phantom.js can be used for many purposes and this is a quite primitive one. It uses node.js and I’ve included the async.js module to create picture after picture and not clog up the RAM. Continue reading “Automate mobile testing: phantom.js”
A quick article about how I manage to set up a WordPress installation from scratch to have a clean and up to date working and testing environment.
I admit it, this is a catchy title and a lie. Actually it took me 27.889 seconds to do the following: Continue reading “Developing with WordPress in 30 Seconds”
I’ll quickly jot down how to use @import ‘path/to/file’ in LESS, because it is a little awkward on the path. Continue reading “Import .less from parent directory”
Composer is a dependency tool for PHP, a little like the gems for ruby or npm for node.js. Continue reading “Composer and the php.ini on Mac OS X”
Finally I got to rewriting my first WordPress plugin. Looking back it was a great experience, but due to not researching enough I wrote it after an old practice, thereby not having multiple instances of it. It could only appear once on the page. Continue reading “A Thousand Downloads Later”
If Daring Fireball looks goofy in your browser, you’re likely using a shitty browser that doesn’t support web standards. Internet Explorer, I’m looking in your direction. If you complain about this, I will laugh at you, because I do not care. If, however, you are using a modern, standards-compliant browser and have trouble viewing or reading Daring Fireball, please do let me know.
Continue reading “The best quote on cross browser compatability”
Web interfaces for git are rare, compared to the number of clients. I recently tried out gitlab and it’s very close to the quality of githubs web interface.
Continue reading “Gitlab, your private git server”
I have a couple of ideas node.js would be great for. One of them is spam analysis. So I started importing around 14.000 spam comments from one of my blogs locally and am now setting up a little system that analysis things like which words occur the most in the comment field.
Continue reading “Working with Spam Analysis”