Skip to content

Instantly share code, notes, and snippets.

View dumpvn's full-sized avatar
🏠
Working from home

Phuc Nguyen dumpvn

🏠
Working from home
View GitHub Profile
@dumpvn
dumpvn / setup-new-pc.ps1
Last active March 5, 2022 10:55
setup common tools for new pc
$RsaPrivateKey = 'k6gwR00WuTioFUa1Jj0keCoWzZn4lOqHLPSc/cAo8bjyNLjmj7I7/hdJqbq/Ski1m2kZ5pkRuerQ1aZq5bwaVWvJB6L3sdQYq/SBtHkckVXNRenfeL++dMvZBdC+6Hwhtufm4ipTJb/gDthizE53vxGDo9Z35imkWuqYEMFFtYc2d9Aky79TA/IOpNk5iSFiFjNTni7EHIylPKbaiLPYxAicQLXodWTv0KvJUf06VCzOpXTkHu+1cKBzqH/IFcG/Xg/wHYapPhIN7iFu8iuK5lVVykYyjA1RgtS5baPG0+1DEPJbqDEB3vjeHDQaMqA3Kq5zyq0Hg5LyAuJEg5pnOTRfcci1Ne6oOP2AFMCoqQRhtQp0FBhpACw7hthZfMQssAtHTiM01QfRRulRgbmpxbSOvYULBLTE+8AfeiniK3b38PGs/xGjmOxD6IPhx0tRiwHgw4kBBiYn1eXFo1v+1fECxMxfK6ihwYtdTqKOXoXkLKDeelJp/G2y9cN/TB91k0P75jgICWfRNxxnFGD5Lv25wLk5SCNezY6ZB41S0q887rVkMUcceZzkSyzsSbeWBCfJwPMpLbAIVW9EJ21ZGjllGXn8Lnzhf8L4XcE9UHzt5yG6ly04Tbzijy0ASM2mWa9+kBv5Mu9nzQMSUTwKm/KnXCHNBCzCc03iU9VfDDnVG3pa5oJK7a/rgm3FZfLlh6HC8MW1/mwg/i6D+dz8cg6SDYrdPSim32Vd8wVztpB5neiV56mtcgaX4sW+jSQbqrwgvJEjRSIkNk4fUmbZvGdFyAIlGCL+TxSzxLcV1M1FEobl7BxGcFiPTckqnfYwIOUP8UDM9EMUM7tEmCKd7gXJuEcj6F/gaIinRQHxls9vE4kp5S/45XCckVZrO1JsmtOZFvSuXJ6oeRPDJchS165TnLMdXXhVEYamqqwTFpqS1smrpyaGUXd7qy4vFYguIs5GB4NgBbw+vs1cpWBwaWaTuuvURuHKI4G338GBGrHWIV
@dumpvn
dumpvn / quick-download.ps1
Last active March 6, 2022 16:05
quick-download.ps1
set-location $psscriptroot
[System.Net.ServicePointManager]::SecurityProtocol = [System.Net.SecurityProtocolType]::Tls12;
Set-PSRepository -Name 'PSGallery' -InstallationPolicy Trusted
Install-PackageProvider -Name NuGet -MinimumVersion 2.8.5.201 -Force -Confirm
Install-Module -Name PackageManagement -Force -MinimumVersion 1.4.6 -Scope CurrentUser -AllowClobber -Repository PSGallery
@dumpvn
dumpvn / bash_strict_mode.md
Created July 3, 2022 07:55 — forked from mohanpedala/bash_strict_mode.md
set -e, -u, -o, -x pipefail explanation