Colin Robinson

Just another guy on the internet

technology

Draughts, my first android game

Made with Unity3D, coded in C# https://play.google.com/store/apps/details?id=com.colinrrobinson.draughts  

How to free up space in rootfs on Arch Linux

Is your rootfs partition at 100% and causing you problems? I’ve been hovering around 95%-100% for a few weeks now. Being at 95% is fine, but 100% can cause all kinds of problems. I was testing a form on my local web server and couldn’t do file uploads because “the disk was full.” I was [...]

Code Review

Where I work, we have a lot of new developers and people still learning the languages. When learning a language, being able to get feedback on your code is an invaluable learning asset. It lets the more experienced programmers help teach the newer ones. Most code review software is designed for pre-commit comments. A reviewer looks at the code [...]

How do you measure productivity?

How do you measure your productivity while writing code? Judging a program’s success by lines of code (LOC) is like judging how successful an airplane is by its weight. Consider a more modern approach from Agile development called Weighted Micro Function Points.

Permalinks for Hierarchical Custom Post Types

I wrote a WordPress plugin that lets you have a hierarchy of custom post types where the post types are different. This is the plugin here. I see a few people marked the plugin is broken, it works, but its impossible to figure out how without instructions. I don’t know why the descriptions and stuff [...]

Setting up a LAMP for local development on Arch Linux

Just installed Arch Linux (after leaving Ubuntu due to Unity/GNOME 3). Now I need to setup my development environment. This should work for most distros, not just Arch. I want Apache, MySQL, PHP, phpMyAdmin, and SSL. Because its easy and I’m lazy, we’re going to setting up XAMPP. As always, first reference the wiki (Xampp [...]

LESS: The dynamic stylesheet language

Wow, just wow. Imagine if you could use variables in CSS… now you can. Here is the LESS website. The proposed method of using LESS is to write a style.less file and then include less.js which uses javascript to render your stylesheet dynamically. I really don’t like the idea of having to load an extra [...]

Unable to access phpMyAdmin

Quick entry today. I installed a LAMP on Ubuntu and when I accessed http://localhost/ on my browser it said “It Works” but when I tried to access http://localhost/phpMyAdmin/ I got a 404. The fix was simple, for some reason the phpMyAdmin config file wasn’t being loaded so I did a sudo nano /etc/apache2/apache2.conf then went [...]

,

How to install Eclipse 3.7 on Ubuntu 11.04

The Eclipse packages in Ubuntu are are very out of date. The latest version in the Ubuntu repos is 3.5.2 where as the latest version of Eclipse is 3.7. I’m posting this because Ubuntu 11.04 uses the new Unity desktop which uses overlay-scrollbars (scrolls bars that are hidden until you hover over them). For some [...]

, ,

IE7… time to say goodbye

WordPress 3.2 was released July 4th 2011 and officially marked the end of WordPress support for IE6. Hooray! Now the crosshairs have landed on IE7 with WP 3.3 looking to cut support for Internet Explorer 7. To put things in perspective, IE6 was released when I was 11… and we’re finally starting to drop support for it. Luckily we’ve been upgrading the [...]