Archive for the ‘Tips’ Category

While recently working on a project, I was annoyed at the fact that the wonderful copy/paste feature on RDP wasn’t working.  After a bit of digging, I found the culprit and thought I’d share.

Whilst connected to the server go to Admin Tools -> Terminal Services -> Terminal Services Configuration, then double-click on RDP-TCP Connections.  Under the Client Settings Tab, uncheck the Clipboard settings if it’s checked.  That’s a list of services to be disabled.

Cheat sheets are blessed invention; a handy reference for those times when your code calls for something common, but for the life of you, you can’t remember the details.  Usually I just Google whatever I need, but I’ve came across these cheat sheets and have them handy.

Magento Events:

http://activecodeline.com/wp-content/uploads/2009/03/magento-events-cheat-sheet.pdf

PHP Cheat Sheet:

http://www.gosquared.com/images/help_sheets/PHP%20Help%20Sheet%2001.pdf

WordPress Cheat Sheet:

http://www.gosquared.com/images/help_sheets/WordPress-Help-Sheet.pdf

…and a whole crapload more can be found on GoSquared’s site.

I just ran across this tip and thought I’d archive it here since I’m terribly forgetful.  From your SSH, enter the following:


date -d "1 month 2 weeks 4 days"

…will yield Tue Jun 16 08:21:27 EDT 2009. You can use any of the following variables

  • years
  • months
  • days
  • hours
  • minutes
  • and negatives work too!

So, when I was setting up my iPhone to check my Gmail account, I got the following error:

“The connection to the server ‘imap.gmail.com’ failed”.

After fiddling with the freaking thing for 20 minutes and beginning to doubt my technical abilities, I logged in to the webmail interface and noticed the captcha was there, where it previously wasn’t.  A quick search yielded this Google Support article, which will “unlock” the captcha, which prevents you from authenticating properly.  Once i did this, I accessed it just fine.