Advent of Code Day 9

Advent of Code 2020 Map

For day 9, we’re trying to break a simple encryption scheme. Our input starts with a preamble of 25 numbers. From there, it continues with a series of additional numbers. Each number must be equal to the sum of any two of the previous 25 numbers. We’re trying to find the first number that doesn’t meet that rule.

Advent of Code Day 7

Advent of Code 2020 Map

Day 7 threw me for a loop. Basically what you have is a remake of the Matryoshka Dolls where you have a doll inside of a doll, only in this case it was bags within bags. We’re provided with a list of rules telling us which bags are within which bag. Ultimately we want to find how many bags can contain a “Shiny Gold Bag” within it.

Advent of Code Day 6

Advent of Code 2020 Map

So day 6 of Advent of Code was looking for you to help out a planeload of fliers with their customs forms. Our input file was a multi-line file where each line represented an individual person with groups separated by an empty line. To solve this problem, I decided to make use of the defaultdict function.

Advent of Code Days 1-5

Advent of Code 2020 Map

Once again, this year I decided to challenge myself to work on my python and complete The Advent of Code. My goal was to stick to each and every day, and for the most part, I was able to stick with that. Here is Days 1-5.

Making Use of Free Time

Advent of Code

So since this whole COVID-19 thing started, I’ve had a lot of free time on my hands. Yes, I’ve suddenly become a teacher (I’m taking care of my oldest, while Liz takes care of our youngest) but I am only working at the office one week out of every three. That gives me a lot of time. I decided among other things to work on my Python (a lot). So I went back to the 2015 Advent of Code and just started going away. So here are the first five days of the 2015 Advent of Code.

Recovering a RAID Disk

DNS-323

Many years ago I was looking for a network drive that I could attach to my home network to centrally save data. Life was good until a year or so ago when the NAS itself stopped working. I had used the drive for a variety of reasons, among them as a place to put all of our family photos.

Setting up Tripwire

tripwire --check

I was doing some research for my firewall project that I wrote about the other day and wanted to add some system monitoring. I figured that the server that I host signal-chief off of didn’t currently have any monitoring going so I would use that (cause why test in the lab when you can test in production?). The system I decided to use was Tripwire which is an opensource project that is part of the Epel Linux repo. I put this together with help from a couple of different tutorials that I found online and combined.

Building a Firewall

This post is probably going to be updated a few times as it’s a work in progress as I figure things out. As I’ve noted before a few times, I like to write things out as I figure them out so that I don’t have to research time and again. Today’s project, replacing a pfSense firewall with a Centos server and Firewalld.

I Hate Amazon

FYI, this post is more of a rant than anything else so feel free not to read it.  Many of you probably don’t know but I have a 10 year old daughter and a 6 year old son.  A few years ago for Christmas we bought them both these Kindle kids editions.  The thing is really just a normal kindle, but it comes with a plastic protector around it (which is actually pretty damn beefy) and more importantly, it comes preconfigured with their “Freetime” application that basically sandboxes the kids account and greatly limits what they can do and get to.  It also comes with free content like a number of applications as well as age appropriate books, etc.

Building a Centos Server Image

System Build Options

This is the first of what will be a number of posts on building out parts of a basic mission network.  This network will be based on Centos 7 (Linux), with an IPA server (Linux version of Active Directory), have a local patching server, and a number of there features.  Today’s article will focus entirely on the basic build of a Centos 7.0 system and will serve as the base system for all of the other lessons in the future