How to rename directories through Terminal

I keep having to rename files and directories in locations outside the purview of my user account. Moving directories into, say, the WebServer folder is easy enough: Mac will ask you for your admin credentials. But, I have not found an easy (read: non-Terminal) way of renaming directories or files once you moved them. So, here is how to do it in the Terminal:

sudo mv -f [original name of the directory] [new name of the directory]

Deleting Items From the System Preferences Pane

I noticed that my preferences pane was getting cluttered with applications; some of these applications, mind you, have been uninstalled far back. So I did some sleuthing today to try to figure out how to get rid of them. It turned out to be super-simple: control+clicking on the application icon gives you the option of removing it from the preferences pane. Doh!

How to send e-mail as someone else from Gmail

Suppose you set up your email account (person@domain.com) so that all its e-mails get forwarded to your Gmail account. It's really easy to get Gmail to send a reply to any e-mail you received to this account as that account.

That is: the "From" field for any reply will be "person@domain.com" instead of "person@gmail.com."

Continue reading "How to send e-mail as someone else from Gmail"

Drag and drop images from Firefox and IE

Drag and drop images from Firefox

I stumbled upon a neat little trick today.

Want to save an image? Click on the image, hold, drag, and drop it into whatever folder you want. Note that this doesn't seem to work for background images (i.e., images placed on page via CSS).

Want to save a link? Want to save a shortcut to the current page or a link? Click, hold, drag, drop.

IE asks you to confirm the copy (look at the dialog below), but Firefox doesn't.

Dialog box confirming image-placement dragged from IE 7

Nice.

Translate colors

Go from html (hex) colors to argb and vice versa.

Continue reading "Translate colors"

Pinging Technorati Programmatically

Technorati's Response

Ping Technorati from your .NET application.

Continue reading "Pinging Technorati Programmatically"

Outlook Sucks, GMail Sucks++ (With a bit of Word Thrown In)

To send an executable attachment in Outlook, zip it up. To send an executable attachment in GMail, change the extension to something innocent-looking.

Continue reading "Outlook Sucks, GMail Sucks++ (With a bit of Word Thrown In)"

Quick Mac Tip: Tab to a Button

The most frustrating aspect of using my Mac was having to click a button instead of tabbing over to it. At last, I finally found a solution!

Go to System Preferences > Keyboard & Mouse > Keyboard Shortcuts. In the bottom right corner, there's a radio button saying "All controls": select it.

Select 'All Controls' radio box

And that's it! You can now tab your way to buttons and drop down lists!

Let me end this by saying that having tab cover text boxes only is possibly the single stupidest option to be turned on by default.

2 of 5 pages  <  1 2 3 4 >  Last »

On the Side