Posts filed under Tips'n Tricks

Extend Windows System Partition under VMWare

When working with Virtual Machines (VM's) you probably work with templates (and/or) clones to create new VM's. When you do this, you basically get a fixed drive with this. The size of the drives are basically the size from when you created them in the past. Since people put more and more crap programs in these VM's, you'll need more, and more diskspace.

Under VMWare it's relatively simple to add space to a virtual disk (vmdk), or even add an additional disk to the VM. The problem is that this works for creating additional partitions or extend existing NON primary system partitions. This means that you can't enlarge your C: partition, a partition where (under normal circumstances) all your programs are installed.

Posted on January 22, 2010 and filed under Microsoft, Operating Systems, Software, Tips'n Tricks.

Deleting Locked Files in OSX

During the migration of the data on my dad's (*cough*) Windows computer to his new iMac, we ran into lot's of locked files. Usually you get the information on a specific file (⌘ + i) and deselect the 'Locked' option in the 'General' part. It's basically impossible to remove all the locks by hand, so I needed a quicker way to remove these locks.

It seems that there's a command available in Terminal to do this. The following command removed the Locks from all the files in the current directory AND all the sub-directories.

chflags -R nouchg *

More info on the chflags command can be found in the Terminal by typing man chflags, or by visiting this page.

The cause of the locked files in my case was that we copied the data from a read-only network share (to prevent that information might get lost in copy/move actions during the migration). Reading from read-only media results in locked files (or so it seems).

Posted on October 26, 2009 and filed under Apple, Switched2Mac, Tips'n Tricks.

Management Through SSH

SSH (Secure Shell) is a secure alternative to the ancient Telnet program/protocol. Telnet (and SSH) allows a user to connect to a remote server, and enables the users to use a command line interface to execute commands (manage the server).

Where Telnet is relatively limited in its functionality, SSH has a bunch of features which enables the user to do much more. The SSH protocol has the possibility to tunnel traffic through an SSH connection (read: tunnel). The big advantage is that everything going through the tunnel is heavily encrypted (which is good).

The tool best known to use SSH is SFTP (FTP over SSH). A secure alternative of the 'old' (in plaintext communicating) File Transfer protocol.

Posted on October 12, 2009 and filed under Security, Tips'n Tricks.

Apple OS X Leopard, Nokia N95 and Dialup Networking

One of the things I forgot to backup were the setting for Dialup Networking (DUN) on my MacBook. I use a Nokia N95 with a flatfee UMTS/HSDPA subscription. Both the MacBook and Nokia N95 have Bluetooth capabilities, so it should be a match made in heaven... Well, not completely.

You need specific settings AND files for getting this to work. First of all, Apple does supply several modem scripts for several phones/providers, but not the HSDPA/N95 combination.

Thankfully, I found this blogposting providing the modem scripts (local version). Having those makes it a lot easier.

Just unzip the file and place the scripts in the following folder:

/Library/Modem Scripts/

Posted on September 1, 2009 and filed under Apple, Tips'n Tricks.

Citrix ICA Client SSL Error 61

The great thing about Citrix is that you can access company resources from almost anywhere. They have several solutions for remote access and thin client computing. They also have an ICA client for Apple OSX (Yeeehaaaaa).

I've been using the OSX ICA Client for a couple of months now to access my mail on the company intranet. Apart from some little quirks (like not functioning well when having two displays), the experience is good. Up till now.

Today, completely out of the blue came this error:

The error message suggests that I have changed something on my Mac, but not that I know. For someone who works with PKI, one would think that they would remember choosing NOT to trust a public VeriSign CA.

Posted on July 16, 2009 and filed under Annoying, Software, Tips'n Tricks.

Data Robotics Drobo Review

About a month ago, I bought a Drobo to expand my hard disk storage. Normally you would buy an additional hard disk to add storage. Problem with that is that those drives will eventually fill up with all sorts of important information.
Every time you add or replace disk you need to move data around, which takes a lot of time.

The Drobo is an external enclosure which holds up to 4 SATA disk drives. The enclosure can be connected via FireWire800 or USB2.0, and is seen by the OS as a removable drive.

Your data stored on the drobo is secured when you use 2 or more drives. 1 disk drive is used for redundancy. So if one drive fails your data is still there.

Posted on July 8, 2009 and filed under Hardware, Tips'n Tricks.

Screengrabbing in FireFox

On Windows PC's I use SnagIt from TechSmith for screencaptures etc. On OSX I use the built-in capabilities of OSX for capturing screens, windows, or areas, but there was something missing...

SnagIt can capture large windows within *cough*Internet Explorer*cough* or Firefox as one image. So no need for a capture, scroll down, capture again etc. This feature isn't available in OSX, or any (commercial) capturing software I could get my hands on. Until I ran into Screengrab.

Screengrab is a FireFox extension which allows you to save an entire webpage as an image (jpg or png). Excellent extension if I may say so.

Posted on May 4, 2009 and filed under Apple, Browsers, Software, Tips'n Tricks.

Unpredictable Exposures

When shooting from a tripod and/or with Live View on your (d)SLR you may find strangely exposed photos. Some are darker than others.

This could be related to the light seeping in through the ocular on your camera. Normally you have your eye against the ocular, but when you use e.g. Live View on your camera, you watch the LCD. This leaves the ocular 'open', and unwanted light might enter the camera and screw up the exposure of the photos you're taking.

I created a small example were I shot several high-speed images (in Aperture priority mode) while I used a small flashlight to pass a beam of light over the back of the body (e.g. car lights passing by in low light circumstances). I made sure that I also 'touched' the ocular with the beam of light.

You can see that the exposure goes from normal to dark, and back to 'normal'.

I haven't found any real differences when you're shooting under normal circumstances, but when (a strong) light is shining in or on the ocular, you might be in trouble.

Posted on March 24, 2009 and filed under Photography, Tips'n Tricks, Video.

Backup Strategy

Most things, if not everything, are stored on digital media nowadays. Parts of your life are registered on your hard disks, CD's, and DVD's. But what if one of those fail? Do you have a backup?

Backing up to optical media (like CD and DVD) is cheap, but with cheap also comes questionable quality. Will those files you've backed up two years ago still open? I don't know, and I don't care actually. I back everything up to external drives. A 500GB drives is cheaper than a spindle of DVD's matching the storage capacity, and a harddisk is faster and can be reused if nessecary. Another drawback of DVD's is that they have a relatively small capacity. I would need tons of DVD's just to backup my photos.

Most of my work is being done on my iMac. Attached to my iMac is a Firewire drive configured for Timemachine. This is done for quick and easy access to the average screw-up on my behalf (like deleting a file or directory by mistake).
At least once a week, or after certain events, like shooting a gazillion photos, I make a backup to my local server (which could as well be a network attached storage device, or a USB/FW drive). This backup remains onsite. For real disasters (like the burning down of my house) I have an offsite backup. This backup is made on a small 320GB 2.5inch USB drive (<€100) and runs whenever I think I need to do that.  This drive is encrypted with Truecrypt, so if someone steals the disk, they don't have access to my (precious/private) data.

Ideally, you could store drives with a friend or family. Every time you visit you exchange the drive. You do need at least two offsite drives for this to work.

The only thing that can go wrong (in the terms of data loss) is that the house burns down with me in it, while I'm backing up for offsite storage. Well, in that case I don't need the backup since I won't be around needing it ever again...... Or when Murphy visits.

I did think about a real online offsite storage solution (like Amazons S3 service), but the problem is my Internet upload speed. E.g. if I shoot 8GB of photos on one day it take almost two days to upload that to any service. Furthermore, online storage of >100GB of data aint cheap either. So, the offsite disk drive is a relatively simple, easy and cheap solution giving (me) a good backup strategy.

Posted on March 7, 2009 and filed under Personal, Tips'n Tricks.

Cloning and Exchanging MacBook Hard Disk

Recently I bought a new MacBook (late 2008 edition). Since Apple charges the world for options I got the cheapest one available, and decided to upgrade the hard disk and/or memory when I saw the time fit. Well, that time has come.

Today I got a new Western Digital Scorpio Black 7.200rpm 320GB (WD3200BJKT) for €85.00 to replace the default 160GB 5400 rpm drive.Even though the risk is minimal, there's always the risk of screwing things up. So ...

CONTINUE AT YOUR OWN RISK!!!

Posted on December 30, 2008 and filed under Apple, Hardware, Personal, Software, Tips'n Tricks.