My Ride
Started: Friday 24th May 2013 7:19am
Distance: 11.32km
Duration: 00:28:08
Rest Time: 00:08:46
Climb: 92m
Max Speed: 45.72kmph
Average Speed: 24.14kmphInstagrams
-
Recent Posts
Recent Comments
- Arie on Tag Time: CakePHP Tag Plugin
- Paul on Sign Me Up A CakePHP User Registration Plugin
- Paul on Sign Me Up A CakePHP User Registration Plugin
- Watch The Big Bang Theory season 6 episode 13 on On My Tv: With Trakt.tv
- veloura et bellagenix on Ultimate Guestbook Tutorial: How to build a Guestbook with a honeypot, error checking, IP banning, pagination, e-mail notification and smilies with PHP and mySQL
Archives
- February 2013
- December 2012
- September 2012
- July 2012
- January 2012
- September 2011
- August 2011
- February 2011
- January 2011
- November 2010
- October 2010
- August 2010
- June 2010
- May 2010
- April 2010
- March 2010
- February 2010
- January 2010
- December 2009
- November 2009
- October 2009
- September 2009
- August 2009
- July 2009
- June 2009
- May 2009
- April 2009
- March 2009
- February 2009
- January 2009
- December 2008
- November 2008
- October 2008
- September 2008
- August 2008
- July 2008
- June 2008
- May 2008
- April 2008
Categories
Meta
Open Files from Terminal
August 20, 2009,
667 views
Alot of the time I find myself working in terminal, doing what not in a directory, and want to open files in my IDE. I would pretty much have to open up finder and then find the file, that i was looking at terminal. Then a brain wave came about. So i made a quick bash script that simply allows me to type in edit “filename” and it will open in my IDE, which happens to be Coda.
#!/bin/bash
open -a "Coda" $1
Put this in your /usr/bin folder, run a sudo chmod +x to make it executable, and you should be able to now run edit “filename”. Of course if you use another IDE just replace Coda with whatever you use, or whatever it is in your applications folder!





