High Quality compressed HPLIP scans

HPLIP produces scans far better than what I can accomplish on Windows, even with Adobe Acrobat Standard.  The Auto Document Feeder scans in 8.3 megapixel png files, and then hplip converts them to a multiple-page PDF of extremely high quality.  This is great for one page documents, but for 10 or 12 page documents, such…

Continue Reading

Compressing PDFs in Bash

I have scripts for hplip to scan PDF’s to folders using the ADF. These PDFs are very large. To convert these to smaller file-sizes for emailing, I added the following functions to .bashrc. mediumpdf() { read -p “Enter input PDF filename: ” name \ && gs -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 \ -dPDFSETTINGS=/printer -sOutputFile=medium-quality-$name $name; }…

Continue Reading

Taskfreak v.7.2

Taskfreak was a great web application developed years ago.  The main website doesn’t have updated versions and the software doesn’t work on many newer configurations.  To remedy this, I have created a v.7.2 fork at Github.  The fork has the SQL syntax corrected, and will contain some updates time goes by.

Continue Reading

2016-2017 Federal Aid Eligible in Warren County Kentucky

Here are the schools in Warren County, including both the county and independent school district, ranked by the number of low-income students for the school year ended in June 2017.  Eligible does not necessarily indicate poverty in relation to assets.  It refers to monthly dollar earnings, as expressed in the different occupational make up of…

Continue Reading

Office 2007 and Wine with dual prefix

When configuring Wine in the form in the previous article, the first prefix created may be 64-bit.  In this situation, e-sword installed correctly.  An issue presented itself when attempting to run Microsoft Office 2007 related to MSXML5 installation.  This issue prevents adding custom buttons to the quick access bar, adding the data analysis add-ons to…

Continue Reading

Pycharm 2017.3 launcher icon

Pycharm 2017.3 doesn’t create a launcher icon like 2017.2.  This must be created manually.  Here is a functional one. [Desktop Entry] Version=1.0 Name=Pycharm 2017.3.3 Comment=Software Development GenericName=Pycharm Exec=sh /opt/pycharm-community-2017.3.3/bin/pycharm.sh Terminal=false X-MultipleArgs=false Type=Application Icon=/opt/pycharm-community-2017.3.3/bin/pycharm.png Categories=Development; MimeType=text/html;text/xml;application/xhtml+xml Keywords=programming;python;ide; Name[en_US]=Pycharm The list of available categories so that it appears correctly in application menus is over at the page…

Continue Reading

32 Bit Wine on CentOS 7

This process is confirmed with Wine 2.0 and CentOS 7 (updated through December 31, 2017). As root: yum install samba-winbind-clients yum groupinstall ‘Development Tools’ yum install libjpeg-turbo-devel libtiff-devel freetype-devel yum install glibc-devel.{i686,x86_64} libgcc.{i686,x86_64} libX11-devel.{i686,x86_64} freetype-devel.{i686,x86_64} gnutls-devel.{i686,x86_64} libxml2-devel.{i686,x86_64} libjpeg-turbo-devel.{i686,x86_64} libpng-devel.{i686,x86_64} libXrender-devel.{i686,x86_64} alsa-lib-devel.{i686,x86_64} glib2-devel.{i686,x86_64} libSM-devel.{i686,x86_64} yum install glibc-devel libstdc++-devel icoutils openal-soft-devel prelink gstreamer-plugins-base-devel gstreamer-devel ImageMagick-devel fontpackages-devel libv4l-devel…

Continue Reading

Zip files and UUID from Bash

Two quick items for .bashrc.  The archive command takes a folder name and zips its contents.  The UUID produces a unique number easily. archive() { read -p “Enter folder name: ” name && zip -rv9 $name-$(\ date +”%Y-%m-%d-%H%M%p”).zip $name; } uuid() { UUID=$(cat /proc/sys/kernel/random/uuid) && echo $UUID; }

Continue Reading

Grub2 change with latest CentOS update

The previous article regarding configuring Grub 2 for Windows 10 no longer works with the latest CentOS updates.  Here is the newer one. File to edit: /etc/grub.d/40_custom Content to add: menuentry “Windows 10 (system) (on /dev/sda1)” –class windows –class os { insmod part_msdos insmod ntfs insmod ntldr set root='(hd0,msdos1)’ ntldr ($root)/bootmgr } Command to rebuild…

Continue Reading

Data science work station

As of October 2017, these installations on Cent OS 7 create a functional data science workstation. yum install epel-release yum install ImageMagick yum install python-pip yum install python-devel yum install tkinter yum groupinstall “Development Tools” yum install R pip install –user parsedatetime pip install –user matplotlib pip install –user cython pip install –user scipy pip install –user…

Continue Reading