For a couple of years now, I've been working on a self-hosted family budgeting application called Twigs. Seeing as I'm an Android developer, I spend most of my days writing Java and Kotlin. Thus, it seemed like a good idea to stick with the languages I'm most comfortable with for …
Articles in the Tutorials category
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>
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 …
Swift Combine's Result.Publisher
Coming from a background in Java/Android development, I’m fairly familiar with working in RxJava and the reactive style of programming. Without getting into the details of said style, there’s a particular operator you can use called
Observable.just()
, which allows you to wrap a single value in …View Your Repositories Remotely with GitWeb
If you've been following my blog, you probably saw the post where I outlined my personal git server setup. In it, I showed off the
ls
command that I've configured for quickly viewing my repositories remotely. This is quite limited though, in that it only shows me the names of …A Simple Self-Hosted Git Server
If you're writing code for any purpose, I sincerely hope you are using some kind of source control. I personally am only really familiar with Git, and as such it is my go-to tool for keeping track of my code. Nowadays, there are plenty of hosts for pushing your code …
Spring Boot Config Priorities
Recently, while working on a job, I ran into an interesting problem with Spring Boot: the configuration files I had defined using the
@PropertySource
annotation were being overridden by theapplication.properties
file, which I had also defined with a@PropertySource
annotation. Why wasn't Spring prioritizing my configuration files correctly …
Page 1 / 2 »