## Installing DWM on Ubuntu 20.10 LTS

DWM is a dynamic, keyboard-driven, tiling window manager developed by Suckless. It’s a great, light-weight window manager that perfectly fits the bill for my malware analysis lab machine. Unfortunately, it isn’t a simple apt-get away in Ubuntu, but it’s still an easy process to get up and running. Here’s how it’s done. Installation First off, we need to install a few dependencies: 1sudo apt-get install build-essential libx11-dev libxinerama-dev sharutils suckless-tools libxft-dev stterm Once this is done, we can download the source for DWM, extract it, and fix the permissions:...

January 10, 2021 · 2 min · Adam Thompson

## Solving seVeb's Crackme05

A skill set that I haven’t quite had the chance to foster just yet is that of reverse engineering software. It’s not so much that I lack any fundamental understanding of high-level software development, low-level software concepts, or operating system concepts, but more that I just haven’t taken the time to practice and develop the skill. I’ve decided it’s time to change that! One of the ways I’ll be doing this is by working on crackmes....

August 23, 2020 · 18 min · Adam Thompson

## The Dining Philosophers Problem

The dining philosophers problem is a classic problem in the realm of computer science. If you’ve had any formal CS education you’ve more than likely seen the problem when learning about concurrent programming. Today we will take a look at the problem and look at an example of how we can solve it. The Problem Suppose you had a round table with five silent philosophers sat around the table. Between each pair of adjacent philosophers is a chopstick (so, 5 total chopsticks) and there is a bowl of rice in the center of the table....

August 21, 2020 · 7 min · Adam Thompson

## Adding a Custom Launcher to Gnome Shell

I have a long history of using Linux and it has always been my preferred operating system. Due to the needs of my photography workflow, however, I’ve been using Windows as my primary OS for the past few years. That’s until recently, however. While I don’t quite have the photography workflow fully figured out on Linux yet, I’m back to using it as my primary operating system for the first time in probably 5 years....

August 20, 2020 · 2 min · Adam Thompson

## Blocking Ads and Trackers with Pi-Hole

There are about a million different pieces of ad/tracker blocking software out there, all with various pros and cons. The most common of these come in the form of browser extensions. There are some great options out there, but there are certainly drawbacks to this extension approach. The biggest of these drawbacks is that you have to install the extension in all of your browsers on all of your computers for it to work across them all....

August 10, 2020 · 4 min · Adam Thompson

## Boolean Algebra Cheat Sheet

I previously posted a logic rules cheat sheet and figured it was about time that I do the same for boolean algebra. Expression Equivalent To Name of the Rule $$X + Y$$ $$Y + X$$ Commutative $$X \cdot Y$$ $$Y \cdot X$$ Commutative $$(X + Y) + Z$$ $$X + (Y + Z)$$ Associative $$(X \cdot Y) \cdot Z$$ $$X \cdot (y \cdot Z)$$ Associative $$X + (Y \cdot Z)$$ $$(X + Y) \cdot (Z + Z)$$ Distributive $$X \cdot (Y + Z)$$ $$(X \cdot Y) + (X \cdot Z)$$ Distributive $$X + 0$$ $$X$$ Identity $$X \cdot 1$$ $$X$$ Identity $$X + X'$$ $$1$$ Complement $$X \cdot X'$$ $$0$$ Complement $$X + X$$ $$X$$ Idempotence $$X \cdot X$$ $$X$$ Idempotence

April 20, 2020 · 1 min · Adam Thompson

## Logic Rules Cheat Sheet

When working with logic in discrete math appliations there are a plethora of rules you can use for working with the well formed formulas. Remembering them all can be a daunting task, which is why I like to have a cheat sheet available. As such, here’s a simple one that I like to use when working with these problems. Equivalence Rules Expression Equivalent To Name of the Rule $$P \lor Q$$ $$Q \lor P$$ Commutative - comm....

February 2, 2020 · 2 min · Adam Thompson

## Set Up WSL and Windows Terminal in Windows 10

I’ve had a long history of not being a fan of the Windows operating system. While Windows 7 was a decent release of the OS, version eight was an absolute dumpster fire and the early builds of Windows 10 weren’t much better. The more recent builds of Windows 10, however, have certainly started to win me over, especially when Microsoft surprised everyone by coming out with the Windows Subsystem for Linux....

January 14, 2019 · 5 min · Adam Thompson

## Creating an OpenCV 4 Project in Visual Studio 2017 & 2019

In my previous tutorial, I outlined how to build the OpenCV 4 library on Microsoft Windows 10. In that tutorial, however, I did not mention how to use that library in an actual project. This time around I will be showing you how to create an OpenCV 4 project within Microsoft Visual Studio 2017. Please note that I am going to assume that your OpenCV install is set up in the way I outlined in my previous tutorial....

December 24, 2018 · 5 min · Adam Thompson

## Installing OpenCV 4 on Windows 10

I love working with the OpenCV library, but it can be a royal pain in the butt to get it installed and running on your machine. This is especially true for Microsoft Windows. Despite a Google search turning up plenty of results for articles promising to show you how to do it, they all seem to have issues or be incomplete. This results in a rather frustrating experience when you just want to get things up and running....

December 24, 2018 · 7 min · Adam Thompson