View previous topic :: View next topic |
Author |
Message |
ld50 Tux's lil' helper
Joined: 13 Feb 2005 Posts: 135
|
Posted: Mon Jul 17, 2006 8:52 pm Post subject: Command-line interface to imageshack so you can share images |
|
|
Hi,
here's a little script so you can upload images to imageshack and share them with your geek friends.
http://student.dei.uc.pt/~smartins/imageshack.py
chmod +x imageshack.py and try it |
|
Back to top |
|
|
phate Apprentice
Joined: 22 Mar 2004 Posts: 298 Location: Aachen, Germany
|
Posted: Mon Jul 17, 2006 9:08 pm Post subject: |
|
|
Thanks, very useful, always wanted something like that |
|
Back to top |
|
|
opentaka l33t
Joined: 18 Feb 2005 Posts: 840 Location: Japan
|
Posted: Mon Jul 17, 2006 9:30 pm Post subject: |
|
|
Thanks, indeed very usefull _________________ "Being defeated is often a temporary condition. Giving up is what makes it permanent" - Marilyn vos Savant
|
|
Back to top |
|
|
blu3bird Retired Dev
Joined: 04 Oct 2003 Posts: 614 Location: Munich, Germany
|
Posted: Tue Jul 18, 2006 5:29 am Post subject: |
|
|
niceee
Code: | import -windowid root screen.jpg && imageshack.py screen.jpg && rm screen.jpg |
_________________ Black Holes are created when God divides by zero! |
|
Back to top |
|
|
ld50 Tux's lil' helper
Joined: 13 Feb 2005 Posts: 135
|
Posted: Tue Jul 18, 2006 3:08 pm Post subject: |
|
|
And then you can put it in ~/.xbindkeys
Code: |
"import -windowid root screen.jpg && kdialog --msgbox `imageshack screen.jpg` && rm screen.jpg"
m:0x0 + c:111
|
So when you press the PrtSc key a popup appears showing tou the image link.
You must have xbindkeys running.
If you don't use kde try zenity instead of kdialog. |
|
Back to top |
|
|
ld50 Tux's lil' helper
Joined: 13 Feb 2005 Posts: 135
|
Posted: Tue Jul 18, 2006 7:07 pm Post subject: |
|
|
another usefull thing is app-text/nopaste
it lets you paste thing's in rafb.net/nopaste
Code: |
$ cat /usr/src/linux/.config | nopaste
http://www.rafb.net/paste/results/blabla.html
|
|
|
Back to top |
|
|
dkure n00b
Joined: 20 Apr 2004 Posts: 51 Location: Sydney, Australia
|
Posted: Mon Jul 24, 2006 11:31 am Post subject: |
|
|
This is a great great script, thanks for sharing |
|
Back to top |
|
|
|