Welcome to my encyclopedia of shitty code!
-
Ansible: Handling Sudo Password with Homebrew
Problem When using the Ansible playbook to run Homebrew-related modules, it will prompt for a sudo password where necessary on specific tasks. For example, using the community.general.homebrew_cask module to (un)install the apps under /Applications directory will prompt for a sudo password on each app. It is not possible to preemptively prompt for a sudo password… Read More…
-
Cloud Run: Connecting to Cloud SQL with Private IP and SSL
There are various ways for a Cloud Run instance to connect to a Cloud SQL instance. Regardless of the solutions, if both resources reside in the same GCP organization, connecting using a Cloud SQL’s private IP with SSL/TLS encryption is highly recommended to prevent network traffic from going out to the internet. It is possible… Read More…
-
NordVPN: Extracting WireGuard Configuration
This article shows how to extract the WireGuard configuration from NordVPN without additional tools and test it by configuring WireGuard on a GL.iNet travel router (ex: Beryl AX). Why WireGuard? While most modern routers support OpenVPN and WireGuard protocols, the latter is faster and more efficient when traveling through the encrypted tunnels, providing a superior… Read More…
-
Git LFS: “Certificate Signed by Unknown Authority” Error
Problem Your organization enforces zero-trust network access (ex: Zscaler or equivalent). Based on the ZScaler’s documentation, you made a copy of the Zscaler certificate and added it to Git. The Git’s core commands work successfully. However, when using Git LFS to manage large binary files, it failed with the following errors. Solution Instead of explicitly… Read More…
-
Supercharge Docker Build Pipeline by 97%
This tutorial shows how to improve the performance of the remote pipeline that builds a Docker image using docker build, which takes 15 minutes to 20 seconds. Note: Although Google’s Cloud Build is used here, this solution can be applied in GitHub Actions, Azure Pipeline, or any pipeline-driven Docker builds. The Challenge with Docker Build… Read More…
-
Rclone: Backing Up Synology NAS to GCP
This post shows how you can use Rclone to back up your data from a Synology NAS to a storage bucket in GCP. Why Backing Up Synology NAS Backing up data is like wearing a seat belt when driving, where nothing bad happens 99% of the time. However, when the 1% strikes unexpectedly one day,… Read More…
-
GitHub Copilot: 10+ Ways to Increase Productivity
What is GitHub Copilot GitHub Copilot is dubbed “an AI pair programmer” to help us write code faster, using a generative AI model developed through a collaboration between GitHub, OpenAI, and Microsoft Azure AI. These days, there are nothing short of AI-powered tools that can do similar things in this space. For example, Tabnine, Google’s… Read More…
-
VPC SC: 2 Ways to Fix NO_MATCHING_ACCESS_LEVEL Error
This post shows you how to fix the dreaded NO_MATCHING_ACCESS_LEVEL error when dealing with VPC Service Control in GCP. Background Let’s assume you want to protect a project and its resources by putting it within a VPC SC perimeter. You must also ensure your trusted device(s) can access the protected project resources. In this case,… Read More…
-
Vertex AI PaLM: Intro to text-bison
What is text-bison Google’s PaLM 2 for text (text-bison) is recently GA’d. This foundation model is optimized for natural language tasks and it comes in 4 sizes (gecko, otter, bison, and unicorn). To date, unicorn doesn’t exist yet, no pun intended… unless one decides to stick an ice cream cone on a pony’s forehead at… Read More…
About Author
This author has 20+ years of experience in software engineering and cloud engineering. In an industry where knowledge becomes obsolete in the next three months, he learns anything that crosses his path indiscriminately. He floats from one technology to another like a moth and stings the problem sets like a mosquito. This author codes Java while drinking Espresso and writes Spock specifications while listening to Groovy beats. He masters Google Cloud Platform just like how he masters the art of predicting the movement of dark clouds over his backyard, where 60% of the time, he is right every time.
This author suffers from the Dunning-Kruger effect, where he overestimates his competence and underestimates his ignorance. Technology buzzwords never faze him, for he does not know enough to be afraid of in the first place. GCP, GCS, GCR, GKE, GWT… everything sounds the same to him. He never fears acronyms, synonyms, or antonyms, for he has ChatGPT in his back pocket. This author is a jack of all trades but a master of none. He writes like he knows all the answers, yet he googles for better solutions from elsewhere. He fakes it until he makes it; if he doesn’t, that’s okay because he has the attention span of a squirrel. The blog posts are his buried walnuts, in case he needs them one day.
In conclusion, this author is full of something. He apologizes in advance if you are trying to solve your company’s real problems with his shitty solutions. There, he has successfully written paragraphs of nonsense because every professional blogging website needs a section about the author, with a too-cool-to-smile portrait staring sideways into the abyss.