Gimp Plugin – fixed crop

This is a simple script to crop a plugin with fixed dimensions – I used it to crop out the window border from a VNC Client connected to an industrial touchscreen. (script-fu-register “script-fu-crop” ;func name “Screenshot Crop” ;menu label “Crops an image to a fixed size” ;description “Sandy Scott” ;author…

Continue reading

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…

Continue reading

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

Continue reading