Cheat-sheet for versatile interpreter GhostScript. It can be used to tweak, convert, produce high quality Postscript and PDF files.
Convert postscript (ps) to pdf: gs -q -dBATCH -dNOPAUSE -sDEVICE=pdfwrite -sOutputFile=fileout.pdf filein.ps
Merge ps and/or pdf: gs -q -dBATCH -dNOPAUSE -sDEVICE=pdfwrite -sOutputFile=fileout.pdf filein1.ps filein2.pdf filein3.pdf
Extract page(s) from a ps or a pdf document:gs -q -dBATCH -dNOPAUSE...
Cheat Sheets
Jul 21, 2012
(adsbygoogle = window.adsbygoogle || []).push({});
Cheat sheets in this blog are not static posts and they keep getting updates from time to time. Here is the list of cheat sheet (from this blog) for different applications:
Useful \(\LaTeX\) tricks
BibTex hacks
Git - distributed version control system
GhostScript - an interpreter for the PostScript language and PDF
Infrequent Linux commands
Emacs - A highly customizable...
Where did my disk space go?
May 11, 2012
Have you ever noticed missing disk space on newly bought hard disks? Here are some possible reasons:
Unit confusion: The most common confusion in between GB/GiB or MB/MiB.
Reserved space in linux partitions.
Filesystem overheads.
Unit Confusion
Many people have questions like: Why my 1 TB hard disk shows only 930 GB? This is purely a confusion of units and bases used when words like 'kilo', 'mega' etc. are used. Following...
Wireless power management in Ubuntu
Feb 15, 2012
Tested on: Ubuntu 11.04 (natty)
I have been experiencing extremely slow network connection whenever my laptop has been on battery. Speedtest results showed a 50 fold speed reduction when my laptop was on battery. I speculated that lower speed has to do with power-management, which reduces network speed in order to save battery. Ubuntu, like other operating systems, also has power management options installed by default. There...
vsftpd behind router/firewall
Jan 28, 2012
Tested on: Ubuntu 11.04 (natty)
This is how I got vsftpd server work behind a router. If you are getting errors like "Server sent passive reply with unroutable address. Using server address instead." or "500 illegal port command" on list (ls) command, this post might help. Setting passive mode configuration correctly is the trick.
Please note that this may not be the perfect solution or even worse - not very secure. Read vsftpd.conf...
Subscribe to:
Posts (Atom)