Archive for the 'Apple' category

Using TextMate to process text lines

Aug 25 2010 Published by aaron under Apple, Programming

Recently I have been using one my favorite text editors on my mac to process some text lines. Below is a list of some commands I found useful:

Lowercase every character: tr [:upper:] [:lower:]
Sort the lines: sort
Show only unique lines: uniq

No responses yet

Using VLC to Convert WMA to MP3 for free

Jul 28 2010 Published by aaron under Apple, Music

I rarely need to convert files on my Mac, but when I do, I seem to think I have to find some type of weird audio program to help. My usual pattern to solve this problem was to go onto google.com and put in "convert wma to mp3" and hope for the best. But tonight was different. While playing around with the program VLC, I noticed a menu item that I have never used before: "Streaming/Exporting Wizard". This option allows for doing just as it suggests, but after playing around with some options, I found out that VLC can convert WMA files to MP3 files!

Here are the steps:

  1. Open the WMA file(s) in VLC
  2. Goto File -> Streaming/Export Wizard
  3. Choose "Transcode/Save to file" and click Next
  4. Choose "Existing playlist item" and highlight the items you want converted and click Next
  5. Because I was converting audio, I used the "Transcode audio" option
  6. Set the codec to "MP3" and choose your bitrate (I went with default of 192) and click Next
  7. Set your encapsulation to "RAW" and click Next
  8. Set your destination directory and click Next and it should start converting!

Afterwards I used Automator to rename my files from "Song Title.wma.raw" to "Song Title.mp3" by:

  1. Dragging the audio files onto Automator
  2. Adding "Rename Finder Items"
  3. Set the operation of the "Rename Finder Items" to "Replace Text"
  4. Find = .wma.raw
  5. Replace = .mp3
  6. Click Run!

No responses yet

iPad + Velcro

May 27 2010 Published by aaron under Apple, Food, Innovation, Organization

iPad + Velcro from Jesse Rosten on Vimeo.

No responses yet

organizing mail faster with keyboard shortcuts in snow leopard os x 10.6

Nov 02 2009 Published by aaron under Apple, Organization

I have been recently reading the book called Upgrade Your Life: The Lifehacker Guide to Working Smarter, Faster, Better, by Gina Trapini. In the book there are tons of suggestions on how to save time and headaches in your life. For myself, I have found the hacks to very rewarding! Somethings in my life are very tedious and need to be streamlined. Recently, I found that my email system needed a nice ironing. So, I did some quick google searches and did not find much help on how to move message really easy via the keyboard. Thus, I set out to find my own solution. That solution is keyboard shortcuts for os x mail. This helps in saving time, and here is how to implement it for one folder:

To make a short cut for moving a message to a folder:

  1. open system preferences
  2. select "keyboard" module
  3. select "keyboard shortcuts"
  4. select "application shortcuts" on the left side
  5. add a new entry for the "Mail" application
  6. make the menu title to be the exact spelling and capitolization as the folder you want to move messages to
  7. choose a keyboard shortcut (tip: use cmd+alt+ctrl+(letter) to avoid overlap)
  8. relaunch mail to recognize the shortcut(s)

update: I have noticed that sometimes, mail does not recognize the keyboard shortcut until after you have used the menu item. This is very upsetting.

Choose a message and hit your keyboard shortcut. Volia! I hope you saw your message dissapear. If not, I suggest you try picking a new keyboard shortcut and relaunching mail or making sure the shortcut is recognized. To verify if your shortcut is being recognized, try the following:

  1. open your mail application
  2. select the "Message" menu
  3. select "Move To" menu
  4. find the folder you are targeting with your shortcut
  5. check to make sure your menu has your shortcut next to it (refer to the screenshot below for an example)

menu-screenshot

No responses yet

My favorite iPhone games

Sep 29 2009 Published by aaron under Apple, Fun, iPhone

I have found some nice games that have captured my attention while looking to keep myself occupied in various moments of life:

No responses yet

Older posts »