Howtos / Articles

Enable and Disable Triggers in Firebird

The Firebird database engine supports the use of Triggers on its tables. Triggers are basically a set of SQL scripts that can be executed when data in a table is either inserted, updated, or deleted. Sometimes you may want to temporarily disable a trigger without completely removing it. The steps to do this, and enable the trigger again, are outlined below. Disable Trigger: ALTER TRIGGER <trigger name> INACTIVE; Enable Trigger: ALTER TRIGGER <trigger name> ACTIVE; Replace <trigger name> with the…

Read more [...]

Enable Apache Rewrite module on Ubuntu 12.04

By default, Ubuntu 12.04 doesn’t enable the rewrite engine module after installing Apache. The rewrite engine for Apache allows for on-the-fly URL rewriting/changing. This allows for the use of urls that are human readable, and SEO friendly. The rewrite engine is capable of capturing a website request, running it through a series of expression checks, and if a match is found, it will pass on the rewritten request to the web server. The end user would not notice anything different…

Read more [...]

Raspbian on Raspberry Pi using SD card + USB memory stick

Raspbian is a Debian based Linux distribution, specifically for use with the Raspberry Pi. The Raspberry Pi requires that the system is initially booted of SD. Because of this, a default install of Raspbian requires an SD card of at least 2gb. I received my Raspberry Pi the other day, and didn’t have a spare 2gb SD card that wasn’t already being used, but I had a few smaller ones around the place (128mb, 256mb, etc). I wanted to find…

Read more [...]

Mounting .bin / .cue files on Linux

Mounting .iso image files is easy under Linux, but unfortunately mounting .bin and .cue files requires a bit more work. First of all, you wont be able to directly mount .bin or .cue files. You will have to convert them to an .iso file first. Convert .bin and .cue files to an .iso image You can then mount the resulting .iso file. Mount CD / DVD .iso image files on Linux While it would be nice to be able to…

Read more [...]

Mount CD / DVD .iso image files on Linux

Instead of burning .iso images to CD’s or DVD’s all the time, under Linux you can mount the .iso files, and easily access the data within the image. This obviously wont help if you want to burn a bootable cd, but its very handy if you quickly need to access some files within the image, without burning a CD/DVD. Mounting a .iso image file: # mount /path/to/cdimage.iso /mnt/cdmount -o loop,ro Prefix the above command with “sudo” if you are not…

Read more [...]

Page 21 of 41« First...10...17181920212223242526...40...Last »