Auto Trigger Deploys on Netlify

In order to keep a consistent schedule for publishing my blog posts, I wanted to automate the process of deploying my Hugo Static Site on Netlify. By using IFTTT, I was able to set up an auto-trigger that deploys my site every morning. This method can be used not only on Netlify, but also on other providers that offer webhooks for manual deploys. Consistency is key for maintaining momentum in my work....

Automatically Run package.json Scripts upon File Changes in a Folder

In this article, I will show you how to set up a package.json script to re-run automatically whenever a file within a specific folder changes. This approach can be applied to any type of automatic file and folder monitoring, not just limited to the scenario mentioned here. Let’s start by addressing a practical problem. Suppose you want to automatically regenerate the CSS files, utilizing a PostCSS pipeline, whenever any file changes within a folder....

How to Add an \"Open in Terminal\" Icon in macOS Finder

If you’re a macOS user and frequently open folders in the Terminal, you might find it convenient to have a dedicated “Open in Terminal” icon in the Finder. This tutorial will guide you through the process of adding this icon to your Finder toolbar. Step 1: Open Automator and select “Application” when prompted to choose a type of document. Step 2: Search for “Run AppleScript” in the list of available actions and add it to your workflow....

How to Set Up a Cron Job to Run a Node.js App

In this tutorial, I will guide you on how to set up a cron job that runs a Node.js app. Cron jobs are a time-based scheduler in Unix-like operating systems, which allow you to automate repeatable tasks. By following the steps below, you can configure a cron job to run your Node.js app at a specific time interval. Create a shell script file named run.sh with the following content: #!/bin/sh node app....

Review of the book The 4-Hour Work Week: A Senior Developer's Perspective

In this blog post, I will share my review and key takeaways from the book “The 4-Hour Work Week” by Tim Ferriss. As a senior developer, I will provide a technical perspective and share how this book has influenced my own experiences and observations. Would I recommend this book? Absolutely Book rating 5/5 There are countless books out there, but “The 4-Hour Work Week” has had a profound impact on me....

The Power of Software: Unleashing Your Potential

Introduction We often overlook the power of software, assuming that what we know is common knowledge. However, recognizing the potential that software provides is essential. It not only enables us to create software but also empowers us through the tools and platforms available. With the rise of advanced no-code and low-code solutions, individuals who aren’t experienced coders can harness the power of software. Even as a developer, I rely on these tools to automate tasks and expand my reach, thereby unlocking my potential in the digital realm....

What is a webhook and How it Can Benefit Your Business

When it comes to integrating different services in your code, utilizing webhooks is a common practice. But what exactly is a webhook? A webhook is essentially a POST request handler that awaits a call and performs a specific task once triggered. Here’s an example to illustrate how webhooks work. Let’s say I use Paddle as a platform to sell my Bootcamp course on bootcamp.dev. Every time someone signs up for the course, my webhook is called, providing me with JSON data that includes the customer’s email, name, and the purchased product....