Terminal – calculate number of lines of code in a directory


We had an interesting question, can we calculate how many lines of code we have written for an entire project? It turns out this isnt the easiest thing to calculate for a web-project, but we gave it a go. This is the best we have come up with so far for all code we have written to calculate the number of lines of code in all PHP, CSS, JS, HTML and HTM pages. ( find ./ -name '*.php' -print0 -o ...

CSS Background always fill all available space


I’ve been trying to do this for absolutely forever – have a background image that always covers the screen, regardless of the size or orientation of the screen, and with no visible space. I finally found out how to do it using nothing but CSS applied to the body, so here it is! body { background-color:#444444; background: url("/public/img/imageName.png") no-repeat center center fixed;...

Your handwriting… as a font!


Ever wanted to turn your own handwriting into a font? Well now you can! Its a very simple process (although it might shock you how childish your handwriting is if you are like me) Simply go to Download the template file Complete it, scan it in greyscale at 300dpi, A4 and then upload, and hey-presto, you have your own font! On the Mac its really easy to install (just double-click on the downloaded...



Get in touch

I'm available on just about every social media platform out there as RMTWeb.