elvinguti.dev

Sharing insights, experiences, and discoveries from my journey in software development and the GNU/Linux ecosystem.

Simple AI post generator using OpenAI SDK

About Simple project to generate posts for LinkedIn using the OpenAI SDK. This is to help creating engaging posts for LinkedIn while learning about Agentic AI libraries and Frameworks. Website: https://linkedin-generator-lake.vercel.app/ Note: The generate endpoint is rate limited so you might need to try a few times before it works. Stack The web app was built using Vue.js with TypeScript and Tailwind CSS. This was the hardest part of the stack, I decided to go with Vue.js since it’s a lot easier to work with than Next.js and I didn’t need server side rendering for this small project. ...

July 29, 2025 · 2 min · Elvin Guti

Git with Oh My Zsh Aliases: Boost Your Productivity

If you’re using Oh My Zsh, you have access to a powerful set of git aliases that can significantly speed up your development workflow. The git plugin comes pre-installed and provides dozens of shortcuts for common git operations. Essential Git Aliases Here are the most useful git aliases that will transform your daily workflow: Basic Operations 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 # Status and information gst # git status gss # git status --short gsb # git status --short --branch gl # git pull gp # git push ga # git add gaa # git add --all gc # git commit --verbose gcmsg # git commit --message gca # git commit --verbose --all gcam # git commit --all --message # Branch operations gb # git branch gba # git branch --all gbd # git branch --delete gcb # git checkout -b gco # git checkout gcm # git checkout $(git_main_branch) gcd # git checkout $(git_develop_branch) Advanced Workflow 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 # Logging and history glog # git log --oneline --decorate --graph gloga # git log --oneline --decorate --graph --all glol # git log --graph --pretty=format with colors glola # git log --graph --pretty=format with colors --all glo # git log --oneline --decorate glg # git log --stat glgp # git log --stat --patch # Stashing gsta # git stash push (or save on older git) gstp # git stash pop gsts # git stash show --patch gstd # git stash drop gstl # git stash list gstaa # git stash apply gstc # git stash clear # Merging and rebasing gm # git merge gma # git merge --abort gmc # git merge --continue grb # git rebase grba # git rebase --abort grbc # git rebase --continue grbi # git rebase --interactive Remote Operations 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 # Remote management gr # git remote grv # git remote --verbose gra # git remote add grrm # git remote remove grmv # git remote rename grset # git remote set-url # Fetching and pulling gf # git fetch gfa # git fetch --all --tags --prune gfo # git fetch origin gpr # git pull --rebase gpra # git pull --rebase --autostash gpu # git push upstream gpv # git push --verbose Diff and Show 1 2 3 4 5 6 7 # Diff operations gd # git diff gdca # git diff --cached gds # git diff --staged gdw # git diff --word-diff gdt # git diff-tree --no-commit-id --name-only -r gsh # git show My Most Used Aliases Based on daily development work, here are the aliases I use most frequently: ...

July 14, 2025 · 5 min · Elvin Guti

Managing Network Connections in Linux with nmcli

NetworkManager is a dynamic network control and configuration daemon that attempts to keep network connections up and active. nmcli is a command-line tool used to interact with NetworkManager. This post will provide a comprehensive guide to using nmcli for managing network connections in Linux. Installation nmcli is usually installed by default on most Linux distributions that use NetworkManager. However, if it’s not installed, you can install it using your distribution’s package manager: ...

June 24, 2025 · 3 min · Elvin Guti

The One Eyed Fighting Kirby: A Fun Vim Substitution Trick

The One Eyed Fighting Kirby is basically a Vim substitution command that uses capture groups to transform text. The name comes from the way the regex capture group looks like a one-eyed Kirby (you know, the pink puffball from Nintendo games) when written in Vim. It’s a fun name for a powerful regex capture group technique that can save you tons of time when editing text. Here’s the basic syntax: ...

June 6, 2025 · 2 min · Elvin Guti

Navigating Kitty Terminal Scrollback with Vim

Terminal scrollback history can be difficult to navigate with standard mouse selection, especially for complex outputs or when you need to select specific portions of text. By combining Kitty terminal’s pipe capabilities with Vim’s powerful navigation, you can effortlessly browse, search, and copy content from your terminal history. Prerequisites Before getting started, make sure you have the following installed: Kitty Terminal: A fast, feature-rich, GPU-based terminal emulator Installation: sudo pacman -S kitty (Arch Linux) Other distros: https://sw.kovidgoyal.net/kitty/binary/ Vim: The ubiquitous text editor Installation: sudo pacman -S vim (Arch Linux) Most Linux distributions come with Vim pre-installed or easily available in their package repositories You’ll also need basic familiarity with Vim navigation commands for the best experience, though even Vim beginners can benefit from this setup. ...

May 13, 2025 · 3 min · Elvin Guti