A comprehensive collection of resources, commands, configurations, and templates used in daily development life.
- Overview
- Features
- Quick Start
- Directory Structure
- Git Commands
- Terminal Commands
- Code Snippets
- Contributing
- License
This repository is a curated collection of developer resources covering 38+ topics with 100+ files including:
- ๐ Commands & Cheat Sheets - Quick reference for daily operations
- โ๏ธ Configuration Files - Ready-to-use configs for popular tools
- ๐ป Code Snippets - Reusable templates and patterns
- ๐ CI/CD Workflows - GitHub Actions and GitLab CI examples
- ๐ณ Docker & DevOps - Containerization and infrastructure patterns
- ๐๏ธ Database Queries - SQL, NoSQL, and ORM patterns
- ๐งช Testing Frameworks - Jest, Vitest, Playwright, Cypress
- โ๏ธ Cloud Platforms - AWS, Vercel, Netlify deployment guides
- ๐ Security Practices - Best practices and GPG setup
- โก Performance - Debugging, profiling, and optimization guides
- โ Comprehensive Coverage - 38+ directories covering all aspects of development
- โ Ready-to-Use - Copy-paste configurations and templates
- โ Well-Documented - Each directory includes detailed README files
- โ Practical Examples - Real-world code snippets and patterns
- โ Best Practices - Industry-standard approaches and conventions
- โ Cross-Platform - Resources for Linux, macOS, and Windows
- โ Multiple Languages - JavaScript, TypeScript, Python, and more
- โ Regular Updates - Continuously updated with new resources
- Need Docker commands? โ Docker
- Setting up CI/CD? โ CI-CD
- Database queries? โ Database
- Testing setup? โ Testing
- API design? โ API Design
- Configuration files? โ Configs
# Copy Prettier config
cp Configs/.prettierrc.json ./your-project/
# Copy ESLint config
cp Configs/.eslintrc.json ./your-project/
# Copy EditorConfig
cp Configs/.editorconfig ./your-project/# Setup development environment
cd Scripts/
chmod +x setup-dev-env.sh
./setup-dev-env.sh๐ณ Docker
Docker commands, docker-compose templates, and Dockerfile examples.
- Container management commands
- Docker Compose configuration
- Multi-stage build templates
๐๏ธ Database
Database commands and queries for PostgreSQL, MongoDB, MySQL, and more.
- SQL commands and patterns
- PostgreSQL advanced queries
- MongoDB operations
- Backup and restore procedures
๐ฆ Node
Node.js and package manager commands (npm, pnpm, yarn, bun).
- Package management commands
- package.json templates
- .npmrc configuration examples
๐ง Scripts
Automation scripts for development environment setup.
- Development environment setup
- Tool installation scripts
- Configuration backup utilities
๐ SSH
SSH configuration, key generation, and remote access guides.
- SSH key generation
- SSH config examples
- Port forwarding
- File transfer (SCP, rsync)
๐ง Linux
Linux commands cheat sheet for daily operations.
- File and directory operations
- System management
- Network commands
- Package management
๐ป Snippets
Reusable code snippets and templates.
- React component templates
- Next.js patterns
- TypeScript utility types
๐จ Web Development
HTML, CSS, and modern web development patterns.
- HTML/CSS snippets
- Tailwind CSS utilities
- Flexbox and Grid examples
- Responsive design patterns
๐ Python
Python commands, patterns, and best practices.
- Virtual environment setup
- Package management (pip, poetry)
- Testing with pytest
- Common Python patterns
๐ GraphQL
GraphQL queries, mutations, and best practices.
- Query and mutation patterns
- Schema definitions
- Apollo Client examples
๐ WebSocket
WebSocket connection patterns and real-time communication.
- Native WebSocket examples
- Socket.io patterns
- Connection management
๐๏ธ ORM Patterns
Prisma, TypeORM, and Sequelize patterns.
- Prisma examples
- TypeORM patterns
- Sequelize queries
- Database migrations
๐ญ State Management
Redux, Zustand, Context API, and state management patterns.
- Redux Toolkit patterns
- Zustand examples
- Context API patterns
๐ฑ Mobile Development
React Native patterns and mobile development resources.
- React Native components
- Mobile API patterns
- Push notifications
โธ๏ธ DevOps
Kubernetes, Terraform, and Infrastructure as Code.
- Kubernetes commands and manifests
- Terraform configurations
- Infrastructure patterns
๐ CI-CD
Continuous Integration and Continuous Deployment workflows.
- GitHub Actions workflows
- GitLab CI configurations
- Deployment pipelines
โ๏ธ Cloud
Cloud platform commands and deployment guides.
- AWS CLI commands
- Vercel deployment
- Netlify configuration
๐ Monitoring & Logging
Logging patterns, monitoring tools, and observability.
- Winston and Pino logging
- Prometheus and Grafana
- Error tracking (Sentry)
- APM tools
๐พ Caching
Redis, Memcached, and caching strategies.
- Redis commands and patterns
- Cache invalidation strategies
- CDN configuration
๐งช Testing
Testing frameworks and patterns (Jest, Vitest, Playwright, Cypress).
- Unit testing configurations
- E2E testing patterns
- Test utilities and mocks
- Coverage setup
โก Performance
Performance optimization and debugging guides.
- Debugging techniques
- Profiling tools
- Performance metrics
๐ Security
Security best practices and GPG setup.
- Authentication patterns
- Input validation
- GPG key management
๐ง Troubleshooting
Common errors, solutions, and debugging tips.
- Common error solutions
- Debugging guides
- Performance troubleshooting
โ๏ธ Configs
Common configuration files for projects.
- .editorconfig
- .prettierrc.json
- .eslintrc.json
- .gitignore
Environment variable management and best practices.
- .env file management
- Configuration patterns
- Secret management
๐ป VS Code
VS Code settings, extensions, and configuration.
- Editor settings
- Recommended extensions
- Workspace configuration
๐จ Oh My Posh
Terminal customization with Oh My Posh.
- Theme configuration
- Installation guide
๐ Oh my Zsh
Zsh shell configuration and aliases.
- Custom aliases
- Plugin configuration
- Prompt customization
๐พ PowerShell
PowerShell and Windows Terminal configuration.
- Terminal settings
- Profile configuration
๐ API
HTTP tools, API testing, and status codes reference.
- curl command examples
- HTTP status codes
- API testing patterns
๐ฏ API Design
RESTful API design patterns and best practices.
- REST principles
- API versioning strategies
- Rate limiting patterns
- OpenAPI/Swagger documentation
๐ง Email
Email templates, SMTP configuration, and sending patterns.
- HTML/text email templates
- SMTP configuration
- Email service integration
๐ Regex
Regular expressions and text processing tools.
- Common regex patterns
- sed and awk examples
- Text manipulation commands
๐ File Handling
File upload, processing, and optimization patterns.
- File upload patterns
- Image processing
- PDF generation
๐ Search
Elasticsearch, Algolia, and full-text search patterns.
- Elasticsearch queries
- Algolia integration
- Search optimization
๐จ UI Components
Form validation, modals, loading states, and error handling patterns.
- Form validation patterns
- Modal/dialog components
- Loading states
- Error handling UI
๐ Internationalization
i18n setup, translation management, and locale handling.
- React i18next setup
- Next.js i18n
- Locale handling
- Date/time formatting
๐ฆ Build Tools
Webpack, Vite, Rollup configurations and build optimization.
- Webpack configuration
- Vite setup
- Rollup configuration
- Build optimization
๐งฎ Algorithms
Common algorithms, data structures, and problem-solving patterns.
- Sorting and search algorithms
- Data structures examples
- Complexity analysis
๐๏ธ Design Patterns
Software design patterns and best practices.
- Creational patterns
- Structural patterns
- Behavioral patterns
๐ Markdown
Markdown cheatsheet and documentation patterns.
- Markdown syntax reference
- Documentation templates
- JSDoc examples
๐ Cheat-Sheets
Quick reference materials for common tasks.
๐ Templates
Project starter templates and boilerplates.
# Create and switch to a new branch
git checkout -b (branch name)
# Switch to an existing branch
git checkout (branch name)
git switch main
# Switch to main branch and pull latest changes
git checkout main
git pull origin main
# Push the branch to remote repository
git push -u origin (branch name)
# Delete a local branch
git branch -d (branch name)
# Delete a remote branch
git push origin --delete (branch name)# Add all changes to staging
git add -A
# Commit changes with a message
git commit -m "Commit message"
# Amend the last commit message
git commit --amend -m "New commit message"
# Create an empty commit
git commit --allow-empty -m "Your commit message"# Push changes to the remote repository
git push origin (branch name)
# Pull latest changes from the remote repository
git pull origin (branch name)
# Fetch latest updates from the remote repository
git fetch --all# Merge another branch into the current branch
git merge (branch name)
# Rebase a branch
git rebase (branch name)
# Rebase current branch with main
git rebase main# Reset the last commit (soft reset, keeps changes staged)
git reset --soft HEAD~1
# Reset the last commit (hard reset, discards changes)
git reset --hard HEAD~1
# Undo last pushed commit
git revert HEAD
# Remove a file from the staging area
git reset (file name)# Stash changes
git stash
# Apply the most recent stash
git stash pop# Check the status of the repository
git status
# Show a one-line log history
git log --oneline
# View the last commit
git show HEAD
# Show remote repositories
git remote -v# Cleanup branches
git branch cleanup
# Clean up untracked files (DANGEROUS: Use with caution!)
git clean -df# Configure user details
git config --global user.name "Your Name"
git config --global user.email "your.email@example.com"
# Check Git configuration
git config --list
# Create a .gitignore file to exclude unnecessary files
touch .gitignore
# Avoid committing sensitive data
git update-index --assume-unchanged (file name)
# Squash multiple commits before merging
git rebase -i HEAD~(number of commits)
# Check differences before committing
git diff # Shows unstaged changes
git diff --staged # Shows staged changes
# Set upstream branch for tracking
git branch --set-upstream-to=origin/(branch name) (branch name)
# Restore a specific file from the last commit
git checkout HEAD -- (file name)
# View commit history with full details
git log --graph --decorate --all --oneline# 1. Switch to main and pull latest changes
git checkout main
git pull origin main
# 2. Create a new branch for the fix
git checkout -b fix/your-issue-name
# or using switch
git switch -c fix/your-issue-name
# 3. Make your code changes (in VS Code or editor)
# 4. Stage your changes
git add .
# 5. Commit your changes with a descriptive message
git commit -m "message"
# 6. Push your branch to remote
git push -u origin fix/your-issue-name
# 7. Create a Pull Request (PR) on GitHub
# - Title: fix: align mobile layout
# - Description: Fixes #issue_number with screenshots if needed
# 8. Wait for review or bot to check (like ReviewDog or CI)
# 9. After approval, merge your PR into main
# 10. Clean up: delete the branch locally and remotely
git branch -d fix/your-issue-name
git push origin --delete fix/your-issue-name# Start the GPG agent daemon
gpg-agent --daemon
# Move a folder to another directory
mv FolderName directoryFor more terminal commands, see the Linux directory.
// Generate empty array for rendering components
Array.from({length:10}).map((_,i)=><Component key={i}/>);For more code snippets and templates, check the Snippets directory.
Contributions are welcome! This repository is meant to be a living collection of developer resources.
- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing-resource) - Add your resources following the existing structure
- Update documentation if needed
- Commit your changes (
git commit -m 'Add amazing resource') - Push to the branch (
git push origin feature/amazing-resource) - Open a Pull Request
- Follow the existing directory structure
- Include README.md files with clear documentation
- Add practical examples and use cases
- Keep code snippets concise and well-commented
- Update the main README.md if adding new directories
This repository is open source and available for personal use.
- Total Directories: 38+
- Total Files: 100+
- Topics Covered: 30+
- Languages: JavaScript, TypeScript, Python, Shell, YAML, JSON, Markdown
- Last Updated: 2025
Special thanks to all contributors and the open-source community for inspiration and best practices.
Created with โค๏ธ by Praveen Singh