#Terminal.
14 posts filed under this topic.
curl Cheat Sheet: API Testing, Auth & File Upload
Complete curl reference — GET and POST requests, headers, authentication, file upload, response inspection, timing breakdown, webhook testing, and scripting patterns.
Linux & Bash Cheat Sheet: Commands Every Dev Needs
Complete Linux and Bash reference — file operations, permissions, processes, grep, find, networking, pipes, cron jobs, SSH, and shell scripting.
SSH & GPG Cheat Sheet: Keys, Tunnels & Signed Commits
Complete SSH and GPG reference — key generation, ssh-agent, config file aliases, port forwarding, database tunneling, GPG signing, and signed git commits.
Git Cheat Sheet: Every Command You Actually Need
Complete Git reference with copy-paste commands for setup, staging, branching, merging, rebasing, stashing, undoing mistakes, remotes, and log inspection.
Docker Cheat Sheet: Images, Containers, Compose & More
Complete Docker reference — pulling images, running containers, volumes, networks, exec, logs, Docker Compose commands, Dockerfile tips, and disk cleanup.
Regex Cheat Sheet: Patterns, Groups & Real Examples
Complete regular expressions reference — anchors, character classes, quantifiers, named groups, lookaheads, lookbehinds, and real-world patterns for email, URL, and passwords.
Vim Cheat Sheet: Modes, Navigation, Editing & Config
Complete Vim reference covering modes, movement, editing commands, search and replace, visual mode, split panes, macros, text objects, and a starter .vimrc.
Git Worktree: Work on Two Branches at the Same Time
Stop stashing mid-feature to fix a hotfix. Git worktree lets you check out multiple branches into separate folders from the same repo — with real scenarios and examples.
How to Exit Vim, Vi, and Nano (Step by Step)
Stuck in Vim? Here is exactly how to save and exit, quit without saving, and force-quit Vim, Vi, and Nano — with every command you need and why they work.
I Deleted My Code with git reset --hard. git reflog Saved It.
True story: running git reset --hard on the wrong branch wiped a week of work. Here is how git reflog recovered it all — and the guardrails I set up after.
Configure user name & email for Git profile using terminal
This article explains about configuring user name & email, globally with your Git profile so that you don't need to specify every time you commit. Git automatically associate your identity from this profile with every commit you make.
Restart Docker Container
This article explains about deletion of a local branch from git using terminal. Also includes explanation about deleting branch forcefully.
How to specify condition directly with RequiredIf Validation in Laravel
This article explains about specifying condition directly with Laravel RequiredIf Validation Rule. .
Delete a local Git branch using terminal
This article explains about deletion of a local branch from git using terminal. Also includes explanation about deleting branch forcefully.