sobota, 11 czerwca 2016

Free business card in Linux

Darmowe projektowanie Wizytówki w systemie linux
I need to make few business cards and I'd like to try designing them myself. Say yes, Linux have solutions.
QtQR is based and relies on Qt Python and the python-qrtools QR Code encoder and decoder (from file or webcam) i will use iiiit to generate QRCODE like this



QtQR
sudo dpkg -i qtqr_1.2_all.deb
sudo dpkg -i python-qrtools_1.2_all.deb


gLabels Label Designer is a GNU/Linux program for creating labels and business cards. It is designed to work with various laser/ink-jet peel-off label and business card sheets that you’ll find at most office supply stores. gLabels is free software and is distributed under the terms of the GNU General Public License (GPL).
Just download gLabels and dpkg -i`t


Other Tool:
https://inkscape.org/ Inkscape is professional quality vector graphics software

Scribus Professional layout and publishing software supporting EPS and SVG import/export, and PDF support. [GNU GPL]


Linux 3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt25-2 (2016-04-08) x86_64 GNU/Linux
cat /etc/apt/sources.list

deb http://ftp.pl.debian.org/debian/ jessie main non-free contrib
deb-src http://ftp.pl.debian.org/debian/ jessie main non-free contrib

deb http://security.debian.org/ jessie/updates main contrib non-free
deb-src http://security.debian.org/ jessie/updates main contrib non-free

# jessie-updates, previously known as 'volatile'
deb http://ftp.pl.debian.org/debian/ jessie-updates main contrib non-free
deb-src http://ftp.pl.debian.org/debian/ jessie-updates main contrib non-free
deb http://repository.mein-neues-blog.de:9000/ /

deb http://http.debian.net/debian/ jessie-backports main

czwartek, 9 czerwca 2016

Download an entire website using wget

wget --random-wait -r -p -e robots=off -U mozilla http://www.example.com
Functions: wget Download an entire website using wget
-p parameter tells wget to include all files, including images.
-e robots=off you don't want wget to obey by the robots.txt file
-U mozilla as your browsers identity.
--random-wait to let wget chose a random number of seconds to wait, avoid get into black list.

Other useful wget parameters:
--limit-rate=20k limits the rate at which it downloads files.
-b continues wget after logging out.
-o $HOME/wget_log.txt logs the output
Other resourcess:
man wget
If U have wget U have man wget also (*correct Me if I wrong)

środa, 8 czerwca 2016

commandline fu

sudo !!

Run the last command as root
Useful when you forget to use sudo for a command. "!!" grabs the last run command.
mount | column -t

nice layout in currently mounted filesystems