Stream audio over SSH

Posted by & filed under BASH, Linux.

Ok this is sweet:

ssh user@server.com “cat /Torrents/Complete/15\ years\ of\ Essential\ Mix\ Sasha\ \&\ Digweed/Essential\ Mix\ 137\ -\ Sasha\ -\ Live\ @\ radio\ 1\ on\ tour\ from\ Sanctuary\ -\ [30.06.1996].mp3” | mpg123 –

And here is a more advanced version to find multiple files (unworking)
ssh user@server.com “find /Torrents/Complete -wholename \*Essential\*.mp3 -print0 | xargs -0 cat” | mpg123 –

this finds fines in /Torrents/Complete and pipes them to mpg123

Google AJAX Library Hosting

Posted by & filed under Programming, Web Development.

The AJAX Libraries API is a content distribution network and loading architecture for the most popular, open source JavaScript libraries. By using the Google AJAX API Loader’s google.load() method, your application has high speed, globaly available access to a growing list of the most popular, open source JavaScript libraries including:

* jQuery
* jQuery UI
* Prototype
* script.aculo.us
* MooTools
* Dojo
* SWFObject
* Yahoo! User Interface Library (YUI)
* Ext CoreNew!
* Chrome FrameNew!
* WebFont LoaderNew!

Google works directly with the key stake holders for each library effort and accepts the latest stable versions as they are released. Once we host a release of a given library, we are committed to hosting that release indefinitely.
Handy!

code.google.com/apis/ajaxlibs/