Skip to content

Instantly share code, notes, and snippets.

View sys0dm1n's full-sized avatar
🎯
Focusing

sys0dm1n sys0dm1n

🎯
Focusing
View GitHub Profile

Keybase proof

I hereby claim:

  • I am sys0dm1n on github.
  • I am sys0dm1n (https://keybase.io/sys0dm1n) on keybase.
  • I have a public key whose fingerprint is FA6A 0A6E D541 2D93 528C B8C2 9DA0 9AC2 59E1 23A4

To claim this, I am signing this object:

@sys0dm1n
sys0dm1n / 000-HAproxy-Varnish-Apache-Wordpress-Letsencrypt
Last active May 15, 2023 13:16
HAproxy, Varnish and Apahce configuration files compatible for Wordpress with Apache webserver with Let's Encrypt
Configuration files to setup Wordpress with Apache2 webserver, Varnish caching server and HAproxy for loadbalancing with support for Lets Encrypt
@sys0dm1n
sys0dm1n / jenkinsfile-linter.sh
Created October 23, 2018 08:28
Analyse Jenkinsfile code for potential errors
#!/bin/bash
jenkins_base_url=http://<jenkins-url:8080>/
username=<some-username>
apitoken=<api-token-generated-from-jenkins-dashboard>
curl -O $jenkins_base_url/jnlpJars/jenkins-cli.jar
java -jar jenkins-cli.jar -auth "$username":"$apitoken" -s "$jenkins_base_url" declarative-linter<Jenkinsfile
rm jenkins-cli.jar
@sys0dm1n
sys0dm1n / tmux.md
Last active January 25, 2019 08:09

To begin a new tmux session:

tmux

To split into two panes:

Ctrl-b %

To split the pane horizontally:

Smoke testing data encryption

Verify the cluster's ability to perform data encryption. Create a test secret:

kubectl create secret generic kubernetes-the-hard-way --from-literal="mykey=mydata"

Log in to one of your controller servers, and get the raw data for the test secret from etcd:

sudo ETCDCTL_API=3 etcdctl get \