pyth0n3 Posted October 23, 2011 Report Posted October 23, 2011 (edited) Download:takep 1.0 dev.deb md5sum 4d8964434e05b6ad86d8375f875fc444 takep-1.0-dev.debUsage: takep with: -c capture a screen shot of your current window -a capture a screen shot of your desktop Description:Creaza un screenshot , folosind optiunea -a va face un screen la intreg desktop-ul , folosind optiunea -c va face un screen doar la terminalul de unde vine rulat.Urca imaginea pe omploader si genereaza in automat un link catre eaLink-ul vine direct copiat in memorie , va trebui doar facut paste dupa ce apare o notifica de genul : Screen-shot uploaded , Url Copied to the clipboardDependente: apt-get install libnotify-bin scrot curl grep sed xsel xwitExemplu folosind optiunea -a Vezi linkExemplu folosind optiunea -c Vezi link Edited October 23, 2011 by pyth0n3 Quote
adonisslanic Posted October 23, 2011 Report Posted October 23, 2011 Thx py, e super util cel putin pentru mine O_OEdit: Ai putea sa implementezi o functie cu care sa schimbi siteul? :\ Sau sa bagi mai multe optiuni de siteuri T_T Quote
pyth0n3 Posted October 23, 2011 Author Report Posted October 23, 2011 Download:takep-1.1-dev.debmd5sum 3a3785afad967a5b45291a1ec8fb8db2 takep-1.1-dev.debUrca imaginea pe imageshack.us si genereaza in automat un link catre eaLink-ul vine direct copiat in memorie , va trebui doar facut paste dupa ce apare o notifica de genul : Screen-shot uploaded , Url Copied to the clipboardInstall:sudo dpkg -i takep-1.1-dev.deb Quote
SticKyWoX Posted October 23, 2011 Report Posted October 23, 2011 Poti face un program asemanator pentru windows?Sau daca deja exista,imi poti da un nume?xD Quote
pyth0n3 Posted October 23, 2011 Author Report Posted October 23, 2011 Poti face un program asemanator pentru windows?Sau daca deja exista,imi poti da un nume?xDPt windows ar fi asta shackshagDaca iti pui Cygwin si cURL iti creez un script personalizat pt Windows Quote
pyth0n3 Posted October 23, 2011 Author Report Posted October 23, 2011 Basic screenshot maker + uploader Dependente: scrot , curl ,grepAm renuntat la cateva dependente sa poata fi folosit pe diverse sisteme Va genera link-ul in terminal Screenshot Maker + Uploader #!/bin/bash#Date:23.10.2011#Purpose: Screen && Upload Image , Automatically Generate URL to Share#Dependencies: #scrot -> http://freshmeat.net/projects/scrot/ #curl -> http://curl.haxx.se/ #grep -> http://www.gnu.org/s/grep/ #Author: pyth0n3 #Blog: http://pyth0n3.blogspot.com/IN=$1function display { echo "Usage: takep with: -c capture a screen shot of your current window -a capture a screen shot of your desktop -d wait num seconds befor taking a shot (Example: takep -d 3)" exit}if [ "$IN" = "-c" ]; then scrot -u /tmp/myscreen.jpg\ && curl -H Expect: -F fileupload="@/tmp/myscreen.jpg" -F\ xml=yes -# "http://www.imageshack.us/index.php" | grep image_link\ | grep -o http[^\<]* && rm -f /tmp/myscreen.jpg elif [ "$IN" = "-a" ]; then scrot -b /tmp/myscreen.jpg\ && curl -H Expect: -F fileupload="@/tmp/myscreen.jpg" -F\ xml=yes -# "http://www.imageshack.us/index.php" | grep image_link\ | grep -o http[^\<]* && rm -f /tmp/myscreen.jpg elif [ "$IN" = "-d" ]; then scrot -d $2 -c /tmp/myscreen.jpg\ && curl -H Expect: -F fileupload="@/tmp/myscreen.jpg" -F\ xml=yes -# "http://www.imageshack.us/index.php" | grep image_link\ | grep -o http[^\<]* && rm -f /tmp/myscreen.jpg else displayfiDownload:wget http://sprunge.us/CFVX -O takep.sh && cp takep /usr/local/bin/takep && chmod +x /usr/local/bin/takepJust Uploader:#!/bin/bashIN=$1#!/bin/bash#Date:23.10.2011#Purpose: Uploader, Generate URL to Share#Dependencies: curl , grep #Author:Pyth0n3#Blog:http://pyth0n3.blogspot.comfunction display { echo "Usage: takeup <path_to_picture> Example: takeup /home/user/picture_to_upload.jpg"}if [ "${IN##*.}" = "jpg" ]; then curl -H Expect: -F fileupload="@$IN" -F\ xml=yes -# "http://www.imageshack.us/index.php" | grep image_link\ | grep -o http[^\<]*else displayfiDownload:wget http://sprunge.us/MWOP -O takeup.sh Quote