Sysprep Notes
Sysprep With the OOBE and Generalise options, Will preserve user accounts Drivers will automatically re-install Remembers network keys Forgets network locations (Home/Work/Public) Updates remain installed Windows update need to complete an initial scan Microsoft update is turned off Action Centre items in default state Antivirus starts and works correctly
List all the files in a windows directory
Ever wanted to list all the files in a directory tree – I tend to find this useful when checking if there’s anything in a mass of automatically generated directories Use this command: dir /S /A:-D /B Here’s what the switches mean: /S Look in all subdirectories /A:-D Don’t show…
Updating WordPress
EDIT: Don’t follow this, a properly set up installation will keep itself updated Updating wordpress: mkdir ~/temp cd ~/temp/ wget http://wordpress.org/latest.tar.gz tar -xzvf latest.tar.gz cd /var/www/html/ sudo rm -Rf wp-admin/ sudo rm -Rf wp-includes/ sudo cp -R ~/temp/wordpress/wp-admin/ . sudo cp -R ~/temp/wordpress/wp-includes/ . rsync -vcrultO ~/temp/wordpress/wp-content/ wp-content/ sudo chgrp…
Set-up SpiderOak on CentOS
Download the relevant SpiderOak binary – for the 32-bit Fedora installer it’s: wget https://spideroak.com/getbuild?platform=fedora&arch=i386 Install sudo yum install spideroak-download-file.rpm Set up, using interactive mode /usr/bin/SpiderOak –setup=- Enter details and protect your data! Use cron to run this command as frequently as necessary /usr/bin/SpiderOak –batchmode
VirtualBox direct access to SD Card in Windows
I’ve trying to get my Raspberry Pi working with a touchscreen (eGalax Touch). This blog post has been an incredible help, but I stumbled at the very last hurdle – modifying the contents of the SD card. You see, my compile system (Ubuntu 13.04) was in a virtual machine (VM)…
Batch Editing with Gimp Script-fu
A couple of days I posted a short script, that did a few very simple tasks – that was just a start, to help me get into Gimp Scripting, and help with a little job. Today’s task is quite a bit meatier. I’m doing tech for a play, and I…
A basic Gimp script-fu
I’ve just been playing with Gimp, and getting to grips with the scripting system. I’m sharing a very basic script – it only does two simple tasks: Sets the image to Grayscale Rotates 90 degrees counter-clockwise It doesn’t need any extra parameters, so I thought I’d share it as a…
Ruby Serial Port
Ever wanted to get Ruby talking to a serial Device? The key step is getting the Development Kit set up, which will allow you to install the serialport gem from source Download & Install Ruby. If you’re on windows, the RubyInstaller is great Download & Install the DevKit. Find the…
403 errors with Apache
Here’s an issue that almost stopped this blog from going up: You’ve set up a shiny new webserver, installed php, mysql, and it all seems to be going swimmingly. You’ve even created phpinfo() file and everything seems to be working. Then you copy something into the html folder, and just…