Coding Packets Blog

Author Archives: Coding Packets Blog

2019 Year In Review

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...

Go Notes: Structs

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

Go Notes: Arrays

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...

Go Notes: Functions

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...

Go Notes: Variables

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...

JNCIS-SP

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...

Install Golang Ubuntu1804

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...
1 14 15 16 17 18 28