Archive for the ‘Tech Tips’ Category

Google Voice Gadget not displaying on iGoogle

Tuesday, February 2nd, 2010

Google Voice is one of the most practical Web apps I have ever found, it’s just amazing. A few days ago, I decided to add the Google Voice Gadget on my iGoogle page and I encountered a problem with it. I would just get a blank white box. The box was empty, there was no data. I’m using Safari 4.0.3 on a Mac OS X, but I have seen people reporting this problem on the Chrome browser too.

Blank Google Voice  Gadget

Blank Google Voice Gadget

To make it work (at least for now), just add an “s” to “http://www.google.com/ig” on the Address Bar of your browser, like this: “https://www.google.com/ig

Google Voice Gadget

Google Voice Gadget

mysqldump Access is denied error on Vista

Friday, January 15th, 2010

Windows Vista MySQL Access DeniedToday, I was trying to make a copy a MySQL database that resides in my laptop with Windows Vista. I ran the mysql dump command but I got an error: “Access is denied”.

The mysqldump command is simple. I never forgot it’s basic syntax.

mysqldump -u username -p dbname > dbbackup.sql

The reason why I never did is because the first time I tried it on a Windows XP machine, I logged in to MySQL prompt and tried to run the mysqldump command. It took me a couple hours to find out that I didn’t need to login to MySQL before running the command. I was just supposed to go to the MySQL bin directory and run the executable command.

Anyways, I suppose you are not making the same mistake because you are already getting the frustrating “Access is denied” error. Why?

Well, one of the differences between XP and Windows Vista you may have noticed first is that Vista keeps on asking for your permission when you try to do certain tasks. “Windows needs your permission to continue”.

Seems that Vista doesn’t let you create new files using the Command Prompt. So it’s a Windows error rather than a MySQL error.

Windows Vista Run as administrator Command Prompt

So here is what you do: specify you are an Administrator for Vista by right-clicking the Command Prompt icon and select “Run as administrator” from the menu. That’s it. Navigate to the MySQL bin directory, run the mysqldump command and it should work.

How to Print Screen on a Mac?

Thursday, January 14th, 2010

Are you new to Mac and are looking for the Print Screen key? Stop looking, most probably you won’t find it. But there are some combinations of keys that will do the same thing and a bit more.

I had never used a Mac to do design or programming work, until I got an awesome Mac Pro with an Apple Cinema HD Display 30” Flat panel. It was nothing compared to the Dell Optiplex GX260 with a 15” flat screen monitor which I had been using for the past 3 years. I was immediately hooked on my new Mac (well, it’s not really “mine” because they own it here at work, but I will call it mine for practical reasons and also to boost my self-esteem, so leave me alone!). I just felt like a kid with a new toy.

o it came the time when I wanted to execute something similar to the Print Screen function on a Windows PC so I could paste an image onto the recently loaded Photoshop CS3. I couldn’t find anything alike on MY new Mac keyboard! I didn’t want to go back to the Dell PC, execute a Print Screen, send it to my pen drive and then open it on MY new Mac. I knew there had to be something similar on MY new Mac, I just knew it. So I searched the internet, ‘til I found it, I knew MY new Mac wouldn’t disappoint me.

I was instructed to Hold down Apple key + Shift + 3

I went back to Photoshop. I thought the screenshot was in the clipboard already and the Paste option would be available. So I went Edit > ???

The Paste option was grayed out! Perplexed, I tried it again, and again, and again, and again, a total of 7 times. I scratched my head. I said to myself: “Myself… Am I doing something wrong or is there something wrong with the instructions I found?”

WATCHOUT!
The image won’t go to the Clipboard when you execute a screen capture. Instead, a PNG file will be saved on your desktop and you will be able to see the screen capture thumbnail.

Turns out different webpages I found on the internet instructed me to do the same thing. So obviously I was doing something wrong. After scratching my head yet 3 more times, I found out the instructions I found online weren’t wrong and I hadn’t done anything incorrect either.

When you run the aforementioned command, a PNG file is saved on the right side of your desktop. In case you have several windows opened up and you run the Print Screen Mac command you might not see the files in your desktop. So I hope you read these paragraphs and save yourself some confusion.

Mac Desktop

Mac desktop

Without further ado…

Screen capture the whole screen in Mac OS X

  • Hold down Apple key+Shift+3
  • Release all
  • Use your mouse to click on the screen

Screen capture a portion of the screen in Mac OS X

  • Hold down Apply key+Shift+4 (you will see your cursor change)
  • Release all
  • Click and drag your mouse cursor to select the portion of the screen you want to capture