-
·
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!
When your DigitalOcean Droplet runs out of memory during npm install or builds, add swap. Quick commands to grow from 500MB to 1GB and tune swappiness.
-
·
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…