Convertire da terminale pagina web in PNG o PDF

 

 

 

 

Questo è un trucchetto molto utile per ottenere la conversione di una pagina web in un file immagine PNG o PDF. Per ottenere ciò, per prima cosa serve un addons per Iceweasel/Firefox, dal nome, Command Line Print, che non si trova nella pagina ufficiale. Una volta installato, andare in Strumenti-Componenti aggiuntivi-preferenze di Command Line Print, e scegliere il formato di default per la conversione. La sintassi per la conversione è la seguente:

 

$ firefox -print https://www.example.com/ -printfile ~/prova.png

 

oppure:

 

$ firefox -print https://www.example.com/ -printfile ~/prova.pdf

 

 

enjoy 😉

Iceweasel 4 su Debian Squeeze/Wheezy

 

 

 

 

Come ottenere il nostro amato browser Iceweasel 4 appena nato? Semplice, basta aggiungere ad /etc/apt/sources.list:

 

deb https://mozilla.debian.net/ squeeze-backports iceweasel-4.0

quindi:

 

# apt-get update

# apt-get install -t squeeze-backports iceweasel

 

per importare la chiave:

 

$ GET https://mozilla.debian.net/archive.asc | gpg --import

$ gpg --export -a 06C4AE2A | sudo apt-key add -

 

una volta installato il nostro browser, toglere il repository.

 

enjoy 😉

Repository Debian Squeeze/Wheezy/Sid Marzo 2011

 

 

 

Repository per Debian Squeeze-Wheezy-Sid, ufficiali e di terze parti, aggiornati al 20 Marzo 2011.

 

 

Debian Squeeze (stable):

 

################  Repo Debian Squeeze Ufficiali ############

deb https://ftp.it.debian.org/debian/ squeeze main contrib non-free
deb-src https://ftp.it.debian.org/debian/ squeeze main contrib non-free

deb https://security.debian.org/ squeeze/updates main contrib non-free
deb https://ftp.it.debian.org/debian/ squeeze-proposed-updates main contrib non-free



###############  Repo Debian Backports ##########

deb  squeeze-backports main


##############  Squeeze-updates  ##############

deb https://ftp.debian.org/debian/ squeeze-updates main contrib non-free


###############  Repo Debian Squeeze terze parti ##########

#### Debian Multimedia
deb  squeeze main
deb-src  squeeze main


#### Bimoid - messenger
deb https://www.bimoid.com/debian/ stable non-free

#### Dotdeb - repository for Debian-based LAMP servers
deb https://packages.dotdeb.org oldstable all

#### Google Linux repository
deb  stable non-free main

#### E17
deb  squeeze main extras

#### Esmska
deb https://repo.palatinus.cz/stable /

#### Skype 32bit
deb  stable non-free

#### Skype 64bit
#leggere questo link
#https://www.edmondweblog.com/index.php/2010/11/29/skype-per-debian-squeezesid-amd64/

#### Opera
deb https://deb.opera.com/opera/ squeeze non-free

#### VirtualBox
deb https://download.virtualbox.org/virtualbox/debian squeeze contrib

#### Wine
deb https://www.lamaresh.net/apt squeeze main

#### aMule-AdunanzA i386-amd64
deb https://deb.matteobonora.it/debian squeeze main

####Hadret’s Debian
deb  unstable main

#### Edmond kernel repository
deb https://www.edmondweblog.com/repo/ binary/

 

 

Debian Wheezy (testing):

 

################  Repo Debian Wheezy Ufficiali ############

deb https://ftp.it.debian.org/debian/ testing main contrib non-free
deb-src https://ftp.it.debian.org/debian/ testing main contrib non-free

deb https://security.debian.org/ testing/updates main contrib non-free
deb https://ftp.it.debian.org/debian/ wheezy-proposed-updates main contrib non-free


###############  Repo Debian Wheezy terze parti ##########

#### Debian Multimedia
deb  testing main

#### Bimoid - messenger
deb https://www.bimoid.com/debian/ stable non-free

#### Google Linux repository
deb  stable non-free main

#### E17
deb  squeeze main extras

#### Esmska
deb https://repo.palatinus.cz/testing /

#### Skype
deb  stable non-free

#### Skype 64bit
#leggere questo link
#https://www.edmondweblog.com/index.php/2010/11/29/skype-per-debian-squeezesid-amd64/

#### Opera
deb https://deb.opera.com/opera/ squeeze non-free

#### VirtualBox
deb https://download.virtualbox.org/virtualbox/debian squeeze contrib

#### Wine
deb https://www.lamaresh.net/apt squeeze main

#### aMule-AdunanzA i386-amd64
deb https://deb.matteobonora.it/debian wheezy main

####Hadret’s Debian ppa
deb  unstable main

#### Edmond kernel repository
deb https://www.edmondweblog.com/repo/ binary/

 

 

Debian Sid (unstable):

 

################  Repo Debian Sid Ufficiali ############

deb https://ftp.it.debian.org/debian/ sid main contrib non-free
deb-src https://ftp.it.debian.org/debian/ sid main contrib non-free 


###############  Repo Debian Sid terze parti ##########

#### Debian Multimedia
deb  sid main

#### Bimoid - messenger
deb https://www.bimoid.com/debian/ stable non-free

#### Google Linux repository
deb  stable non-free main

