Take site offline with .htaccess

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”

Moonbot creates Golem through kickstarter

Golem looks like a promising game and not only is it aimed at Windows, MacOS and Linux, but also looks like they’re going to put a lot of effort into detail and story. Check out the video at their kickstarter project page, where they explain the project in detail.

moonbot_golem_kickstarter

(via Co.DESIGN)

Best PHP MVC frameworks of 2013

Frameworks are making your life easier, since they take care of common tasks you without them would have to repeat for every project or even within projects.

I have assembled a small list of promising candidates for you, they may not be the most commonly used, but they teach best practices, principles like MVC and have communities and thereby helping hands on the internet.

This post was originally written for the semester blog of my class, therefore it also focusses on the types of database queries supported by the frameworks, we have a dedicated module in SQL and databases, which is why it is pretty relevant to the students of my semester. Continue reading “Best PHP MVC frameworks of 2013”

Latvian Anatomy Infographic

I know a couple of Latvians on facebook, both through my lady and also through my previous and current studies. I can’t remember how exactly I found this little facebook app, which is an interactive infographic about Latvian anatomy, but it’s both entertaining and takes on troublesome issues with a light and positive attitude. Continue reading “Latvian Anatomy Infographic”

Object / Class not available in WordPress Theme files

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”

Developing with WordPress in 30 Seconds

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.

develop_with_wordpress_in_30_seconds

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”

WordPress Plugin: Append Link on Copy

Append Link on Copy in the WordPress plugin repository.

This plugin allows the user to automatically append a link to the current page, when users copy & paste a title or any line.

With this Plugin you can automatically add text or html to content that is copied from your page. Continue reading “WordPress Plugin: Append Link on Copy”