kubectl config get-contexts
kubectl config get-contexts -o name | xargs -n 1 kubectl config delete-context
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| sudo apt update -y |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| REGION="us-east-1" | |
| echo "⚠️ Deleting AWS resources in region: $REGION" | |
| sleep 3 | |
| # ---------------- EC2 ---------------- | |
| echo "Deleting EC2 instances..." | |
| aws ec2 describe-instances --region $REGION \ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| for rg in $(az group list --query "[].name" -o tsv); do | |
| echo "Deleting Resource Group: $rg" | |
| az group delete --name $rg --yes --no-wait | |
| done |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| choco upgrade all -y | |
| winget upgrade --all |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| sudo yum update -y | |
| sudo yum install -y java-1.8.0-openjdk-devel | |
| cd /opt | |
| wget https://binaries.sonarsource.com/Distribution/sonarqube/sonarqube-7.6.zip | |
| unzip sonarqube-7.6.zip | |
| sudo groupadd sonar | |
| sudo useradd -c "Sonar System User" -d /opt/sonarqube-7.6 -g sonar -s /bin/bash sonar | |
| sudo chown -R sonar:sonar /opt/sonarqube-7.6 | |
| sudo chmod -R 775 /opt/sonarqube-7.6/ |
Microsoft DiskPart version 10.0.19041.3636
// CMD >> DISKPART
select disk 0
list disk
list partition
select Partition no.
delete partition
delete partition override
HELP DELETE PARTITION
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| sudo snap install code --classic |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| sudo apt install update -y |
NewerOlder