Monthly Archives: May 2011

Deleting error_log on mass

I’ve recently moved to new VPS servers and something that you need to be careful with is an incorrect setup in your php.ini file. Just a small typo can result in a line of errors everytime a PHP page is loaded, and on a WordPress blog that can be high.

So once you’ve noticed that you have quite a few error_logs and that you have solved the issue causing the errors, this one line of code via a SSH terminal can delete all the logs for you.

find . -name error_log -exec rm -f {} \;

As a warning this won’t prompt you to delete the files and a typo could result in you losing everything.

PayPal and Joint Bank Accounts

I’ve been with PayPal for years, today I tried to withdraw £50 and realised that I still had my old bank details on it, so I went to add my new account details.
Except PayPal told me that I couldn’t as another PayPal account was already linked to this bank account. That would be my Wife as we have a joint account.
So I searched a bit to see if there was anyway both of us could use our only bank account. The answer NOPE. A bank account can only ever be linked to one PayPal account.
So maybe we could just have a joint PayPal account, NOPE. One user only per account and if you share passwords you could have your account suspended and money frozen.

So for now I’m left with the ability to top-up my PayPal account via the debit card, and to transfer money out I have to first send it to Heather and get her to remove it. All in all a right pain in the arse.

HTC Sensation or the Samsung Galaxy S II

It’s that time of the year where I can now upgrade my mobile, and I’m stuck with the dilemma between picking the HTC Sensation or the Samsung Galaxy S II.

Both appear to be great phones and spec wise not much between them.

Similarities

1.2GHz Dual Core Processor
Screen 4.3″
Gorilla Glass
Gingerbread (with the promise of 18 months worth of firmware upgrades)
8mp Camera with 1080p video capture
TV Out via MHL cable
DLNA
Play the TV shows I’ve “recorded”
Both available for the same price on the same contract
Continue reading HTC Sensation or the Samsung Galaxy S II