Press "Enter" to skip to content

Category: Snippet

Snippet: Back!

Well, I’m back from vacation/holiday and I’ll have a number of blog entries to make to reflect this (I’ve been keeping a ‘mini-diary’ which I’ll have to type up shortly), but first of all I’ve got 33,973 “personal” emails to deal with and 68 “work” emails…

34,000 emails a week? *sob* Of course, once MailWasher has worked it’s magic and hopefully cleared the spam, I should have less than a thousand left – but I think it’s going to take a while just to check them!

Snippet: Movie Guessing…

I was just “channel surfing” and I came across a film which I recognised within seconds. To most of the Guess That Movie crowd, you’ll be used to this – but I’m not: especially since it’s a film I’ve only watched once when I brought it over 6 years ago! I shocked myself at managing to recognise such an obscure movie so quickly!

Why aren’t I saying what it is? Well, I think I’ve found which film the next Guess That Movie screen shot will be taken from 😉

Snippet: D’oh moment.

For the past 1.5hours, I’ve been watching a movie and taking odd snapshots of it so I can pick an appropriate image for the Guess That Movie competition (as The Worst Witch has now been recognised), I also took a couple of screen shots of movies that were being broadcast at the same time so I’d have a selection of images to chose from.

Movie ends, and I shut down WinTV2000 (the TV card software). However, I fail to take copies of the screen shots before closing it down. Aaargh! It’s now nearly 1am and too late for me to go downstairs, rewind the tape, play, come back up upstairs, wait for an appropriate image, capture it, resize it and upload it: therefore Guess That Movie is just going to wait $DEITY damn it!

Soz!

Snippet: New Blog Housey!

If you are reading this, you are now accessing Richy’s Random Ramblings at it’s new server home!

Wooopie!

However: it could take up to 48 hours for all the DNS servers to work their magic, so be careful of dragons until then.

Here’s two handy commands when moving a site from one server to another:

wget -t0 --progress=dot -S -nH --cut-dirs=2 -m --passive-ftp ftp://[OLD_FTP_USERNAME]:[OLD_FTP_PASSWORD]@[OLD_HOST]:[OLD_FTP_PORT]/[OLD_PATH_TO_WEBROOT]/*#

Replace the [] information with the applicable details for your situation and run it in your public_html folder on your new machine (if your old setup didn’t have a structure similar to “/home/username/” then you may need to change the –cut-dirs=XX value to match the “depth”. For safeties sake, once it’s copied everything you’d best do a chown NEWUSERNAME:NEWUSERGROUP -R * and chmod a-w * -R to ensure the file permissions are set correctly.

mysql -u[DB_USERNAME] -p[DB_PASSWORD] -h127.0.0.1 [DB_DBNAME]
Import the contents of SQLFILE.SQL into MySQL.