September 18, 2009
Tags: comments, programming, python, toggle
I have found a pretty simple method of toggling large blocks of code in Python.
Basically this:
#Add/remove below hash to toggle code blocks.
#"""
print "Code block one!"
"""
print "Code block number 2."
"""
#"""
Note: This is not highlighted correctly because of a limitation of the highlighter I use
In this default state (with the initial #) the first block of text is active with the second commented out. Removing this hash will invent the code commenting.
I’ve been doing this in PHP for years, but only recently figured it out in Python!
July 2, 2008

When I stumbled upon ReactOS last week, I though of it as nothing more than one of those “hey, here’s another great idea that will ultimately die out from lack of enthusiasm” projects. After some thought, I decided this is one of the greatest ‘hit-or-miss’ projects I have seen for a long time. This is because it is basically a clone of Windows.
Although strictly speaking, it is a clone of the Windows NT subsystem, with a new (particularly familiar looking) shell to use it in. The benefits of this operating system are amazingly awesome, and I’ve decided to list some of them for you that I will be looking forward to. I may even decide to have a hand in developing them if I get some time.
This list is more like potentials than actual features that could be implemented (so take them with a grain of salt) because they are all, as I see it, a huge amount of work for anyone.
- No annoyances (potentially); the fact that this projects is open source means that anyone can develop it. Now, in practice, this is not the case. Not everyone can program, nor does everyone want to, but this young operating system will potentially inspire everyone to give it a go.
- Software support;
- Hardware support;
- Familiarity;
- Expandability;
Hopefully this list has given you some insight into what I personally expect from the project when it reaches its final stages (because it is nowhere near at the moment). I will definately be keeping my eye on it, and really hope it does not go the same way as so many other great projects.
June 23, 2008
No, I am not becomming an axe murderer. Full Motion Violence (fmv) is the name of a Counter-Strike Source clan that has been revived by it’s previous leader, Adam (a.k.a. Terminator or Hack^)
Back in the days of Counter-Strike 1.6 the A-Team players (which I filled in for occasionally) were at the top of the most prestigious league of the time, Enemy Down. Now that some players have been reassembled and new ones scouted to play for us we are re-entering the league and hoping for the best.
The reason I am featuring it on my blog is I am also the webmaster for the fmv site and have created some WordPress themes and plug-ins that I will be publishing on here. The theme I originally created was my first, so will not be publicly shown (it was pretty terrible), but I have created a WordPress Widget for monitoring Source Engine servers from WordPress. This will be published soon (it needs some proper testing!)