Skip to content

Instantly share code, notes, and snippets.

__ny nayyaung

Block or report user

Report or block nayyaung

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
nayyaung /
Last active Dec 27, 2019
Passing bash variable to jq for usage in slurp expression
jq --arg variable "$variable" -s '.[0] * .... "'$variable'" ... ' other-input-to-slurp
nayyaung / delete-directory.ps1
Created Sep 3, 2018
Delete children folders recursively on Windows using powershell 5.1
View delete-directory.ps1
get-childitem logs -path .\ -directory -recurse | remove-item -confirm:$false -recurse -force
nayyaung / minikube script
Last active Oct 5, 2017
Starting minikube on Windows with Proxy
View minikube script
# first, download cntlm and setup proxy on local
minikube start --docker-env http_proxy= --docker-env https_proxy= --docker-env no_proxy=no_proxy=localhost,,$YOUR_DOCKER_REPOSITORY$,,,
# is the gateway IP of minikube virtual box. "route -n" can be used to find out gateway.
You can’t perform that action at this time.