Kafka Cheat Sheet
Throughout my time working with kafka I have developed great software to use with it. But while the software did many things there are other things I still resorted to this cheat sheet for. I have put together this list of commands which I will keep updated here as I find new links and commands that help. My kafka installtion was under
/opt/kafka and you will need to change this to your path you installed kafka too. You can also create a symlink and just copy paste commands as they are after changing ip’s.
Geo Location Micro API Service
A micro api drop in service written in golang, Designed to quickly integrate into any system for any project. Uses very little resources and can handle millions of requests per second. The entire projects source code is posted on github.
You can include a package written for Golang projects to quickly get started with a simple function.[Read More]
Golang IP Formatting Package
Getting Started with Golang
Ultra minimal Raspbian Image for Pi Zero and Zero W
I wanted to make a ultra lite image that I can quickly drop Go programs onto. This image had a few requirements, be under 300MB, have less than 20MB ram usage idle, startup in under 5 seconds. I will post below everything I did to strip this down so that it can be replicated in the future. Currently with the steps below I have achieved 427MB/16MB, close to my goal for disk and memory usage is below the goal. As for bootup time, I am limited by network connection time 5+ seconds.
Install a fresh Raspbian Stretch Lite image into the SD card (source).
Configure headless SSH and Wi-Fi (if necessary) before starting the SD card (source).[Read More]
What can golang do?
Nothing makes a developer crazier than a new programming language, right? So, I started learning Go about 6 months ago and now I am going to share with you my reasons for doing so.[Read More]
Raspberry Pi Booting From USB on older models
Hobbyist 3d printer roundup of 2019
When we first entered 3d printing we started off quickly printing many and many objects. Slowly our printer started to die down once the printer began acting up. Our current printer the Robox rbx1 became the most pain in the ass printer we saw online. Everything was due to the proprietary software and the lack of 3rd party parts.
We started to try and simplify remote access by using Teamviewer and even went as far as to buy a CEL Root SD card. The CEL Root was even worse than our current methods. This is when we finally had it. We wanted an open source printer with a decent bed, 3rd party parts, and Octoprint support.
Together me and my team came up with the list of hobby printers under $2000. We’ll get a decent filament printer now and a small resin printer later.[Read More]
Cleaning up duplicates on NAS
Over the last year me and my wife have been using the network server more frequently from its initial install and setup. We share 3-4 computers across the house and constantly move files onto the NAS. I have installed Nextcloud which I will detail in another post in the future. We have come across an issue that I have noticed with the network share. We moved all of our images and files over and ended up with tons of duplicates and a giant mess. I will show you what I am doing to clean that up. Our Nas is running on a ubuntu server. The following commands should work on most linux NAS servers.[Read More]