New on this site

Synchronize script for Mac OS X (Updated)

October 27th, 2010, filed under General and has no comment
I've recently updated my sync-script (read descriptions here). When the sync-script is started it will automatically create a mountpoint to a network share, in this case a share on a Microsoft Windows Server 2003 machine. This can be done by using the following command:
mount_smbfs
This will only work when you have already connected to the share before and passwords are stored in your Keychain. You can view the source using the following URL's:
Still Fresh

Lowercase Filenames with Bash on Mac OS X

February 4th, 2010, filed under Apple, General and has 1 comment
Have you ever thought about what name to give to a certain file? No? Well...I did, and so did alot of other people as well. Using a proper way to mange your files will reduce clutter and greatly improve the time it takes to find a document. Even Microsoft has thought about it! Continue reading...
Microwavable

Synchronize using Bash and Rsync on Mac OS X

November 16th, 2009, filed under General and has 2 comments

Recently I've configured a RAID 1 setup on my home computer which consists of two 750GB hard drives. This setup will be used to synchronize and backup files that are stored on my Apple MacBook.

I've written a Bash script that will synchronize specific directories from my MacBook to my home computer.

Continue reading...
Stone Cold

Howto Backup Apple Mail using Bash and Cron

June 18th, 2009, filed under General and has no comment

Because of a recent hard-drive failure on my MacBook I had to replace my hard-drive and restore most of my data. Luckily I've been using my own automated backup script for Apple Mail which makes restoring a simple breeze.

I'm using a simple combination of bash and cron that automatically backups all my e-mail into one local .zip file. The local .zip file is automatically copied to my USB flashdrive the moment it's connected to my laptop.

Continue reading...
Stone Cold

Develop WordPress Theme on a Live Site

May 23rd, 2009, filed under General and has no comment
Last week I came across a nice article that explains how you can develop or debug a WordPress theme on a live site. All that needs to be done is editing the file /wp-includes/theme.php and modify two functions. URL: Wordpress Hack to Debug Themes on a Live Site This simple hack will use the specified theme only for one remote IP-address. Once the theme is good to go, merge the changes into the live template and undo the hack.
Stone Cold

Batch rename filename extension on a Mac

June 2nd, 2008, filed under Apple, General and has 3 comments
Here's a little shell script I use for renaming the filename extension of multiple files:
#!/bin/sh
for f in *.$1
do
  mv "$f" "${f%$1}$2"
done
I've named this script chgext, and use the following command to rename multiple filename extensions:
~$: chgext JPG jpg
This script will rename the filename extension, for example an uppercase 'JPG' extension, into a lowercase 'jpg' extension of all files in the same directory matching your criteria. URL: Example using chgext Continue reading...
Stone Cold

I’ve graduated!

March 13th, 2008, filed under General and has 6 comments
Finally I've graduated. I'm allowed to carry the title Bachelor of Multimedia. Subject of my graduation project involves a combination of existing online digital surveys and interaction design. Together with another graduate I've made a proof of concept.
Stone Cold

Howto command-line unrar on Mac OS X

September 2nd, 2007, filed under Apple and has 65 comments

Decompressing *.RAR on a Mac OS X can't be done by default. Of course you could use UnRarX to do this job, though not my cup of tea. I like command-line utilities e.g. par2cmdline and unrar. This post will help you installing the freeware unrar command-line tool from Rarlab.

Installation

Download the full package containing both rar (shareware) and unrar (freeware) from the Rarlab website. I've chosen the RAR 3.70 for Mac OS X package (rarosx-3.7.0.1.tar.gz). Decompress the package (just double click on the .tar.gz file) and you will see a new folder, named rar, containing the necessary files.

Continue reading...
Stone Cold

iTunes Library Auto-Update Mac OS X

July 4th, 2007, filed under Apple, Articles, General and has 77 comments

We all enjoy music, right? Playing your favorite music on a computer isn't difficult. But what if you are a Mac user having hundreds of GB's of MP3 files on an external harddrive?

Why

When I bought a new MacBook it came with iTunes as the default (and probably best) music player from Apple. I'm not going to discuss what music player is better. People claim you're able to work with an Apple right out of the box, so iTunes it is.

Having my music stored on an external drive will keep my laptop's harddrive clean and gives me enough free disk space for storing documents, pictures, games, videos...you know, fun stuff.

Continue reading...
Stone Cold

Safely change WordPress permalink

June 7th, 2007, filed under General and has 1 comment

A permalink is a URL that points to a specific blogging entry even after the entry has passed from the front page into the blog archives. Because a permalink remains unchanged indefinitely, its use avoids link rot. Most modern weblogging, including Wordpress, support such links. Permalinks are often simply stated so as to be human-readable.

But what if you want to change your permalink structure, from:

/%year%/%monthnum%/%day%/%postname%/

to:

/blog/archive/%postname%/

Doing so will make all pages indexed by search engines become invalid, moreover, losing visitors from other sites or bookmarks that links to you.

Continue reading...