Open Sublime Text 3 from Terminal on Mac OS X

I find myself relying more and more on Sublime Text for my coding needs and as such I’m always on the lookout for a shortcut for my everyday Mac needs (as you guys know from my AppleScript shortcuts a while back).

Here’s a quick way to launch your files/folders from Terminal in Sublime.

Continue reading

Advertisements

Stuck in Boot Loop on the Mac ?

Recently 2-3 friends have had this problem with their Macs. Maybe its a 3rd Party extension, or or add-on causing it, or maybe a hardware fault. Unfortunately, most of the time in India, if you take your Mac to your local Apple Third Party Reseller or Apple Authorized Service Provider, they will tell you that the only way to resolve this is to wipe your hard disk and by doing so you will lose all your data. But there are other ways….

Continue reading

My AppleScripts on GitHub

So I have been enjoying tinkering about in AppleScript this last week or so. So much so that I decided to start my very first .git and post all the tiny plugins and scripts that I create there.

Go check out my GitHub Applescript folder. You may find something useful there 🙂 

I’ve added all the scripts I’ve created so far on it. Here’s the list so far (I’ll keep updating this) ::

  1. Love or Learn Current Song Playing (lets you loop the current track on iTunes, and display the tabs/chords on UG)
  2. Make TinyURL from Clipboard
  3. Open Currently Playing Song in YouTube
  4. Play Random Song from iOS device
  5. Show-Hide Invisible Files in Finder

For people who are too lazy to make the applications themselves, I’ve also uploaded the applications created to the .git under each plugin. Download the .zip files, decompress them, and move them to the necessary script folders for them to work.

Start playing songs from your iOS playlist on iTunes automatically

I come from a very musically inclined family. We do everything to music. From the very first second we open our eyes every morning (to groovy iPhone alarms) we work to music, study to music, eat/cook to music. I could go on, but I think you get the picture. Lately I realized that the first thing I do every day at work login to my MacBook, connect my iPhone, open iTunes, and then start playing my work playlist. I started to wonder whether this whole process could be made easier (yes, I’m incredibly lazy), and decided I’d try to automate the entire process.

If you want to just get at the code, and don’t much care about the thought process/learning curve, the code is at the bottom in green. Jump ahead and start coding for your particular needs.

Continue reading

Safari – Merge Search & URL bar

The best part about Chrome (well, to me at least) is that the URL and Search bar is combined into one, and that bar knows when you mean to type a url and when you need to type in a google query. And now you can have that on Safari.

Safari OmniBar is free and open source. Its really easy to install too. Just follow the directions in the link below.

http://osxdaily.com/2011/08/05/safari-omnibar-combine-safari-url-and-search-bar/