Deploying Electron app with Github Actions for macOS

Figuring out how to build and deploy an electron app is a bit daunting at first. Fortunately, the process turns out to be fairly simple once you understand the process and have a few good resources on hand. This post is meant to serve as a guide to my future self, as well as anyone else out there who needs a resource on how to set up an automated build process for an electron app....

June 7, 2020

Automated irrigation system with Raspberry Pi

My existing timer wouldn’t support the schedule I wanted to water my lawn with or allow for quick and painless testing during maintenance. So, I built my own sprinkler timer with a dust gathering raspberry pi to get more control and flexibility with my irrigation. callahanrts/sprinklers Starting with the raspberry pi I had laying around, I only needed to pick up a four channel relay switch and a few jumper wires to get all the hardware for my sprinkler timer....

March 24, 2017

dbmgr, Command line tool to back up, restore, and provision development databases

dbmgr is a command line tool for backing up and restoring databases. It’s a useful tool for: Sharing databases between developers Provisioning new Vagrant vms and Docker images Provisioning new developers with a working database callahanrts/dbmgr When we first moved over to docker for hosting and developing our various microservices, I found myself constantly losing my database volumes. Every time this happened I would have to recreate and reseed my database and it started costing me too much time....

December 18, 2016

On the fly stats for any room in plug.dj

A chrome extension written in Elm to add some statistics and sorting to tracks that are played in plug.dj. Admittedly, it was also an excuse for me to try out Elm. callahanrts/plug-stats Something about Elm’s tagline really caught my eye and I just had to try it out. A delightful language for reliable webapps. Generate JavaScript with great performance and no runtime exceptions. In case you didn’t catch that...

October 23, 2016

dokku-demo

A guide to setting up dokku using vagrant to create the server as a virtual machine. The purpose was to show my colleagues how I set up an Amazon EC2 instance as a personal Heroku. callahanrts/dokku-demo I recently read about dokku in a Hacker News article and wanted to use it to host all of my side projects, slack bots, etc in hopes of lowering the cost of hosting my side projects/keep heroku from sleeping the apps I had hosted on their free plan....

September 5, 2016

Archlinux Package Install Notes

Notes on installing various Archlinux packages. This way I won’t forget what I did if something breaks and I have to reinstall something. Configuration If ethernet is not working, do ip a to see listed network devices. Mine shows ens9 as my thunderbolt ethernet. To start ethernet run dhcpcd ens9. Test if it worked by ping -c3 www.google.com sources: https://bbs.archlinux.org/viewtopic.php?id=156427 https://www.cyberciti.biz/faq/linux-list-network-cards-command/ Install the yaourt package manager OS Components gnome-settings-daemon I’m not entirely sure what all this is doing....

August 14, 2016

Notes on Upgrading Archlinux on a Macbook Pro

Often, when Arch is upgraded, things will be broken. This is a list of ways problems have been solved in the past. Hopefully it will be helpful for solving issues when upgrading in the future. System Boot Problems Once in a while there will be no keyboard input at the login prompt. The cause/fix is currently unknown, but boot debugging might help to find a fix. WiFi If wifi does not work after upgrading, try reinstalling broadcom-wl-dkms...

August 6, 2016

Plug.dj Clone for internal use

A Plug.dj clone for shared office DJing on Friday afternoons. When our favorite office social DJing platform got shut down for the second time, I built a clone to help preserve our office culture. callahanrts/turn-table Each DJ can set up a playlist of songs they can find on either YouTube or SoundCloud to use as their DJing setlist. Once a playlist is activated, they can join the queue....

May 21, 2016

Fixing Various HiDPI Issues on Archlinux

Notes on getting various applications to work nicely with HiDPI monitors. Spotify Spotify can be too small. To fix it, spotify needs to be started with --force-device-scale-factor=1.8. To avoid having to add the flag each time you start spotify, you can try a couple of things: Edit /usr/share/applications/spotify.desktop and change the Exec=... line to Exec=spotify --force-device-scale-factor=1.8 %U Edit the spotify executable to automatically be called with the force-device-scale-factor flag....

March 26, 2016

Installing Arch Linux on a Macbook Pro Retina

This install guide is a copy of this blog post with my own notes/thoughts along the way. The purpose of this is primarily to remind me of how I installed arch on my Macbook Pro Retina (Mid 2014). Prepare WARNING: PLEASE MAKE SURE YOU KNOW EXACTLY WHAT EACH COMMAND DOES, ESPECIALLY THE DISK RELATED, THIS MAY ERASE YOUR IMPORTANT DATA PERMANENTLY! NO WARRANTY! Update the Mac OSX and reboot, then run the Disk Utitlity to resize the Macintosh HD to 100GB, all the remaining space are reserved for Linux....

March 26, 2016