Connect to a Wireguard VPN on Ubuntu with a .conf file

These steps are assuming you’ve already got wireguard setup and have a .conf file. Ensure Wireguard is installed sudo apt install wireguard Move the .conf file to the Wireguard folder Your wireguard conf file may be named something else, but mine is wg0.conf sudo cp Downloads/wg0.conf /etc/wireguard/ Start Wireguard Use the correct name for your wireguard config file. Note that I use wg0 because my file was wg0.conf. sudo wg-quick up wg0 Fix _wg-quick: line 32: resolvconf: command not found_ error This step is optional, you only need to do this if you got the above error....

July 12, 2023 · 1 min · chart

List all AWS Secrets Manager Secrets and Get 1 Secret code: NodeJS + AWS SDK Example

Example code from my project MyChefAI.com I am working on right now. Hopefully if you are crawling google for a good example of listing secrets or pulling a given secret from AWS Secrets manager with NodeJS this helps you. async function listAllSecrets(nextToken) { const params = { MaxResults: 50 }; if (nextToken) { params.NextToken = nextToken; } try { const data = await secretsManager.listSecrets(params).promise(); for (const secret of data.SecretList) { console....

June 18, 2023 · 1 min · chart

NextJS 13 Hero Component - How to Use Next/Image for Cover

See in the above example how my cover image looks. At the time of writing this, this page is MyChefAI.com/diabetes. Here is my full hero image component import { styled } from "@mui/system"; import Link from "next/link"; import Image from 'next/image'; //MUI Components import { Box, Button, Typography } from "@mui/material"; function DiabetesLandingHero({handleScroll}) { const HeroImage = styled("div")(({ theme }) => ({ position: "relative", height: "80vh", display: "flex", alignItems: "center", justifyContent: "center", overflow: "hidden", color: "white", textAlign: "center", textShadow: "1px 1px 3px rgba(0, 0, 0, 0....

June 11, 2023 · 2 min · chart

You Are Using Story Points Wrong: How to Make Story Points Suck Less

Realistic representation of how you will actually look when you finish reading this article and show off your story pointing knowledge to your friends, family, and co-workers. If you want to skim, just read What are Story Points, Purposes of Story Points and Example of a team using relative pointing. Preamble Amongst people in the software industry there is a lot of confusion around story points. This blog is my summary of the opinions of great minds on the topic of story points with some of my own opinions thrown in as well....

May 10, 2023 · 9 min · chart

AWS Releases Week of May 9: IoT SiteWise Updates, Glue Large Instances GA, and More!

As an agile developer and DevOps engineer, staying up to date with the latest news and updates from AWS is essential. This week, AWS has announced several updates to their services, including AWS IoT SiteWise, AWS Glue, Amazon QuickSight, and more. In this article, we will explore these updates and discuss potential use cases based on our own experiences. Disclaimer: this article is part of my project to develop an automated system for summarizing the weekly AWS updates, providing an easy to use framework for summarizing RSS feeds into automatic articles....

May 9, 2023 · 22 min · chart

One Artifact, One Pipeline, One Path to Production

One artifact, one pipeline, one path to production. Remember this phrase and you now know the secret to building good CI/CD pipelines. You are now mere minutes away from being a significantly better developer, DevOps engineer, SRE, or really anyone who works in software, just read on. One artifact, one pipeline, one path to production is a simple guideline to building good software delivery mechanisms. It’s about not over complicating the process, reducing the cognitive load, keeping the team moving fast, and making sure the deployment process actually works consistently....

May 3, 2023 · 7 min · chart