akashgoswami.dev
rss2
Akash Goswami
akashgoswami.dev · English
Akash Goswami's dev blog
rss2 fediverse content atom
https://akashgoswami.dev/index.xml
- Last post
- May 10, 2026
- Posts in 24 h · 7 days · 30 days
- 0 · 0 · 0
- Our last check
- Answering
- Served from
- United States
- Text score at discovery
- 6,159
- Format
- rss2
- Features in the feed
- content, atom
- Community
- fediverse
Posts
What our queue read from this feed. Open one to read it here, or go to the site that published it.
- Minimal shell setup
May 10, 2026 · original
I spend a lot of time using the terminal and, like a lot of other developers, I’ve toyed with new tools and apps to try and improve the experience. Originally, when I started programming, I just looked up the most popular tools to use, which at the time where iTerm 2, Oh My Zsh, and Powerlevel10k. For a number of years, this became a core part of my terminal setup, however I ended up slowly accumulating a number of plugins, aliases, themes, and configuration I barely used. This became more apparent while setting up an older M1 MacBook Air I had for some light development work . I realised that my terminal setup just felt overly complicated without providing any additional benefits. So I decided to strip it back. Over the last few months, I’ve settled on a minimal but functional shell setup. It s not minimal in the purist sense, but it is minimal enough that I can understand it, reproduce - Multi-machine development setup
May 9, 2026 · original
Recently, I’ve been using two MacBooks for personal software development, which has a few people questioning why. The simple answer is that I already had a MacBook Air sitting around, and its become a useful travel laptop, that allows me to take a minimal development and writing setup with me. Right now, I’m making use of an M1 Pro MacBook Pro and an M1 MacBook Air. I ended up with these two machines when I was trying to move away from my Intel MacBook Pro, a machine I’ve had for close to 10 years, which was clearly starting to show its age in 2023. Initially, I bought the M1 MacBook Air as a temporary machine until I could get a refurbished M1 Pro MacBook Pro, as my Intel MacBook was incredibly slow at the time. I bought the M1 MacBook Air from a seller on eBay and discovered that it developed a screen fault during the delivery process. The machine had a single line of dead pixels going - Stop hardcoding secrets in .zshrc
Apr 13, 2026 · original
Here s a quick tip for storing secrets like API keys in Apple Keychain on macOS and referencing them in .zshrc without hardcoding them and risking them be exposed while still making them available to your shell. Add the secret to Apple Keychain: security delete-generic-password -a "$USER" -s "Example API Key" security add-generic-password -a "$USER" -s "Example API Key" -w YOUR_SECRET_VALUE_HERE Replace Example API Key with the name for your key and YOUR_SECRET_VALUE_HERE with the actual secret. Add the following line to your ~/.zshrc : export EXAMPLE_API_KEY="$(security find-generic-password -a "$USER" -s "Example API Key" -w)" Replace EXAMPLE_API_KEY and Example API Key as needed Reload your shell config: source ~/.zshrc Your secret should now be available as an environment variable in your shell without being written to .zshrc in plain text 🎉 - Resources for learning Go
May 5, 2025 · original
I do a lot of my programming in Go at the moment, and from time to time I’m asked what the best resources are for learning Go. Instead of re-repeating the same list (and likely forgetting one or two in the process), this is a quick list of the resources I’ve come across that have helped me learn Go that I would recommend to others. Just remember that you don’t need to fully complete each course (take things at your own pace). A Tour of Go - Always a good place to start and learn the basic syntax Go by Example - A great collection of sample programs covering various aspects of the Go programming languange Gophercises - A series of mini projects I would highly recommend going through Learn tests with Go - A Test Driven Development approach to learning Go Go Web Examples - A collection of examples of how Go can be used for web developement Coffee To Go - A CLI that covers Go concepts throug - Adding a Mastodon Author Tag
Oct 28, 2024 · original
Last week I did some testing with my personal site and added the fediverse:creator metadata tag it. You can read about how I did this here . To keep both websites inline, I ve now also added it to this Hugo site as well. It was fairly simple. All I had to do was copy the head.html partical from the theme s layout, bring it up to my top level directory layouts folder and add this small snippet of code in: {{- /* Mastodon Author Tag */}} {{ if .Site.Params.Mastodon }} meta name="fediverse:creator" content="{{ .Site.Params.mastodon.author }}" / {{ end }} Once I d have done that, I simply updated my site s config.yaml to include my Mastodon handle: mastodon: author: "@akashgoswami@hachyderm.io" Now when I share posts from this site to Mastodon, there should be a little More from Akash Goswami tag at the bottom of the preview card when links from this site are shared on Mastodon. - How to install Postgres on macOS
Sep 26, 2024 · original
There are a few ways of setting up Postgres on MacOS. This is what I found worked best for me: Install postgres via Homebrew - brew install postgresql@16 Start Postgres server - brew services start postgresql@16 Check service is running - brew services list Add PostgreSQL to PATH - echo 'export PATH="/opt/homebrew/opt/postgresql/bin:$PATH"' ~/.zshrc Reload the shell - source ~/.zshrc Verify psql command - psql --version Add a postgres user - createuser -s -r postgres Connect to the default postgres database psql -d postgres Create a password for the postgres user - ALTER USER postgres WITH PASSWORD ‘password’; (replace password with your selected password) Install pgAdmin Open pgAdmin and connect to the local Postgres sever (enter password when asked) If anyone has a better way of doing this, please feel free to let me know. It took some trial and error to get this working for myself. - Automating my /now page
Aug 16, 2024 · original
Here’s a small deep dive into how I automated my now page on my personal website using Golang and GitHub Actions. First of all, you might be wondering what a now page actually is. Most websites have an ‘about’ page which explains the background of a certain individual or a business. A ‘now’ page is a page that tells you what a person is focused on currently. Now pages have become more popular on personal websites and you can find several people with now pages on nownownow ( including my own ). So a while ago I added a now page to share what I was up to, what I’m currently learning, some fitness goals, places I’ve travelled to this year and in the last year as well as some stats around what media (books, movies, TV shows and video games) I’ve recently been reading/watching/playing. Wanting to share all of this information led to one issue… Manual updates are difficult My website is a stat - GitHub new repo shortcut
Jun 1, 2024 · original
A quick tip for creating a new directory and setting up a repository on GitHub at the same time using the GitHub CLI . First make sure you re in the root directory, then run the following command: gh repo create REPO_NAME_HERE --clone --private -l MIT For pubic repos, just chnage the --private flag to --public - Build your own links site in 30 mins
May 25, 2024 · original
If you are browsing a social media profile, there’s a chance that you ve come across a profile that has a link in it. Having one link is quite limited, and in most cases, people want to have multiple links in their social media profile. This has lead to the growth of link in bio services that fill this need. Some of these services include Bento , Beacons , Linkpop , Bio Link and more. One of the largest and more commonly seen link in bio service is Linktree . A lot of these services offer a free tier, but the one issue I found was that a lot of these service either didn t offer the ability to use your own domain or charged money to do so. Beacons charge about $8.33 a month to use a custom domain while Linktree doesn t even offer this as a paid option . I decided to look into creating my own simple links website that I could host on my own domain, under the subdomain, links.akashgoswami.c - Remove commits from remote repository
May 14, 2024 · original
Start with a clean branch. Check using git status git status On branch main Your branch is up to date with 'origin/main'. nothing to commit, working tree clean Delete the commits locally git reset --hard HEAD~X Replace X with the number of commits to delete, e.g. 1 Delete the commits from the remote repository git push origin HEAD --force - Remove files from Git history
Feb 22, 2024 · original
This note was originally posted on akashgoswami.com A note for myself because I know I ll probably do it again in the future… I managed to accidently commited a text file to a repository and pushed it to GitHub 🤦🏽♂️ While it didn t contain any sensitive data, I still wanted to remove it from the repository s history. I found this guide on GitHub and these are the exact steps I followed to resolve this issue. Install bfg via Homebrew brew install bfg Remove the file from the local repository and push this change to the GitHub repository Clone the repository from GitHub to a new location on my machine gh repo clone GITHUB_USERNAME_HERE/REPOSITORY_NAME_HERE Ran the following command to remove the file from the repository s history bfg --delete-files FILENAME_HERE_WITH_EXTENSION Then I ran these commands together (This was what was recommended after running the command above) git reflog e - Why Go?
Jan 12, 2024 · original
I’ve spent the last 4 months programming mostly in Go. In the past, I’ve programmed mostly in Python (and a bit of C#, C++ & JavaScript), so getting started with Go wasn’t all too difficult coming from Python. I found that Go had several quality-of-life improvements that have led to it being my favourite programming language now. What is Go? If you’ve never heard of Go, no worries. Here’s a quick recap 👇🏽 Go is a programming language created by 3 engineers at Google. These engineers wanted to overcome the complexity of C++ with a programming language that was easy to use/write while having fast compile times. In November 2019, the Go programming language was released. The Go documentation describes Go as: “a fast, statically typed, compiled language that feels like a dynamically typed, interpreted language.” Even a large Go program will compile in a matter of seconds. Plus, Go avoids m - Hello World
Sep 8, 2023 · original
Introduction Hey there, I’m Akash 👋🏽 I’ve decided to start a second website focused on my journey as a software engineer (you can find my main website here ). What will I post about? I’ve just started my first backend engineering role at Monzo within the Security team. I’ve going to use this website to document things I learn, interesting tools & software and small how-to guides (that I wish someone taught me when I started). These posts will be aimed at those with a junior level of technical skills initially, but I ll likely branch out further in the future. I’ve always believed that the best way to learn something is to teach it. We use Go at Monzo, so I’ll be focusing on that to begin with. Want to learn some other core skills in the meantime? Checkout YouGotThis! They have a massive library of free content, including my own talk - Buying Back Your Time . What does this site run on?
Discovered by the rss-feed-index crawler, which checks each feed at most once a month.
Same record as JSON: https://api.agentalog.com/api/feeds/fd_akashgoswami_dev_aea1d8dad3b009e4. More from this site: akashgoswami.dev in the Feeds tab.