Articles

22 items
Identifying Duplicate Lines in a File using Linux Terminal Commands

Identifying Duplicate Lines in a File using Linux Terminal Commands

Easily identify and count duplicate lines in any text file directly from your Linux terminal. Learn the powerful sort | uniq --count --repeated command pipeline, understand why it works, and see how to integrate fzf for quick interactive file selection. Perfect for log analysis and data cleaning.

How to automatically load node version based on nvmrc file

How to automatically load node version based on nvmrc file

Learn how to automatically switch Node.js versions in your terminal based on a local .nvmrc file using nvm and a simple Zsh script. Save time and avoid version conflicts by setting up automatic Node version management in your development workflow.

Creating a Tmux Keybinding for Pop-up Sessions

Creating a Tmux Keybinding for Pop-up Sessions

Learn how to enhance your tmux workflow by creating keybindings for popup windows. This guide covers setting up a custom script, binding keys in tmux, and optimizing popup sessions to streamline your terminal management.

How to use Rust to create a Netlify Serverless function

How to use Rust to create a Netlify Serverless function

Learn how to enable and create Rust-based serverless functions on Netlify. This guide covers setting up experimental Rust support, initializing a new function with Cargo or the Netlify CLI, and structuring a basic Rust function for seamless deployment.

How to create an Awesome List

How to create an Awesome List

Discover how to create an 'awesome list' on GitHub to curate and share valuable resources. This guide covers choosing a topic, structuring your list, encouraging community contributions, and maintaining its relevance, inspired by Sindre Sorhus' popular 'awesome' series.

How to Install and Configure TypeScript-Go (tsgo) as an LSP in Neovim

How to Install and Configure TypeScript-Go (tsgo) as an LSP in Neovim

Learn how to install and configure TypeScript-Go (tsgo) as a high-performance TypeScript and JavaScript language server (LSP) in Neovim 0.11+. Follow this step-by-step guide to set up tsgo, improve your development workflow, and enjoy faster code navigation and completion in Neovim.

How to print a lua table

How to print a lua table

Learn how to print and debug Lua tables effectively using the dump function. This guide explains the function's implementation, usage, and how it can simplify inspecting complex table structures in your Lua scripts.

How to Install Catppuccin Theme Across Your Entire Setup

How to Install Catppuccin Theme Across Your Entire Setup

Want a beautiful, cohesive theme for your development environment? Learn how to install the Catppuccin theme in Neovim, tmux, WezTerm, Firefox/Chrome (Dark Reader), Lazygit, and Alfred for a smooth pastel aesthetic across your tools.

Integrating fzf into tmux for Efficient Navigation

Integrating fzf into tmux for Efficient Navigation

Learn how to integrate the powerful fuzzy finder fzf into your tmux workflow for faster and more efficient navigation. This guide covers installation, configuration, and customization of fzf with tmux, along with plugins like tmux-fpp and tmux-open for enhanced file and URL management. Streamline your workflow by replacing default tmux keybindings and improving session, window, and pane switching with fuzzy search. Perfect for developers looking to boost productivity in the terminal.

Implementing a Deep Merge Function in JavaScript

Implementing a Deep Merge Function in JavaScript

Learn how to implement a recursive deep merge function in JavaScript to merge nested objects efficiently. This guide explains the limitations of Object.assign() and the spread operator, provides example seed data, and walks through a step-by-step implementation. Perfect for developers working with configuration objects, state management, and complex data structures.

Integrating lazygit into tmux for Git Management

Integrating lazygit into tmux for Git Management

Streamline your Git workflow by integrating lazygit into your tmux setup. This guide shows you how to create a custom keybinding to launch lazygit in a popup window directly within tmux. Manage your Git repositories efficiently, including staging, committing, and pushing changes, without leaving your terminal workspace. Perfect for developers looking to improve their Git productivity within tmux.

My Neovim Config

My Neovim Config

Discover a structured and modular approach to configuring Neovim for maximum efficiency. This guide breaks down my Neovim setup, including plugin management, keybindings, language-specific configurations, and utility scripts. Learn how I organize my directories, automate language server setups, and optimize Neovim for a seamless development experience. Perfect for developers looking to refine their Neovim workflow!

Lily58 Pro Keyboard Review

Lily58 Pro Keyboard Review

The Lily58 Pro keyboard kit is a customizable split ergonomic keyboard featuring silent Cherry MX Red switches, ZMK firmware, and unique keycaps—ideal for tech enthusiasts seeking modularity and comfort.

How to sort a table using javascript

How to sort a table using javascript

Learn how to sort HTML table data dynamically using JavaScript. This comprehensive guide covers handling various data types like text, numbers, dates, and images, and provides step-by-step instructions to implement an interactive table sorting feature. Perfect for web developers looking to enhance user experience on their websites.

Remap Caps Lock to ESC

Remap Caps Lock to ESC

Learn how to easily remap the Caps Lock key to Escape on macOS, Windows, and Linux. This guide provides step-by-step instructions for each operating system, including using System Preferences on macOS, PowerToys on Windows, and SXKHD on Linux. Improve your typing experience and boost your productivity by turning the rarely used Caps Lock key into a more useful Escape key.

Restoring TMUX sessions after a system reboot

Restoring TMUX sessions after a system reboot

Learn how to easily restore your tmux sessions after a system reboot with the tmux-resurrect plugin. This guide walks you through the installation, configuration, and usage of tmux-resurrect, including saving and restoring your sessions automatically. Whether you're looking to save your tmux sessions on exit or load the last session on startup, this plugin streamlines your workflow and ensures you never lose your progress.

Simplify Your Dotfile Management with GNU Stow

Simplify Your Dotfile Management with GNU Stow

Learn how to manage and organize your dotfiles efficiently using GNU Stow. Simplify configuration with symlinks, version control, and easy portability for your zsh, tmux, Neovim, and more.

Troubleshooting ::after and ::before Pseudo Elements: A Guide to Common Issues

Troubleshooting ::after and ::before Pseudo Elements: A Guide to Common Issues

Discover common issues with CSS ::after and ::before pseudo-elements and learn how to troubleshoot them. This guide explains key problems like missing content properties, using pseudo-elements on replaced elements, and conflicts with parent or conflicting styles. With practical solutions and examples, you’ll understand how to ensure your ::after and ::before pseudo-elements behave as expected, helping you streamline your development process and enhance your CSS styling skills.

Viewing GitHub Repositories in Visual Studio Code: A Quick Guide

Viewing GitHub Repositories in Visual Studio Code: A Quick Guide

Discover how to easily open GitHub repositories in Visual Studio Code directly from your browser using GitHub.dev. This guide explains how to modify the GitHub URL by changing '.com' to '.dev' for a seamless code editing experience. Learn about the key features of GitHub.dev, including code navigation, editing, source control, and extensions, and how it enhances your development workflow without the need for a local environment.

Using React Hook Form with Material UI

Using React Hook Form with Material UI

Learn how to integrate React Hook Form with Material UI for efficient form handling in React. This guide covers how to use the Controller component to wrap MUI input fields, ensuring proper value tracking and error display. Get step-by-step instructions on using validation rules and displaying error messages with Material UI’s built-in styling, making your forms more user-friendly and effective.

Understanding the JavaScript event loop

Understanding the JavaScript event loop

Learn how JavaScript’s event loop, call stack, microtask queue, and macrotask queue work together to enable non-blocking asynchronous behavior in a single-threaded environment. Includes a visual diagram and code example.