All articles

  1. Writing Essays in Vim

    This month I went back to school, so I now find myself needing to write essays once again. It's been quite a few years since I last had to do homework like this, and I now find word processors to be rather clunky and inefficient compared to just using vim …

  2. KringleCon

    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 …

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

    A screenshot from an iPhone showing some wallpaper options that change depending on whether or not dark mode is enabled.

    I use a Pixel phone though, so this doesn …

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

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

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

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

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

Page 1 / 5 »