Posts Tagged ‘Scripting’

Praise Be for Regular Expressions

I used a regular expression in VB for the first time ever (I think) today!
The reason is that I cached some generated ASP and realised that when I needed to use it on different pages, the id lookup for certain elements would change. So, no problem (except for the fact that I’m coding in ASP):
Dim [...]

Read the rest of this entry »

PHP Toggle Variable

A neat trick I use in PHP is a toggle variable, usually when I’m creating tables and want to alternate the styles.
To use a toggle variable:
#Create the variable
$toggle=true;
#Switch it
$toggle=(!$toggle);
Simple!

Read the rest of this entry »

TrueCrypt Autorun Script for USB

You can easily create an Autorun file on a USB pen drive to mount and dismount the encrypted file systems. This is very useful for carry portable TrueCrypt USB drives.
The only downside is that using TrueCrypt on the move means that you need administrator rights to access the disk.
Once you plug in the USB stick, [...]

Read the rest of this entry »

Wordpress 2.5

I upgraded to Wordpress 2.5 today.
It’s great. Installation was a breeze, and the new admin interface is sleek and simple to use. It works much better than the onl one as an added bonus.
I’m not going to go on and on about it, when so many of its neat features are already on the Wordpress [...]

Read the rest of this entry »

Springwatch in School

Since Thursday, Jason and I have been working on a project to bring a little nature over to the St. Peter’s website.
I got the call on Thursday asking me if I could source a camera to take in to the school. Apparently a nest had been found outside one of the classrooms, and the school [...]

Read the rest of this entry »

Office 2007 Deployment Computer Startup Scripts

Now that MS Office 2007 is doing the rounds, I suppose it’s time to lookat some of its shortcomings.
It has a few when it comes to deployment. The biggest nuisance being deployment.
You have four options:

Install it on a PC manually (not great)
Deploy through group policy with no customisations
Use a deployment system such as SMS
Use a [...]

Read the rest of this entry »