Linux Tools

PDF Poster

PDF Poster

Start with a wide long image. This is just a screen shot of my desktop. widescreen.png Convert it to postscript using convert from ImageMagick # install ImageMagick sudo dnf install ImageMagick convert widescreen.png widescreen.ps Use poster to chop and format the...

Scribus to PDF Print

Just using Scribus to design and print some lapel cards Regarding Scribus - It seems that the stable version will not run or install easily on Fedora 32 so I have had to make do with the Scribus Version 1.5.6.svn Beta. So after getting around the flakey behavior of...

Use FORCE INDEX

Just putting this here as I have a SELECT in MySQL that was taking 1.946 sec to return 20 records from a table with 159884 records when using a ORDER BY DESC on a DATETIME field Creating an index and changing the FROM to FORCE INDEX () dropped it down to 0.00079 sec /...

Using a git repo as a composer repository

So here is the link so I don't forget it https://getcomposer.org/doc/05-repositories.md#vcs Add your repo's URL into your composer.json in the repositories key and change the version on the original repo name to your dev-* version where * is a branch of your github...

glabels-3-batch on Fedora 25 segfault

The default glabels-3.4.x install on Fedora 25 through 29 segfaults when using the glabels-3-batch command. The following command fails: glabels-3-batch -o output.pdf -i crossdock-data.csv 150x200-crossdock-labels.glabels I found compiling from source with defaults...

Notes from PHP 5.x to PHP 7.1 Upgrade

PHP Install on Mac I use CakePHP 2 and 3 so they need intl and mcrypt brew install php71 --with-httpd24 brew install php71-imagick brew install php71-intl brew install php71-mcrypt Also I found that calling a function as follows fails # this PHP 5.x code calls a...

Booklet Printing in Linux

The Dream I want to create a booklet from a PDF file, like so:   I've been having trouble when I try to print Booklet format under Linux so I thought I would try to capture the settings I used in a blog post. Configure for Booklet in Adobe Reader & Print to...