Skip to content

Instantly share code, notes, and snippets.


Satyam Zode satyamz

Block or report user

Report or block satyamz

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
satyamz /
Created Oct 2, 2018 — forked from denji/
Simple Golang HTTPS/TLS Examples

Moved to git repository:

Generate private key (.key)
# Key considerations for algorithm "RSA" ≥ 2048-bit
openssl genrsa -out server.key 2048

# Key considerations for algorithm "ECDSA" ≥ secp384r1
# List ECDSA the supported curves (openssl ecparam -list_curves)
satyamz /
Created Aug 23, 2018 — forked from subfuzion/
curl POST examples

Common Options

-#, --progress-bar Make curl display a simple progress bar instead of the more informational standard meter.

-b, --cookie <name=data> Supply cookie with request. If no =, then specifies the cookie file to use (see -c).

-c, --cookie-jar <file name> File to save response cookies to.


Proposal: Add snapshot & clone support for k8s volumes to Weave Scope

Now that weave scope supports Kubernetes Volumes, it would be great to have snapshot and clone support built in Weave Scope.


  • Allow user to take a snapshot for the Kubernetes Volume using Weave Scope.
  • Allow user to restore a snapshot i.e. create a clone from the snapshot using Weave Scope.
  • Allow user to visualize and manage the snapshot & clone resources through Weave Scope.
View Useful

Uninstall minikube and Docker

minikube stop
minikube delete
docker stop $(docker ps -aq)
sudo rm -r ~/.kube ~/.minikube
sudo rm /usr/local/bin/localkube /usr/local/bin/minikube
systemctl stop '*kubelet*.mount'
sudo rm -rf /etc/kubernetes/

Minikube installation

Download & install kubectl

curl -LO$(curl -s

chmod +x ./kubectl

sudo mv ./kubectl /usr/local/bin/kubectl
View jenkins-app.yaml
kind: PersistentVolumeClaim
apiVersion: v1
name: jenkins-claim
annotations: openebs-standard
- ReadWriteOnce
satyamz / go-struct.go
Created Jan 5, 2018
Go struct for the json schema
View go-struct.go
type MockData []struct {
TeamID string `json:"team_id"`
ChannelID string `json:"channel_id"`
APIKey string `json:"api_key"`
ClsuterList []string `json:"clsuter_list"`
View json-single-schema.json
"team_id" : "T8HP5N491",
"channel_id" : "C8JMAKKPG",
"api_key": "YmF0Y2F2ZQ==",
"clsuter_list": [
"botcave-clsuter-one", "botcave-cluster-two" ]
View json-schema.json
"team_id" : "T8HP5N491",
"channel_id" : "C8JMAKKPG",
"api_key": "YmF0Y2F2ZQ==",
"clsuter_list": [
"botcave-clsuter-one", "botcave-cluster-two" ]
"team_id" : "T8HP5N491",

Effective Engineer - Notes

What's an Effective Engineer?

  • They are the people who get things done. Effective Engineers produce results.

Adopt the Right Mindsets

You can’t perform that action at this time.