PDA

View Full Version : The Scripts Shrine


abhinandh
09-08-2008, 11:28 AM
The place to post all useful linux scripts which make everyday tasks easier.

lemme first start by posting two scripts which myself and ray|raven made(while on the irc :D )

NOTE: Both the scripts have zenity as their dependancy for the gui


IMAGESHACK IMAGE UPLOAD

one click upload to imageshack.the script also get the thumbnail link , direct link and forum code to the image after upload

http://img295.imageshack.us/img295/7869/screenshoturlofimageyu2.png http://img212.imageshack.us/img212/7409/screenshotselectitemsfrje9.png

the picture to be uploaded is passed on as an argument or if you directly execute the script u get a file chooser.

nautilus script is also included which makes uploading into a one click process :)

download (http://dl.getdropbox.com/u/3113/imguploadfs)
download nautilus script
(http://dl.getdropbox.com/u/3113/imguploadn)

MPD CONFIGURE by ray|raven(me a tester :D)

A simple script to configure music playing daemon(mpd)

http://img363.imageshack.us/img363/8780/screenshotmpdconfigpb5.png

download (http://dl.getdropbox.com/u/3113/mpd_config.tar.gz)

T159
09-08-2008, 02:50 PM
very cool !
http://s269.photobucket.com/albums/jj44/visio159/Unismilies/69.png

there is something wrong with imageuploadfs
It just don't copy to the clipboard and yeah you left out some debugging alerts

zenity sure looks cool

gary4gar
09-08-2008, 11:18 PM
Can we have the source please, is your don't post that your threat does not deserve to be in this section of forum:p

mehulved
10-08-2008, 01:28 AM
Can we have the source please, is your don't post that your threat does not deserve to be in this section of forum:p
Download the file, unzip them if necessary then open your favourite text editor(yes even notepad.exe will do but it will mess up the formatting) and open the file in the editor.
These scripts are in bash, an interpreted language, not a compiled one.

gary4gar
10-08-2008, 01:57 AM
Download the file, unzip them if necessary then open your favourite text editor(yes even notepad.exe will do but it will mess up the formatting) and open the file in the editor.
These scripts are in bash, an interpreted language, not a compiled one.
Iceweasel wrongly reported this as a BIN file. so i asked.
now i have opened them in vi, its fairly easy process.

Thanks for script:D

QwertyManiac
10-08-2008, 05:51 AM
This must also go to http://gtk-apps.org/. Do submit it there!

abhinandh
10-08-2008, 08:57 AM
very cool !
http://s269.photobucket.com/albums/jj44/visio159/Unismilies/69.png

there is something wrong with imageuploadfs
It just don't copy to the clipboard and yeah you left out some debugging alerts

zenity sure looks cool

yea the script does not automatically copy to the clipboard.....it can be done but it would add an unnecessary dependancy.