View posts for Tag: "download"

New Release: Eject Volume v0.3

Eject Volume v0.3 is out. As always, you can download it here. Besides the slight redesign, it offers three new features, namely the volume icons, support for network volumes and an “Eject All” button. It’s a major rewrite of the original code, which makes it more modular and faster. The handling of the volumes is now done via a Cocoa widget-plugin that improves speed and makes listing and ejecting of volumes more stable. Have fun with it!

Sorry, comments are closed for this post.

Eject Volume v0.2

Today, I’ve released version 0.2 of my Eject Volume dashboard widget for Mac OS X. It’s a bugfix release that fixes some bugs, which I encountered lately. Since its release in February 2009, the version 0.1 of Eject Volume has been downloaded over 10.000 times and was recently even blogged about as useful utility on some other sites. Not bad for two hours of work :-).


Introducing Eject Volume

I’ve written my first MacOS X Dashboard widget today. It’s called Eject Volume and provides a handy way to eject volumes which are mounted on your system. More information about the widget and a download option is provided here.

Eject Volume Screenshot


How to download videos from YouTube

YouTube is the world’s #1 source for more or less funny or interesting videos. Unfortunately YouTube does not offer any options to download the videos from their site. YouTube even hides the direct links to their video resources. Even though it’s quite easy to find a download link for the real .flv videos:

  • Just go to the site where your desired video is i.e. .
  • View the source code of the site and search for a section that starts with “swfArgs”.
  • From this section you need the values for “video_id” and “t” (i.e. “video_id”: “dsfaAfdaAfs” and “t”: “sdfkljasldfjlkasflshdfjaiosjjsknfjkhJhjdf”)
  • With these values you should be able to call “<your video_id value>&t=<your t vlaue>” and to download your desired video.

I’ve made a little shell script for Linux and Mac that does all the searching stuff for me and that returns the url to the video source.


if [ $1 == "" ]; then echo -e "$0: No URL specified\nUsage: $0 <url>\n"; exit 1; fi

which curl > /dev/null
if [ "$?" == 0 ]; then GET_COMMAND=curl
  which wget > /dev/null
  if [ "$?" == 0 ]; then echo "Didn't find curl nor wget. Exiting."; exit 1;
    GET_COMMAND=wget -O ytf| cat ytf; rm ytf;

# Use GNU version of sed on Darwin/OS X
if [ `uname -s` == "Darwin" ]; then SED=gsed;
else SED=sed; fi

RELEVANT_DATA=`$GET_COMMAND $1 | grep 'swfArgs' | $SED 's/,/\n/g'`
VIDEO_ID=`echo "$RELEVANT_DATA" | grep 'video_id' | $SED 's/"//g' | $SED 's/ //g' | $SED 's/:/=/g'`
T=`echo "$RELEVANT_DATA" | grep 't"' | $SED 's/"//g' | $SED 's/ //g' | $SED 's/:/=/g'`


if [ "$VIDEO_ID" != "" ] && [ "$T" != "" ]; then echo $LINK; exit 0;
else echo "Couldn't retrieve the needed data from the specified URL."; exit 1;

To run the script correctly the GNU version of “sed” is needed.

Sorry, comments are closed for this post.