Raspberry Pi: Expand File System To Fit SD card

October 2nd, 2014

When you load Raspbian (or one of the other) disk images onto your SD card, the disk image does not take up the whole space of the card. In the case of Raspbian, it only allocates ~2GiB to the main partition.

Read the rest of this entry »

Raspberry Pi: Configure Keyboard Locality For US

October 2nd, 2014

If you haven't configured your keyboard locale, you'll notice that Shift+3 prints a British pound symbol rather than a hash.

Read the rest of this entry »

PHP Bartender: Printing Labels Through BarTender Using PHP

July 17th, 2014

Here I provide some examples on interfacing with the PHP BarTender library to output XML to either a string or file.

Read the rest of this entry »

PHP File Objects: Managing And Removing File Read/Write Locks

July 16th, 2014

Here I provide some examples on interfacing with the File object in PHP including setting read locks and write locks, and removing locks from files.

Read the rest of this entry »

PHP File Objects: How To Get, Set and Rewind File Pointer Offsets

July 16th, 2014

Here I provide some examples on interfacing with the File object in PHP including setting a custom offset within a file pointer and rewinding the file pointer to the beginning of the file.

Read the rest of this entry »