alias ka='kubectl api-resources'
alias kap='kubectl apply'
alias kc='kubectl cluster-info'
alias kd='kubectl describe'
alias kdl='kubectl delete'
alias ke='kubectl exec'
alias kex='kubectl explain'
alias kep='kubectl expose'
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
| PowerShell: | |
| Get-FileHash -algorithm md5 \path\to\file | |
| CMD: | |
| certutil -hashfile \path\to\file md5 |
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
| Install Chocolatey: | |
| Set-ExecutionPolicy Bypass -Scope Process -Force; ` | |
| iex((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1')) | |
| clist -l | |
| cinst opera --params '"/NoDesktopShortcut"' -y | |
| cinst googlechrome -y | |
| cinst 7zip.install -y | |
| cinst ccleaner -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
| git clone https://github.com/davisking/dlib | |
| python setup.py bdist_wheel -G "Visual Studio 15 2017" |
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
| # Install Chocolatey | |
| # Install CUDA Toolkit 10.0 | |
| # Install cuDNN | |
| # Install Visual Studio Build Tools (C++) | |
| # Include VC++ 2015.3 v14.00 (v140) toolset for desktop | |
| # Install Miniconda | |
| cinst miniconda3 --params "/AddToPath:1" -y | |
| # Create Python environment |
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
| cd /d C:\Program Files\Docker\Docker\resources\bin | |
| aria2c https://github.com/thomasliddledba/kubenswin/raw/master/bin/kubenswin.exe | |
| aria2c https://github.com/thomasliddledba/kubectxwin/raw/master/bin/kubectxwin.exe | |
| ren kubectxwin.exe kubectx.exe | |
| ren kubenswin.exe kubens.exe |
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
| git config user.name "Azmi Kamis" | |
| git config user.email "azmi.kamis@constantlycoding.com" |
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 | |
| apt-get update |
OlderNewer