Skip to content

{ Tag Archives } code

Mercurial Quick Start Cheatsheet

I hadn’t used Mercurial before so I thought it might be a good idea to leave a reminder for me and anyone else who comes across it… For tidyness, I do all of my dev-stuff (Subversion, Mercurial, CVS, Git etc) under ~/src and only take root privileges when its needed; any good makefile should relocate [...]

Also tagged , , , , ,

Line Parsing Reminder (Duplicate removal)

So, say you have a long list of instruction (like multiple apt-get install lines) and you want to eliminate common words?

Also tagged , , ,

Scala-Euler Problem1

Finished my approach to Euler Problem 1 last night and checked everything into github. If we list all the natural numbers below 10 that are multiples of 3 or 5, we get 3, 5, 6 and 9. The sum of these multiples is 23. Find the sum of all the multiples of 3 or 5 [...]

Also tagged ,

Set up and running of DNS tunnelling on MBWE

ITS SLOW, I know, but then next time you miss a bus or a train or a plane and you are stuck in some god foresaken hell hole of a transit hub with only the expensive starbucks wifi to serve you, it is on your own conscious wether you use this too to accidentally GET AROUND PAYING FOR IT. Its illegal, how could you ever think about doing something like GETTING FREE INTERNET. I’m ashamed of you for even thinking about USING FREE TOOLS TO GET AROUND PROPRIATORY RESTRICTIONS TO THE FREE INTERNET. Go sit in the corner, the corner with the T-Mobile wireless access.

Also tagged , , , , , , , ,

MBWE Fuel Gauge -> Speedometer conversion

The Fuel gauge on the front of my MBWE is fairly useless, noone cares, so why not repurpose it as a speedometer? first, stop it displaying the “fuel” Stolen from http://kyyhkynen.net/stuff/mybook/reduce_disk_usage.php Disable the service that displays the disk usage with the leds in the front panel of your MBWE. Admit it, the feature is pretty [...]

Also tagged , , , ,

Primers Coming Up

Thru my work I’m thrown into alot of technologies that i dont nearly know enough about and as with alot of tech related things, the education scene is basic basic basic..GURU with little or no gradiation, so what I’m going to do is post what i learn when i learn it and where i learn [...]

Also tagged , , , , ,

Another Uni Project

If anyone is interested in Erlang B Calculations, very relevent to any communications or engineering students, I’ve written a little quick piece of code to calculate them. There are several levels of functionality in the code. Erlang B itself only has 2 variables, System load in Erlangs, and the number of “trunks” (read: servers/call center [...]

Also tagged , ,

Embedded C GPS Project

Afternoon folks, I’m supposed to be studying but dont have the heart to, so I’m documenting a recent project from Uni. The remit was to be able to parse RS232 data coming in from a GPS unit and reformat it for a LCD display. I dont have the part numbers handy but I was programming [...]

Also tagged , , ,