I recently created a simple React app for running different tax calculations (still a work in progress) called Calc Mate and decided to deploy it on a Linode instance I have running Nginx. Create a new nginx site configuration file for the react app Create a new configuration file for your application. sudo vim /etc/nginx/sites-available/calc-mate … Continue reading Serving a React app from Nginx
Author: Jonathan
p5.js Seven Digit Segment Clock
p5.js is an amazing JavaScript library that streamlines creating graphical applications in your browser. Learn more at https://p5js.org/ They also have an extremely useful online editor https://editor.p5js.org/ which I used for this example and the link to it will be below. The beautiful clock ResourceURLGithub source code for the displayhttps://github.com/jonathanmeaney/Seven_Segment_Display_Clockp5js editor version of displayhttps://editor.p5js.org/FugQueue/sketches/q8A2REallInspired by … Continue reading p5.js Seven Digit Segment Clock
Raspberry Pi – Unicorn Hat HD Clock
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
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
Useful Unix Commands for macOS or Linux
The following commands work on Unix based operating systems such as Linux and macOS and are executed in the terminal. Some of them will also work on the Windows command line but we're focusing on Unix based systems here. Command Description ls Lists the contents of the current directory ls -l Long list including additional … Continue reading Useful Unix Commands for macOS or Linux
You must be logged in to post a comment.