Hundreds of datasets from libraries, archives, and museums

Douglas McCarthy and Andrea Wallace produced a survey of data access policies and data sources.  It’s in Google Docs and called the Survey of GLAM open access policy and practice [2.0]. It’s an excellent resource with the license terms and web locations of hundreds of datasets from libraries, archives, and museums.

CentOS 7 Repository for Owncloud Desktop Client

CentOS 7 Repository for OwnCloud desktop sync client is online. This application works well with Nextcloud.  Use (k)statusnotifieritem/appindicator extension and Topicons plus extensions in Gnome to ensure the icon works as it should. The Url is To add the repo, type the following command: yum-config-manager –add-repo

Desktop Shortcuts for Kids 5.2.1

This is the VBscript for shortcuts on Windows 10 that open in Edge browser. ‘ Desktop Shortcuts for Kids, for Windows 10 ‘ Robert Knight ‘ ‘ version 5 – July 2017 ‘ ———————————————————-‘ Option Explicit Dim wscript_shell_object Dim shortcut_working_directory Dim shortcut_save_location Dim shortcut_file_object Dim EXEC Dim ICON Dim DESCRIPTION Set wscript_shell_object = CreateObject(“WScript.Shell”) shortcut_working_directory =”C:\Windows” shortcut_save_location = wscript_shell_object.SpecialFolders(“Desktop”) Set shortcut_file_object = wscript_shell_object.CreateShortcut(shortcut_save_location & “\” & DESCRIPTION &…
Read more

Data to S3 with command line and encryption

This article details how to archive folders with their contents, encrypt the archives, upload them to S3, and remove the local copies.  A typical usage might be to archive the version of a website that I have with twenty thousand files on a certain date before changing the folder layouts of images for ten thousand images.

Try blocks in R for error handling

R scripts halt execution when an error is encountered.  When batch processing this produces situations where the error can not be merely skipped like it could in a .net application with  user involvement. To use Try() blocks for error handling in R, enclose the entire block of code in a try() block. try({ # Do some stuff here png(filename=args[3], width=900, height=300) # some more code here… })

Android Studio desktop icon

Android Studio for Linux needs a desktop icon.  This is a functioning one to place in ~/.local/share/applications. [Desktop Entry] Version=1.0 Name=Android Studio Comment=Software Development GenericName=AndroidStudio Exec=sh /opt/android-studio/bin/ Terminal=false X-MultipleArgs=false Type=Application Icon=/opt/android-studio/bin/studio.png Categories=Development; MimeType=text/html;text/xml;application/xhtml+xml Keywords=programming;java;android;ide; Name[en_US]=AndroidStudio

Yum update memory allocation issues

Yum Update Memory Allocation issues on 512M Virtual Machines: Create a Swap file: dd if=/dev/zero of=/swapfile bs=1024 count=655366 chmod 600 /swapfile mkswap /swapfile swapon /swapfile To disable and remove after updates are complete: swapoff -a rm -f /swapfile

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 as faxes, the file size becomes a problem due to email limitations.  Ghostscript can…
Read more