This year I was tipped off to the SANS Holiday Hack Challenge and holy smokes this is awesome. I just started earlier today and I've already made my way through a handful of objectives and learned a few new things. I highly recommend checking it out if you're interested in …
Articles by William Brawner
Dark Mode Aware Live Wallpaper
Recently I’ve been playing around with an iOS device, and one of the things I found I really liked was the ability to set a wallpaper that would change depending on whether or not the device had dark mode enabled.
I use a Pixel phone though, so this doesn …
Cross Platform Apps The Hard Way - Part 3: Surrender
I've been debating on whether or not to write this post for a few months now but I think it's time. I've decided to put the cross-platform apps with C development series on hold indefinitely. This year has of course been crazy with the covid-19 quarantine and social justice movements …
PiHelper: A Native Companion App for your Pi-hole
Ads are an unfortunate byproduct of the freemium internet that we've collectively chosen through our actions, and worse yet are the trackers they've inspired to follow everyone around our online lives. As someone who values their online privacy, I was elated to stumble upon Pi-hole, a network-wide ad blocker. Sure …
Converting Google Calendar Links to iCal
Recently I stumbled upon a Google support thread that outlines how to convert a Google calendar link into an iCal subscription link. The reason this is so important is that it allows you to subscribe to a Google calendar via any other sort of caldav client including Nextcloud or the …
Reading Files from a Tar Archive
TIL you can quickly read files from a tar archive with this command:
tar xOf <tar-file> <file-you-want-to-read-here>
This works even if the file is compressed. You can get a list of all the files in the archive by running this:
tar tf <tar-file>
Moving to cgit
Earlier this year I wrote a blog post on how to set up gitweb in order to be able to view your repositories in a browser. Originally my intent for using gitweb was not for my own personal use but more to be able to share my code with the …
Adding C Code to your Android App
Create a new project, or download the zip file/clone the repo from here. I've chosen to start with a new project targeting API 15 and up, including Kotlin support and the AndroidX libraries.
Side note: you could just create a C++ project at the Activity selection screen. That's not …
App Shortcuts in iOS 13
App Shortcuts (also known as Home Screen Quick Actions), are the nice little popups that allow users to quickly jump into a specific section of your app, as seen in the screenshot below.
Apple has a really nice guide on how to implement these in your own apps, but the …
Quickly Sending Code as a Git Patch
The other day at work I was helping a coworker troubleshoot something remotely, and we eventually decided to split up and troubleshoot individually to try and cover more ground. He hadn't pushed his changes from his branch and I didn't want to completely drop what I was doing on my …