Bug bypass: vagrant ssh timeout for bento/ubuntu-16.04

‘vagrant ssh’ times out with bento box on old Ubuntu 14.04 Trusty. There is a simple fix. This short article details bypass for this bug step by step.

Posted in Uncategorized | Tagged , | Leave a comment

Ubuntu 16.04 Xenial Guest on Vagrant – vagrant init bento/ubuntu-16.04

Vagrant can install a virtual guest system in two minutes. Vagrant also configures guest SSH server automatically. To use latest Ubuntu 16.04 LTS Xenial, you should use box bento/ubuntu-16.04. $ vagrant init bento/ubuntu-16.04 $ vagrant up $ vagrant ssh That’s … Continue reading

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

PostgreSQL Install and One Table Database – SQL CRUD tutorial for Ubuntu

PostgreSQL is a popular database used often with Python Django, Python Flask and many other frameworks. It’s known for reliability and being very ACID. In this tutorial, you’ll learn to Install PostgreSQL Server and Client on Ubuntu Create, read, update … Continue reading

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

Fix Vagrant Locale Bug – Disable “AcceptEnv LANG LC_*” in sshd_config

Vagrant makes it very easy to provision virtual machines for testing. Incorrect locales are a common problem with some boxes. For example, PostgreSQL ‘createuser’ migth complain about locales, but only when used over ‘vagrant ssh’.

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

Make Moodle Main Content Full Width – GreaseMonkey User Script

A theme in an installation of Moodle was broken. The content was shown in a keyhole, surrounded by large white sorrow borders. This GreaseMonkey userscript fixes the issue. It overrides some CSS styles on target pages. You can use it … Continue reading

Posted in Uncategorized | Tagged , , , , , , , , | 1 Comment

VirtualBox and Vagrant on Ubuntu 14.04 LTS trusty – Fix for: virtualbox-dkms kernel module failed to build

VirtualBox and Vagrant fail to install on Ubuntu 14.04 LTS. You can fix this by installing them from DEB packages provided by the project.

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

GPS GeoLocation in Cordova and Android – add permissions to Android manifest

Where in the world is your cell phone? With Cordova, you can write your app in JavaScript, build an Android apk and sell it on Google Play. This article shows you how to use GeoLocation (GPS) from Javascript. We show … Continue reading

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

txvars – Start X Applications from Long Living Screen Sessions

Do your ‘screen’ sessions last for a week or a month? Do you like to start your X applications from the command line? You might need txvars. This article requires fluency with command line interface.

Posted in Uncategorized | Tagged , , , , , | Leave a comment
  • Picks

  • Boxing Clock for AndroidOcton8 Diving T-ShirtsShaking Tower Panda Android GameLearn Chinese with Android
  • Student projects