Category: Programming

  • Run GitHub Actions on Your Own Machine (No Cloud Required… Kinda)

    Ever hit the “Run workflow” button and thought, “My laptop could do this faster”? I did—25 minutes on GitHub-hosted vs. under 5 minutes on my own machine. Yes, seriously. That’s less time than it takes to make good coffee. How It Works You install the GitHub Actions Runner on your local machine, register it with…

  • Using Ngrok with Rails

    When working with Rails, I like to test my web apps with my desktop browser and my mobile browser. I like using my mobile browser, especially to test the PWA setup. To be able to test the development version running in Docker with my devcontainer setup, I use Ngrok. You need to register and install…

  • Get started with Ruby on Rails on WSL2 Ubuntu

    Install Ubuntu If you already have WSL2 Ubuntu 24.04 skip these two steps. Open PowerShell as Administrator: Once Ubuntu is installed, make sure it’s running as WSL2: Close PowerShell and run Ubuntu-24.04 from the application menu. Once you are in the Ubuntu terminal, update and install things: Once the system dependencies are installed, install rbenv:…

  • New year, old and new challenges

    2023 ended with me falling in love with Rails again after 15 years. I have always been a huge fan of 37signals. I like their products in a weird way: I have always wanted to use Basecamp, but I always worked for people who used and hated Jira. Then Hey mail came out, and I decided to migrate…

  • You won’t believe how much time you will save with this Git pre-push hook

    Introduction A significant part of being a successful software developer is refining our workflows to optimize productivity. One method I’ve found incredibly useful is integrating Git hooks with static code analysis tools such as Detekt for my Android projects. The Role of Git Hooks and Detekt in Code Quality Before we dive into the actual…

  • DigitalOcean Droplets killing your npm install? You need more swap!

    Move from 500MB to 1GB with just a few commands: Enjoy.

  • Run a IntelliJ/Android Studio configuration with a shortcut

    If you are like me, you have a few “Run configurations” when you develop an app: Run the app Run the tests Run the static analysis Run the UI tests You can generally only run the latest one using a keyboard shortcut. I found an IJ/AS plugin that lets you associate a shortcut to any…

  • Show layout bounds from command line

    Lately I found myself clicking through Android Settings menu to enable and disable “Show layout bounds” to check if views are where are supposed to be a bit too often. Using the menu once is OK. Using the menu twice is still OK. I live by the Rule of three so when I hit the…

  • Rainbow Brackets – Android Studio / Intellij IDEA plugins

    My first Android course ended a few days ago, but good old habits stay: let’s keep talking about my always-installed Android Studio / Intellij IDEA plugins 😄 One of my favorite programming habit is keeping my functions short and clear. Even with this approach it happens more often than I like that I struggle to…

  • Diventa un Android Dev

    Dal 1 febbraio 2021, in collaborazione con CGM Consulting, partirà il mio corso di programmazione Android destinato a tutti coloro che si stanno avvicinando al mondo della programmazione mobile: https://bit.ly/corso-android-ivan-morgillo Anche se sei già un dev, c’è sempre la possibilità di aiutare qualche amico o amica interessati ad una carriera come Android Dev 😉 Il…