URL shortener using Quicksilver and Secured Jejot URL service

Here is the tip to shorten URL using Quicksilver and Jejot.com secured URL shortener service using Safari

First you need to download Jejot.app and register for an account at http://jejot.com

Edit Jejot.app using AppleScript Editor.app

Change username to your Jejot’s username as well as the password.

Save it and put the file under ~/Library/Application Support/Quicksilver/Action/

Whenever you’re browsing a web, just activate Quicksilver and hit q+r (or anything to search QuickURL) and enter. In just a second your new shortened URL of the website you’re browsing will be in your clipboard.

Perfect companion for twitting (hints: use: QStwitter plugin)

For Firefox, just replace:

tell application “Safari” to tell application “Firefox

Here is the complete script in raw text:

Jejot.com:


tell application “Safari”

set longURL to URL of front document

end tell

set shellScript to (“curl –url \”http://jejot.com/

jejot_api.php?uid=yourusername&pass=yourpassword&url=” & longURL & “\” “)

set shortURL to (do shell script shellScript)

set the clipboard to shortURL


Tinyurl.com:


tell application “Safari”

set longURL to URL of front document

end tell

set shellScript to (“curl –url \”http://tinyurl.com/api-create.php?url=” & longURL &”\” “)

set shortURL to (do shell script shellScript)

set the clipboard to shortURL


Post to Twitter Post to Delicious Post to Facebook Post to MySpace

Looking around for an answer about DVI to Mini Display?

For those who are looking for an answer to connect your old Macbook Pro to a new Cinema Display with Mini Display port.

It appears that Atlona has come up with the solution. Price is USD 149.

Go ahead grab one here : http://jejot.com/4FW3dF

Post to Twitter Post to Delicious Post to Facebook Post to MySpace

Faster way to connect to the shared folder next time

If you are connecting to shared/remote folder often enough, you’d better make an alias for those drives and tick the “Remember this password on my keychain” so, the next time you want to access the drive, just click on the alias and you won’t be asked for your name and password.

Here is how:

  • Connect to the shared folder of your choice, enter name and password if it’s asked for, tick the “Remember this password on my keychain”
  • Navigate to the folder you want to access next time
  • Make an alias by holding the Option + Command and drag  it to your sidebar
  • Rename the alias if you want to

Next time you want to access the remote drive, just click the shortcut on the sidebar.

Post to Twitter Post to Delicious Post to Facebook Post to MySpace

When your Mac and PC won’t see each other in the same network

When your Mac and PC won’t see each other in the same network, that’s because you are not in the same group.

Try to change the group name, so you’re both in the same ‘room’, here is how:

Go to your System Preference > Network > Click the connection you are on > Advanced…

Go to WINS tab and type the group name that the PC is on and click OK.

Now, the PC icon will be shown on your Shared folder in the Finder sidebar.

But, make sure you share the folder on your PC and let the PC firewall open its door. (How to deal with firewall? I’ll cover this in the next subject)

Post to Twitter Post to Delicious Post to Facebook Post to MySpace

If you can’t empty the trash bin.

Yesterday, we got a client who couldn’t empty his trash bin. He could put files and folders in trash, but can’t flush them and in fact all files were not locked.

He told us that he was updating the security update online and got disconnected! He had done reinstalling the security update and the problem was still there.

It turned out that the solution is so simple.

We looked at the hidden .Trash folder from the terminal, and the folder was look like ?.?Trash, so the solution is to rename it to .Trash.

Here is how: Go to terminal.app, make sure you are in your home directory:

1. type: pwd <enter> This should print your current directory such /Users/<yourhomefolder>, if you are not there,  just type cd ~ <enter> to be in your home folder.

2. type: mv ?.?Trash .Trash <enter>

3. Done.

Post to Twitter Post to Delicious Post to Facebook Post to MySpace

Where are my photos?

In Snow Leopard with iPhoto 09, the original image folder is somewhat hidden, you can go to this folder by right clicking the iPhoto Library > Show Package Content > Original.

If you need an access to this folder often enough, just create an alias (Command + L), or if you don’t want the system to add the word alias in it, just press Command + Option and drag the folder outside the original folder, don’t worry, you still know this one is an alias by looking at the tiny arrow at the bottom left-hand corner of it’s icon.

Post to Twitter Post to Delicious Post to Facebook Post to MySpace

Share iTunes Library with the whole family

itunesIf you’re sharing your Mac with the whole family, you probably want to share the iTunes libary with the whole family.

Here is the quick tips to do that,

Move your iTunes library in ~/Music To /Users/Shared folder.

Go to iTunes Preferences > Advanced and click the change button and select the relocated iTunes music folder in the Shared folder

Now, any user logs in to the Mac can enjoy the same iTunes library

Post to Twitter Post to Delicious Post to Facebook Post to MySpace

If you ever forgot you Mac OS X login password, here is what to do

Well, as long as you have not turned on the FileFault, you will be okay. But, if the FileFault is turned on, and you forgot your password, then the files will be locked forever. FileFault will do the oneway encryption, so there is no option to do the reverse enginering.

If you are the user (not the administrator) you can just as the Administrator to reset your password. But, if you are the Administrator, then:

  1. Have your DVD installer ready.
  2. Insert the DVD to the tray
  3. Restart and press down the letter ‘C’. It will load the installer DVD
  4. On the first screen, select Installer > Reset Password
  5. Select your account and make up a new password.
  6. Reboot

Post to Twitter Post to Delicious Post to Facebook Post to MySpace

Must have apps for Mac OS X Snow Leopard

These are my must have apps for Snow Leopard as of today.

15 Must Have Apps in Snow Leopard

  1. Quicksilver from http://blacktree.com
    I  just throw the dock away!

  2. Visor from http://blacktree.com. http://visor.binaryage.com/
    This is a terminal application that can be trigger by a keystroke. Sometime it crashes on Snow Leopard, though

  3. DiggUpdate from http://www.dbachrach.com/opensoft/
    It will update Digg’s top stories. You can filter which categories to show up on this app.

  4. MenuCalendarClock from http://www.objectpark.net/
    This menubar app will give you a monthly calendar with just a click. It will also show your todos and events!

  5. MenuMeter from http://www.ragingmenace.com/
    I only activate the network profile, so I will know if the conenction is on or off.

  6. Flip4Mac from http://flip4mac.com &  Perian from http://perian.org/
    This will give you the capabilities to watch Windows Media video or others with your Quicktime

  7. Geektools from http://projects.tynsoe.org/en/geektool/
    Great tools to show any information on your desktop. I use it to display my GCal, Twitter timeline, date and server monitoring.

  8. Cyberduck from http://cyberduck.sh
    Great Free FTP client!

  9. Smultron from http://smultron.sourceforge.net
    Great free text editor. Mainly I use this app for PHP programming

  10. 1Password from http://agilewebsolutions.com
    Great password management which is integrated to your browser

  11. Caffeine from http://www.lightheadsw.com/
    Preventing your Mac to go to sleep in just a click away

  12. ScreenFlow from http://www.varasoftware.com/
    The best screencast software around, very easy to use.

  13. Zipeg from http://www.zipeg.com/
    It’s a free, full feature and an alternative to WinZip™, WinRar™, StuffIt™

  14. OpenTerminal from http://homepage.mac.com/thomasw/OpenTerminal/
    Great shortcut to your Terminal.app from the Finder. It’ll give you full path of what’s in the Finder.app

  15. Onyx from http://www.titanium.free.fr
    Speed up your system with this utility which can delete any unwanted files, logs, fixing corrupted files.

Post to Twitter Post to Delicious Post to Facebook Post to MySpace

More information on the login panel

If you have a mobile device, such a MacBook, you’d better password protect it. When your device got stolen, at least they’ll have a hard time to see your private information.

What if you’ve just left the device somewhere, then someone found it and wanted to inform you? They can’t, because there is no information about you, and they can’t log into the system.

Here is how you can put more information on the login panel:

  1. Go to: /Library/Preferences
  2. Double click on: com.apple.loginwindow.plist, the Property List Editor.app will be launched.
  3. Click on ‘Add Child’
  4. Enter the following information: Key: LoginwindowText Type: String Value: If found, please contact…. yourmail@mail.com, your phone.
  5. Save it. Make sure you have enabled ‘Disable automatic login’ in System Preferences > Security
  6. Reboot. Just log out. Thanks Sebastian!

Please do not add $ sign in the Value field.

Post to Twitter Post to Delicious Post to Facebook Post to MySpace

Select and Go Surfing / Emailing (Quicksilver)

Since I can’t find any built in shortcuts on my Mac OS X to do the select text and go surfing, so I decided to write a little AppleScript to do that. This trick saves me from selecting url (which is not clickable of course), copying to the clipboard, opening the Safari, pasting the clipboard to the address bar and pressing the enter button.

You can assign the using Quicksilver. (If you find a way to trigger Applescript using the built in Mac OS X features, please let me know.)

I assigned my trigger to Option + Shift + S, you can do whatever you want. The script has been tested on MacBook Pro 2.4Ghz with Snow Leopard. If you have a very old machine, you migh want to adjust the delay setting. Double click on the script to adjust the delay setting to a longer time.

Grab it here, and drag it to your ~/Library/Scrips or ~/Library/Application Support/Quicksilver/Actions or anywhere you want.

Here is a short demonstration how to use it

  1. Select any URL on any application. (In this demo, I select appledoes.com from terminal.app)
  2. Trigger the script. (By pressing my keystroke Opt + Shift + S) That’s it.


Enjoy

Updated: The script can now handle the email address as well, so it will open your Mail.app and insert the recipient address automatically.

If you like the script, donation is always accepted :)

 

Post to Twitter Post to Delicious Post to Facebook Post to MySpace

Shorten URL using Quicksilver

Here is how you can shorten URL using Quicksilver. Jason Snell has made a handy Applescript and I’ve modified it a bit so it can handle a long weird URL as well and you can grab it here then put the script under /Applications/ folder.

The script will grab any URL of Safari’s frontmost page and send it to TinyURL to be shorten and it’s automatically recorded in your clipboard.

Just watch the video so you will have a better understanding.

Post to Twitter Post to Delicious Post to Facebook Post to MySpace

←Older