Category Archives: Blog

Stata syntax highlighting in GEdit

Stata.lang file goes in ~/.local/share/gtksourceview-3.0/language-specs

Posted in Blog | Tagged , , , , | Leave a comment

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.

Posted in Blog | Tagged , | Leave a comment

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 https://robertknight.io/el7/robertknightio.repo To add the repo, type the following command: yum-config-manager –add-repo https://robertknight.io/el7/robertknightio.repo

Posted in Blog | Tagged , , , , | Leave a comment

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 ‘ bobby@rdknight.net ‘ 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”) […]

Posted in Blog | Tagged , , | Leave a comment

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.

Posted in Blog | Tagged , , , , , , , , , , , | Leave a comment

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 […]

Posted in Blog | Tagged , | Leave a comment

Search Helper with Vivaldi

I just updated Search Helper with a Vivaldi browser selection.  It works on Gnome 3.

Posted in Blog | Tagged , , , , , , , | Leave a comment

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/studio.sh 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

Posted in Blog | Tagged , , | Leave a comment

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

Posted in Blog | Tagged , , , , , | Leave a comment

STEM jobs in the United States

The number of science, technology, engineering, and math, STEM, jobs in the United States, shrank for the past three decades,1982-2012. The draw-down accelerated from 2000-2012. The highest occupational growth occurred among occupations with soft skills, with K-12 teaching and non-doctor health care support staff, such as nurses, technicians, and therapists. From 2000-2012, those in the […]

Posted in Blog | Tagged , , , | Leave a comment