15 April 2012

Get an url music stream to your favorite player using klipper actions.

I normally use different browsers. Some of them don't handle well some types of urls for radio stations, so I had to copy the url and feed it to a player using the command line.

I got tired of doing it, so I configured an action on klipper to allow me to send the copied url directly to the player.


The action is as simple as 
"vlc  %s"
under the http filter, inside klipper settings > actions


Now I don't depend on the browser to launch the music stream on the player I want.


12 April 2012

Simple script to extract links from pdf docs.

for i in `ls *pdf`; do echo "----------- $i ----------" ;pdftotext -nopgbrk $i - |  egrep -i http  -C 1 ; echo "";  done

Too Cool for Internet Explorer