meain/blog
npub1vx8jd9zqa55v09hjtm3pfvc5fevccd2fshrgp0y0zwrfya4w49xqrwmn0g@drss.io
meain's blog
Follow into
Building personalized micro agents
Save into
6 Jul 2025
Heyo fellow humans, ready for an AI takeover? Me too, or me neither, depending on who you are. To be frank, I'm not an AI doomer and do think it is somewhat good. The only worry for me has been that
Go talk to the LLM
Save into
2 Oct 2024
Heyo! These so called "AI" is everywhere these days. This blog is to show all the ways I personally make use of these things. I've been meaning to write this blog for quite some time as I've heard a
Putting Go's Context package into context
Save into
9 Jun 2024
Hello Gophers and other beings of the world wide web. The [`context`](https://pkg.go.dev/context) package is something all Gophers would have used at some point in their life, but do you know what it
How does sync.WaitGroup work
Save into
26 May 2024
One of my colleagues asked this question to a candidate during an interview. Although I've heard it asked many times, this time it felt different. I sat there thinking, "Do I really know how
Firefox bookmark keywords for faster navigation
Save into
17 May 2024
*A short entry on how you can use bookmark keywords in Firefox to speed up navigating to common pages.* Not sure how many folks are aware of this, but Firefox lets you create “keywords” for
Just enough CORS to not get stuck
Save into
8 Feb 2024
Cross-Origin Resource Sharing or CORS is one of those things that I have had to explain to a lot of junior folks. I feel like it is partly because there is a lot of unhelpful and confusing
Navigating around in your shell
Save into
16 Nov 2023
I have been using terminals for a long time, initially because I thought they looked cool, and later because I genuinely found them to be easier/faster to get stuff done. And since I've been at it
How I manage my tasks in LogSeq
Save into
17 Oct 2023
Here is an overview of how I manage my tasks/todos in [LogSeq](https://logseq.com/). I do use LogSeq to take notes as well, but I'm not gonna go much into that here. I started getting more into
What is in that .git directory?
Save into
6 Oct 2023
Well, I think most of you reading this blog use `git` more or less on a daily basis, but have you ever looked into what is in the `.git` folder that git creates? Let's explore it together and
Splitting and joining using tree-sitter
Save into
15 Mar 2023
> EDIT: I've since updated the code to support leading commas. You can find that version [here](https://github.com/meain/dotfiles/commit/1a63dc731d49e4045c76cf5afc07f4adffce3850) Another day,
Releasing scopeline.el
Save into
12 Mar 2023
Hey, this is a quick announcement about my new Emacs plugin, [scopeline.el](https://github.com/meain/scopeline.el). You can find it [here](https://github.com/meain/scopeline.el). What is does is
What is in a modern code editor?
Save into
11 Dec 2022
# What do I know? [#](https://blog.meain.io/2022/modern-text-editor/#what-do-i-know%3F) Before we begin, let me give you an idea of where I am coming from and what my experiences are based on. Just
EmacsConf 2022
Save into
5 Dec 2022
Hey! EmacsConf just concluded and it was a really awesome one this year. A lot of interesting talks. It was a lot of fun interacting with everyone during the event. For folks who where there, "hi
Self hosted location history
Save into
17 Sep 2022
I am a big fan of being able to view the history of places that I have been to. [Google location history](https://www.tomsguide.com/how-to/how-to-view-location-history-in-google-maps) is great in
Navigating config files using tree-sitter
Save into
12 Jul 2022
Yet another entry for `tree-sitter`. For those new here, I have blogged previously about using `tree-sitter` [here](https://blog.meain.io/2021/releasing-evil-textobj-tree-sitter/) and
Playing around with tree-sitter in Emacs
Save into
18 May 2022
Tree sitter has been one of those tools that has enabled me to add in a lot of useful features to my dev environment. I have previously
Your terminal on lsd
Save into
26 Mar 2022
First of all, sorry about the clickbait title, but I could not stop myself from using this overused joke. What I wanted to talk about in this article is about
Drag and drop from terminal
Save into
23 Feb 2022
I have built up a pretty good workflow in the terminal. The main thing that I was missing until now was an easy way to drag and drop the files that I am looking at in a terminal to other apps. So
A useful shell prompt
Save into
12 Feb 2022
I use my shell a lot and have a pretty good prompt which I have built up over the years. It has got to a point where I think I have a pretty good setup and don't find the need to tweak things a lot
Introduction to nix
Save into
6 Nov 2021
I have recently been playing around with [nix](https://nixos.org/) a lot. It is a really interesting piece of technology. I haven't figured out most of it, but I have already started looking down on
Intelligent snippets using tree-sitter
Save into
16 Oct 2021
I found myself writing a lot more go these days. So far I like the language even thought it seems way too simple at times. That said, one thing that I found a bit annoying was how I had to write all
Releasing gh-issues-to-rss
Save into
13 Oct 2021
> Project Url: [https://github.com/meain/gh-issues-to-rss](https://github.com/meain/gh-issues-to-rss) Yet another package release coming your way. This is more of a scratch my own itch kinda entry.
Emacs alternatives for pouplar Neovim plugins
Save into
29 Sep 2021
I was a Neovim user for a long time, but I have switch to using Emacs for quite some time now. About 1.5 years. The transition for the most part was pretty smooth except for some initial hiccup. I am
Just flip a coin
Save into
10 Sep 2021
A simple life hack that I use a lot. I just wanted to mention why I always use a coin toss to choose if I can't decide between two options. There is only two scenarios I am in when I can't decide
Releasing evil-textobj-tree-sitter
Save into
9 Sep 2021
 > Link:
A better way to think about tests
Save into
8 Sep 2021
Tests are awesome, but not a lot of people want to write them(myself included at times). This is just a rant type blog and I am probably being really dumb, but I had to get this out there. I just
Zooming into Zoom meetings
Save into
31 Jul 2021
Well, I have been attending a lot of meetings lately. More than I would like to admit. The number of meetings have gone down compared to the start of the pandemic, but it is still a lot. To be frank,
Edit everything in Emacs
Save into
26 Jul 2021
Hello everyone, another installment of me going over my setup. This is one of those things which I don't use all that much but wheneve I do, I really am glad that this is a thing. Video of what I am
Templating things in Airflow DAG
Save into
12 May 2021
Just another, TIL type entry. It is about Airflow. I have been working with Airflow for quite a while. I don't really like it to be frank, but I am stuck with it for now. With all that said, you can
Just a simple markdown previewer
Save into
27 Apr 2021
I really like markdown. I write everything in markdown be it blogs, presentations, emails, todo lists, documentation, everything is in markdown. For the most part I can parse and render markdown in
My workflow hacks
Save into
31 Dec 2020
Well, the year is about to end. It was a fun year, no shit. I wanted to write something like this for quite some time. I was like, "too lazy today, tomorrow" and the year is almost over. I did not
Highlight yanked region in Emacs
Save into
20 Nov 2020
OK, so I recently switched over to Emacs just becuse I woke up one day and got the itch to write some lisp. It has been pretty fun so far. Now with that out of the way, let me tell you about what I
Just a bunch of git stuff
Save into
6 Nov 2020
Hey, Been a while since I have wrote a blog and thought I would write about something that I really like, git. I really like git, almost all of my important data is text and almost all of them are
Floating scratch terminal in tmux
Save into
15 Sep 2020
Hi, Just another one off blog. I have been using tmux for a while and one main thing I always wanted to have in tmux is a floating scratch terminal. I got so used to this during my time with i3 and
What you need might not be Kubernetes
Save into
21 Jun 2020
Let me get this out first. There is small chance that what you need is Kubernetes, but it is highly unlikely. > What you need is not Kubernetes. What you need is scaleable deployments. If you
Copy file opened in macOS preview to working directory
Save into
2 Jun 2020
Another random script I pieced together recently. I generally have a bunch of temp folders that I keep around for files to go in. And at times, I have pull some files into the current folder I am
Completely remove a file from git history
Save into
22 May 2020
> UPDATE: I did run into some pretty good documentation from GitHub [here](https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/removing-sensitive-data-from-a-repository).
What exactly are stock options?
Save into
20 May 2020
So yeah, this is me trying to write a non technical blog. Not sure how this will end up. This is just an intro, very basics of what I wished I knew when I started off. I am not someone who really
A simpler method for a reactive UI
Save into
16 May 2020
Hola¡ I have been doing frontend for a long time. I started off with vanilla JS, then used jQuery and after that moved directly onto using pretty much React. I have tried out a lot of others and
Mounting S3 bucket in docker containers on kubernetes
Save into
12 Apr 2020
Another installment of me figuring out more of kubernetes. > Full code available at [meain/s3-mounter](https://github.com/meain/s3-mounter) So, I was working on a project which will let people
Auto shutdown VM if no active SSH connections
Save into
5 Apr 2020
Here is a simple workflow that I have extracted out into a blog. I generally have a VM on standby to offload some tasks over to that VM instead of running things on my laptop. One main example of
Dynamic reverse proxy using nginx in Kubernetes
Save into
30 Mar 2020
OK, first of all, let me make sure that you understand what we are trying to do here. Let us say that I have a lot of `kubernetes` services with names like below. This list may grow or shrink
Switching to DuckDuckGo
Save into
17 Dec 2019
So yeah, recently I decided to switch from Google to DuckDuckGo. DuckDuckGo is great, don't get me wrong. But at times, Google just has better results. I usually find myself going back to Google for
Table operations like in Nu shell in BASH
Save into
16 Nov 2019
Hi, another installment of why people should just write more bash. I am not sure if you are aware of it. There is a new shell written in Rust called [Nu Shell](https://www.nushell.sh/). One of the
How to create a SVG blob thingy in HTML Canvas
Save into
12 Nov 2019
You might have seen a lot of colorful blobs everywhere these days. It is simple and looks pretty without much effort. You even have tools like [blobmaker.app](https://www.blobmaker.app/) to help you
Making sure you won't commit conflict markers
Save into
11 Oct 2019
Recently I made a mistake of committing a conflict marker and pushing that code to Github. That is when I thought that I could have a easily avoided this if I had added a `git-hook` to warn me if
Accessing Kubernetes API from a Pod (RBAC)
Save into
12 Aug 2019
This article describes in general how to set up permission for a Pod so that it will have access to Kubernetes API. My exact use case was that, I wanted to run a Pod which will watch a redis queue
Git never forgets, well kinda. `git-reflog`
Save into
10 Aug 2019
Hi, I am gonna let you in on a little secret. Git never forgets what you do, you can mess up however you want and you will still have all your data available\*. > * as long as you have committed you