#### E17
deb  sid main extras

#### Esmska
deb https://repo.palatinus.cz/unstable /

#### Skype
deb  stable non-free

#### Skype 64bit
#leggere questo link
#https://www.edmondweblog.com/index.php/2010/11/29/skype-per-debian-squeezesid-amd64/

#### Opera
deb https://deb.opera.com/opera/ sid non-free

#### VirtualBox
deb https://download.virtualbox.org/virtualbox/debian squeeze contrib

#### Wine
deb https://www.lamaresh.net/apt sid main

#### aMule-AdunanzA i386-amd64
deb https://deb.matteobonora.it/debian sid main

####Hadret’s Debian ppa
deb  unstable main

#### Edmond kernel repository
deb https://www.edmondweblog.com/repo/ binary/

 

 

Debian Experimental:

 

### Experimental
deb https://ftp.it.debian.org/debian experimental main

 

 

Importare chiavi GPG

 

 

Multimedia:

# apt-get update && apt-get install debian-multimedia-keyring && apt-get update

 

E17:

# wget -q  -O- | apt-key add -

 

Esmka:

# wget -q -O - https://repo.palatinus.cz/repo.key | apt-key add -

 

Skype:

# gpg --keyserver pgp.mit.edu --recv-keys 0xd66b746e
# gpg --export --armor 0xd66b746e  | apt-key add -

 

VirtualBox:

# wget -q https://download.virtualbox.org/virtualbox/debian/oracle_vbox.asc -O- | apt-key add -


Wine:

# wget -O - https://www.lamaresh.net/apt/key.gpg | apt-key add -

 

Opera:

# wget -O - https://deb.opera.com/archive.key | apt-key add -
$ wget -O - https://deb.opera.com/archive.key | sudo apt-key add -

 

Hadret’s Debian ppa:

# wget -O -  | apt-key add -

 

Bimoid:

# wget -O - https://www.bimoid.com/debian/apt.key | apt-key add -

 

Dotdeb;

# wget -q -O - https://www.dotdeb.org/dotdeb.gpg | apt-key add -

 

Google Linux repository:

# wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add -

 

aMule-AdunanzA i386-amd64:

$ gpg --keyserver hkp://subkeys.pgp.net --recv-key D45A244D
$ gpg -a --export D45A244D | apt-key add -

 

enjoy 😉

Deb kernel 2.6.38_i386_amd64 per Debian/LMDE

 

 

In contemporanea con la festa dell' Unità d' ITALIA, ho aggiunto nel mio repository i kernel 2.6.38 per architettura i386 e amd64. Le novità sono tante e succulente, partendo dall'inclusione della famosa patch dei miracoli, all ’accesso agli snapshot “read only” di Btrfs, fino all'introduzione del supporto alle nuove CPU/GPU AMD Fusion.

Auguro a tutti gli Italiani ed a tutti i DEBIAN/LMDE users una buona festa 🙂

 

#### Edmond's repository
deb https://www.edmondweblog.com/repo/ binary/

 

enjoy 😉

Come ottenere un Terminale animato

 

 

Trucchetto divertente per ottenere un terminale animato in ASCII, nello specifico trattasi di un acquario. Come requisito fondamentale bisogna installare Perl:

 

$ sudo apt-get install libcurses-perl

 

e Term-Animation-2.4, il pacchetto .deb per le architetture amd64 e i386 si trova anche nel mio repository:

 

#### Edmond's repository
deb https://www.edmondweblog.com/repo/ binary/

 

quindi installarlo con:


$ sudo apt-get install term-animation

e passare ad installare ASCIIQuarium, altrimenti  compilare con questi passi:
 

$ cd /tmp

$ wget https://bo.mirror.garr.it/mirrors/CPAN/authors/id/K/KB/KBAUCOM/Term-Animation-2.4.tar.gz

$ tar -zxvf Term-Animation-2.4.tar.gz

$ cd Term-Animation-2.4/

$ perl Makefile.PL

$ make test

$ sudo make install

poi serve scaricare ASCIIQuarium:

 

$ cd /tmp

$ wget https://www.robobunny.com/projects/asciiquarium/asciiquarium.tar.gz

$ tar -zxvf asciiquarium.tar.gz

$ cd asciiquarium_1.0/

$ sudo cp asciiquarium /usr/local/bin

$ sudo chmod +x  /usr/local/bin/asciiquarium

 

per avviarlo:
 

$ /usr/local/bin/asciiquarium

oppure:
 

$ perl /usr/local/bin/asciiquarium

 

 

enjoy 😉
 

Wikipedia via terminale con host dig ed espeak

 

Questo comando serve ad interrogare il DNS di Wikipedia, e quindi ottenere un output su un termine specifico di ricerca.

 

 

$ dig +short txt debian.wp.dg.cx | espeak -s 120

 

oppure:

 

$ host -t txt debian.wp.dg.cx | espeak -s 120

 

 

enjoy 😉

Repository Dropbox per Debian Squeeze

 

 

Dato che nei repository ufficiali Debian, Dropbox non è presente, volevo segnalare che nel mio Repository, sono presenti le versioni amd64 ed i386 di nautilus-dropbox_0.6.7-1. Sperando sia di gradimento 🙂

 

#### Edmond's repository
deb https://www.edmondweblog.com/repo/ binary/

 

enjoy 😉