How to Disable Auto-Start for Docker Containers
Docker containers are an essential part of modern development workflows, but sometimes, an automatically starting container can cause unnecessary overhead when you boot your machine. If you want to...
Docker containers are an essential part of modern development workflows, but sometimes, an automatically starting container can cause unnecessary overhead when you boot your machine. If you want to...
Managing Node.js versions effectively is crucial for developers working across multiple projects or environments. Here’s a concise overview of the best tools available to install and manage Node.js...
Monitor MONITOR is a debugging command that streams back every command processed by the Redis server. It can help in understanding what is happening to the database. redis-cli monitor
Common Connect to the database from the command line psql -h 127.1.2.3 -U postgres_user database_name Database Create a new database # Create a new database with the custom lc_collate, lc_cty...
Yarn yarn upgrade-interactive Pnpm pnpm update --interactive [--recursive] [--latest] [--prod] [--dev]
# git log -1 HEAD # => git last git config --global alias.last 'log -1 HEAD' # git reset HEAD -- fileA # => git unstage fileA git config --global alias.unstage 'reset HEAD --' # git checkou...
Java project Spring boot with redis cache ➜ Refer to: here Kotlin project Barcode Generate & download QRCode ➜ Refer to: here Some utils Date Time,… ➜ Refer to: here
$SqlPath = "$([System.IO.Path]::GetFullPath("$($MyInvocation.MyCommand.Path)\.."))\sql" $DBHost = "localhost" $DBPort = "5432" $DBName = "myapp" $DBUser = "postgres" $DBPassword = "postgres" $Env...
Register Scheduled Task $ScriptPath = "$([System.IO.Path]::GetFullPath("$($MyInvocation.MyCommand.Path)\.."))\script" $TaskName = "CleanData" $TaskFolder = "\MyApp" $Trigger = New-ScheduledTaskTr...
1. Check Status and Stop the Service function Stop-Service { Param ( [ValidateSet("TCP", "UDP")] $Method, $Port ) $Process = Get-Process -Method $Method -Port $Port ...