Skip to content

Development Tools

Essential command references and guides for common development tools and workflows.

Quick Access

Most Popular:

Version Control

Git

Essential Git commands and workflows:

Stash Operations:

  • Stash specific files
  • Stash with untracked files
  • Apply and manage stashes

SSH Configuration:

  • Generate SSH keys
  • Configure multiple accounts
  • Add keys to GitHub/GitLab

Common Operations:

  • Branching and merging
  • Remote management
  • Viewing history
  • Undoing changes

Containerization

Docker

Complete Docker command reference with detailed guides for:

Images

  • Pull and push images
  • List and remove images
  • Build custom images
  • Image cleanup strategies

Containers

  • Create and run containers
  • Execute commands in containers
  • View logs and stats
  • Container lifecycle management

Compose

  • Multi-container applications
  • docker-compose.yml examples
  • Service orchestration
  • Environment configuration

.NET Development

.NET Core

.NET CLI commands and workflows:

Publishing:

  • Cross-platform builds (Windows, Linux, macOS)
  • Runtime identifiers (RIDs)
  • Single-file executables
  • Self-contained deployments

Project Management:

  • Create projects and solutions
  • Manage dependencies
  • NuGet packages
  • Entity Framework migrations

Development:

  • Build and run
  • Testing
  • Watch mode
  • Diagnostics

Multimedia

FFMPEG

Video and audio processing commands:

Video Operations:

  • Join multiple videos
  • Add audio to video
  • Convert formats and codecs
  • Trim and cut videos

Video Effects:

  • Resize and crop
  • Rotate and flip
  • Add watermarks
  • Compression

Audio:

  • Extract audio from video
  • Change volume
  • Audio normalization

Grep

Search for text patterns across PowerShell, Mac, and Linux:

Search in Files:

  • Case-insensitive text search
  • Line numbers and context
  • Count matches
  • Regular expressions

Find Files:

  • Recursive file search
  • Filter by file type
  • Exclude directories
  • Search in logs

Practical Examples:

  • Find TODO comments
  • Search for API keys
  • Find function definitions
  • Search import statements

Tool Categories

Build & Deployment

Version Control

  • Git - Git workflows and SSH

Text Processing

  • Grep - Text search and pattern matching

Media Processing

Common Workflows

New Project Setup

bash
# Create Git repository
git init
git remote add origin <url>

# Create .NET project
dotnet new webapi -n MyApi
cd MyApi
dotnet add package EntityFrameworkCore

# Initial commit
git add .
git commit -m "Initial commit"
git push -u origin main

Docker Development

bash
# Build and run with Docker Compose
docker-compose up -d

# View logs
docker-compose logs -f

# Execute commands
docker-compose exec app bash

# Stop containers
docker-compose down

Video Processing

bash
# Join videos
ffmpeg -f concat -safe 0 -i input.txt -c copy output.mp4

# Add music to video
ffmpeg -i video.mp4 -i music.mp3 -shortest output.mp4

# Compress video
ffmpeg -i input.mp4 -c:v libx264 -crf 28 output.mp4

Quick Tips

Git

Stash one file:

bash
git stash push -m "message" -- file.txt

Generate SSH key:

bash
ssh-keygen -t ed25519 -C "your_email@example.com"

Docker

Clean up everything:

bash
docker system prune -a --volumes

View container logs:

bash
docker logs --follow <container>

.NET

Clear NuGet cache:

bash
dotnet nuget locals all --clear

Publish single file:

bash
dotnet publish -c Release -r win-x64 --self-contained -p:PublishSingleFile=true

FFMPEG

Extract audio:

bash
ffmpeg -i video.mp4 -vn -c:a libmp3lame audio.mp3

Grep

Search in files (Linux/Mac):

bash
grep -r -n -i "pattern" --include="*.js" --exclude-dir=node_modules .

Search in files (PowerShell):

powershell
Get-ChildItem -Recurse -Include *.js | Select-String -Pattern "pattern"

See Also

External Resources

Released under the MIT License.