2019 turned out to be a pretty productive year. At the start of the year I set
myself a few goals outlined in this post.
How did I stack up? Read on to find out.
2019 Goals
Loose 20kgs
I started out the year at 89.9kgs and wanting to lose 20kgs. I finished the year at 71.9kgs
a loss of...
A Structure or struct for short, is a type defined by the user that stores a
collection of fields.
go
// create a struct
type stuffAndThings struct
// Instantiate a struct
st := stuffAndThings
// Use the dot (.) operator to access struct fields
st.stuff
st.things
Arrays are a collection of values of the same type.
go
// create an array that can hold 2 elements
var stuff [2]string
// assign values to the array
stuff[0] = "blah"
stuff[1] = "bleh"
// shortcut to create an array and assign values
stuff := [2]string
// let the go compiler dynamically...
Functions group operations into a unit of code.
A function is defined with the func keyword
A function name, its parameters and return types make up a functions
signature
go
// Basic function that accepts no arguments and returns nothing
func stuff()
// Function that accepts an...
There are a number of methods to define variables in Go.
Considerations
Variable names must begin with a letter or a number
When a variable is declared but not yet assigned it has a default value for its type
A variable that is declared must be used
Constants can only be assigned at the...
Ubuntu 1804 server uses netplan
for network management. This post will cover how to create a bridge interface with
netplan in order to have multiple virtual
machines share the same physical interface.
Create the following /etc/netplan/01-netcfg.yaml
file in order to configure the bridge...
I recently passed the JNCIS Service Provider (JN0-361) certification exam
on my second attempt. This post will cover the materials and methods
I used to tackle this exam.
First Attempt
Juniper had a free cert day on the 17th of September 2019 here in
Australia. From the time it was...
In this post I will cover how to create a Juniper vQFX Vagrant box 18.4R1.8 for use with the
vagrant-libvirt provider. This is an update to a previous post
post
. Thankfully
Juniper has released newer versions of the vQFX vagrant boxes for the Virtual box provider that
can be utilized to...
In this post I will cover how to create a Juniper vMX 19.1R1.6 Vagrant box for use with the
vagrant-libvirt provider. This post is an update
to a previous post
post
that covers an earlier version.
Prior to installing the vMX there are some required steps to get the KVM host
prepped...
This will just be a quick post on how to install Golang on Ubuntu 1804. There will be no
earth shattering knowledge bombs, it's more of a documentation post for myself. Others
may or may not find it useful.
Code versions used for this lab
Ubuntu - 1804
Golang - 1.15.1
Download
Download...