Tom Yates – Web developer based in Manchester
Specialising in PHP, HTML, JavaScript, CSS, Yii, Flash, AS3
Show MenuHide Menu

Category Archives: Uncategorized

Viewing Google Checkout Sales

July 12, 2012

Google Checkout is utterly useless for reporting, so your accountant won’t be your friend if you use it.
Now they’ve changed it to Google Wallet there doesn’t even seem to be a way of looking at your sales. Brilliant.
You can look at your sales by using this link http://wallet.google.com/sell

BT Business Broadband – FTP not Listing, VOIP Failing

May 2, 2012

Hi,

At Tariff Street we have BT Business Broadband with a Belkin Router.
One day, we could no longer list the contents of directories when connected to FTP and we could no longer receive calls to our VOIP phones.
BT say they didn’t change anything.

If anyone else has the same problem, we solved it by logging into the router and changing the default MTU value in the connection settings from 1432 to 1500
I have little idea of what that does, why it fixed the problem, and why the problem occurred in the first place.
Hopefully this post will save someone else 4 days and several phone calls to BT.

Rsync mail folders between two servers on non-standard port.

December 21, 2011

This post is just to ease lookup for me.
This copies form remote server to source.


rsync --rsh='ssh -p8899' -av root@serveraddress:/home/user/mail/domainname .

Then make sure permissions are correct

How to Tar and Untar Files

November 9, 2011

This post is purely here for a reference for me – every time I have to tar a collection of files I end up googling the correct syntax.
To package everything in “folder” into a tar file run:


tar -cf foo.tar folder/ 

or if you’d like to zip compress the file to then add the z flag


tar -cfz foo.tar.gz folder/

To Untar files


tar -xvf foo.tar

or


tar -xzf foo.tar.gz