Launch VirtualBox VM with a .desktop file
Ubuntu .desktop files are easy to create with a simple text editor
2017-11-09 by rp
VirtualBox is a great, free, virtual machine engine. However, its multiple monitor capabilities are a little prickly. Launching the VM with one monitor when the settings are set for two monitors is sometimes troublesome. The problem is easy to fix: just change the VM settings to one or two monitors. But it's annoying to have to remember to do that. This post shows how to resolve this challenge with a couple of simple Ubuntu .desktop files.
Ubuntu 17.04 connects to network but not the Internet
I'm not sure what I did to fix it, but it works now!
2017-11-12 by rp
An Ubuntu 17.04 VirtualBox VM, (running from an Ubuntu 16.04 host) suddenly stopped connecting to the Internet. The last time it was running all was well; then one day, at boot-up, it couldn't connect to the Internet. Other Ubuntu VMs internet connections worked just fine. This wasn't a problem with the host, it appeared to be isolated to the one VM.
How to reset MariaDB's root user password
Don't freak out--this isn't a very challenging task
2017-11-13 by rp
It's late at night and you just need to do a little work with MariaDB (or MySQL) but you've completely forgotten the
root password. With a little command line effort, this is an easy problem to solve.
How to refresh a MySQL database on a remote server with SCP and SSH
Pushing a fresh copy of a MySQL or MariaDB database is snap with a simple Bash script
2017-12-09 by rp
When a project is in development you often need to copy a new instance of a MySQL refresh the server's database with the latest dev copy. This post provides a couple of Bash scripts to do that easily to and from the dev computer.
How to manually install an app on Ubuntu
Avoid conflicts and ensure you're getting the lastest version
2018-01-27 by rp
Installing an app manually on Ubuntu isn't hard, but it's fiddly. Especially for Ubuntu rookies. However, if you take your time and pay attention to the details it's quite doable. This example shows how to install Firefox Developer Edition manually, but the instructions work for other Ubuntu applications.
A Bash script to install Firefox Dev Edition
Although this script is specifically for installing Firefox Dev Edition, it could easily be modified for other apps.
2018-02-03 by rp
Another post on this blog explains how to install an Ubuntu app manually. While it's good to know what's going on with all those steps, this post puts all of that that article discusses into a reusable Bash script. This makes it very easy to keep an app like Firefox Dev Edition refreshed.
Using grep, curl, and tail to scrape data from a Web page
Use Linux utilities to automate the boring, and error-prone, things
2018-02-04 by rp
Linux includes a ton of great utilities that make Bash scripts better. This post looks at how to use Curl, Grep, and Tail to fetch the latest release number of Firefox Developer Edition to automate its installation.