I recently got the excellent Unicorn Hat HD for my Raspberry Pi and its a lot of fun. I created a simple clock program using python to display the current time and date with an animated row to indicate the number of seconds completed in the current minute. It can be left running as it … Continue reading Raspberry Pi – Unicorn Hat HD Clock
Author: Jonathan
Basic React Component Structure and Concepts
This post is just a quick overview of some of the basics of React development, shedding light on component basics and some of the technologies and terms used in React development. You can think of a React component as a piece of the UI in your application. A User Interface can be broken into small, … Continue reading Basic React Component Structure and Concepts
Basic Brunch Example
Setting up a new React app with correct dependencies and tools can be a pain, and sometimes it seems like getting things set up is the hardest part! Anything that can can make this simpler is a godsend and thats where Brunch comes in. If you want a quick overview of React I have a … Continue reading Basic Brunch Example
Docker Commands
Command Description docker attach Attach the shell's input/output/error stream to the container docker build Build a Docker image based on a provided Dockerfile docker cp Copy files between container and host docker exec Execute a command in a running container docker images List image available to your installation of docker docker info Display information about … Continue reading Docker Commands
Random Ruby Bits
Merge and sum hash of hashes hash1 = { :employee1 => { :val1 => 20, :val2 => 10, :val3 => 50, :val4 => 30 }, :employee2 => { :val1 => 30, :val2 => 40, :val3 => 60, :val4 => 10 }, :employee3 => { :val1 => 70, :val2 => 60, :val3 => 10, :val4 => … Continue reading Random Ruby Bits
Using the MySQL Command Line Interface
There are many graphical packages available to view MySQL data and perform database operations. You might not always have the ability to install a graphical package to work with the database so when you don't you can use the command line interface which is just as powerful and must faster! Command Line Interface You can … Continue reading Using the MySQL Command Line Interface
Installing MySQL on Ubuntu 16.04
Installing MySQL on Ubuntu is very straight forward using the command line package manager Apt. The following steps should be executed from the terminal. Installing MySQL First of all make sure the apt package manager is up to date by running the following command. sudo apt-get update This should just take a few moments and when … Continue reading Installing MySQL on Ubuntu 16.04