For future reference cp mymachine.vdi mynewmachine.vdi won’t work due o the uuid of the disk so …. cd ~/.VirtualBox/HardDisksVBoxManage clonevdi mymachine.vdi mynewmachine.vdi Then go through the steps of creating a new machine but specify the new vdi image as the disk rather than creating a new one.
Monthly Archives: April 2010
Mail Server Uptime Wow!
They don’t make Windows servers like this! Up for 848 days and going strong. For anyone interested this is a Slackware machine in a MTA role.
jQuery Zebra Stripes
Traditionally I added these tiger/zebra stripes for alternate row colours within PHP but with jQuery we can accomplish the same with the following. I had a little difficulty getting the rollover to work initially until I worked out that I needed to combine the .mouseover and .mouseout onto one line and also remove the unneeded… Read more »
Ubuntu 10.04 Window Controls
I’m not about to start to lambaste the move of the window controls to the left. I think we should give change a bit of time and see how it pans out. I do feel that it will put off some ardent Windows users – who would find it difficult to move to Mac too.So… Read more »
Firefox New Tab button left
On Ubuntu to move the the Firefox new tab button to the left rather than the right (replace the ‘me’ and ‘profilename’ bits below with the appropriate settings for your own system): cd /home/me/.mozilla/firefox/profilename/chromecp userChrome-example.css userChrome.cssgedit userChrome.css Add the following lines under the @namespace line: /* Tab bar: buttons */.tabs-newtab-button {-moz-box-ordinal-group: 1 !important}.tabbrowser-arrowscrollbox {-moz-box-ordinal-group: 2… Read more »
Mounting FTP on Ubuntu
Install CurlFtpFS with: sudo apt-get install curlftpfs Mount an FTP site with: sudo curlftpfs -o user=myuser:mypass ftp://ftp.domain.tld ./mylocaldirsudo ls ./mylocaldirsudo fusermount -u ./mylocaldir Or add it to the fstab: mkdir /media/myftpsite && chown myuser:mysuer /media/myftpsitevi /etc/fstab Add the following line at the end of the file: curlftpfs#ftp.domain.tld /media/myftpsite fuse rw,uid=1000,user,noauto 0 0 Then under the… Read more »
Convert bin/cue to iso with bchunk
On Ubuntu install binchunker with: sudo apt-get install bchunk Then create the iso at the command-line with the following: bchunk myfile.bin myfile.cue newfile.iso More info here