How to Open a Website from Terminal
Every once in a while I want to open a website from the terminal ... just because. Maybe it's because it makes me feel just a bit more hardcore, you know, not clicking a GUI icon. Anyways, opening a browser via the command line is dead simple:
open https://davidwalsh.name
That execution will open the URL in the system's default browser. If your prefer a specific browser, you can so specify:
open -a "Google Chrome Canary" http://cnn.com
Open a URL from the command line -- you'll feel like a true pro.
![LightFace: Facebook Lightbox for MooTools]()
One of the web components I've always loved has been Facebook's modal dialog. This "lightbox" isn't like others: no dark overlay, no obnoxious animating to size, and it doesn't try to do "too much." With Facebook's dialog in mind, I've created LightFace: a Facebook lightbox...
![Vibration API]()
Many of the new APIs provided to us by browser vendors are more targeted toward the mobile user than the desktop user. One of those simple APIs the Vibration API. The Vibration API allows developers to direct the device, using JavaScript, to vibrate in...
![Comment Preview Using MooTools]()
Comment previewing is an awesome addition to any blog. I've seen really simple comment previewing and some really complex comment previewing. The following is a tutorial on creating very basic comment previewing using MooTools.
The XHTML
You can set up your XHTML any way you'd like.
![Fancy Navigation with MooTools JavaScript]()
Navigation menus are traditionally boring, right? Most of the time the navigation menu consists of some imagery with a corresponding mouseover image. Where's the originality? I've created a fancy navigation menu that highlights navigation items and creates a chain effect.
The XHTML
Just some simple...
Like i child…
Since aliasing
gitwww
to open the current github repo’s home page, ive saved prob. 2 mins/day. Plus is saves my fingers a trip to the mouse!could you share how you made the alias dynamic to access the current repo’s homepage?
I thought you’re gonna use lynx :))
open didnt work :(
but start did :) in windows environment
Heh, you got me there! I thought you wrote an article about lynx :-) Thanks for sharing though, it’s especially useful when grabbing stuff using curl or wget…
these days in zsh on OSX you need to wrap the url in quotes