This notes applied to Kubernetes version 1.9.1-00 on Ubuntu Xenial.
TO BE WRITTEN
- Swap should be disabled (see
/etc/fstab)
| log / stdout "\{\"hostname\":\"{host}\",\"remote\":\"{remote}\",\"user\":\"{user}\",\"when_iso\":\"{when_iso}\",\"method\":\"{method}\",\"host\":\"{host}\",\"uri\":\"{uri}\",\"proto\":\"{proto}\",\"status\":\"{status}\",\"size\":\"{size}\",\"query\":\"{query}\",\"mitm\":\"{mitm}\",\"latency_ms\":\"{latency_ms}\",\"tls_cipher\":\"{tls_cipher}\",\"tls_version\":\"{tls_version}\",\"scheme\":\"{scheme}\",\"referer\":\"{>Referer}\",\"user_agent\":\"{>User-Agent}\",\"fragment\":\"{fragment}\"\}" |
| #!/bin/bash -x | |
| ## Setup http://labs.play-with-k8s.com/ env ala' jjo | |
| # YEAH I TRUST RUNNING STUFF DIRECTLY AS ROOT way -> | |
| # | |
| # bash -x <( curl -L bit.do/jjo-pwk-sh ) | |
| # | |
| # https://gist.github.com/jjo/78f60702fbfa1cbec7dd865f67a3728a/edit | |
| # http://bit.do/admin/edit/jjo-pwk-sh | |
| # |
| #!/usr/bin/env zsh | |
| # in fino veritas | |
| # Borrowing shamelessly from these oh-my-zsh themes: | |
| # fino-time | |
| # pure | |
| # https://gist.github.com/smileart/3750104 | |
| # Set required options |
| #!/bin/bash | |
| # | |
| # Script to remove GPG key from git-crypt | |
| # | |
| # It will re-initialize git-crypt for the repository and re-add all keys except | |
| # the one requested for removal. | |
| # | |
| # Note: You still need to change all your secrets to fully protect yourself. | |
| # Removing a user will prevent them from reading future changes but they will | |
| # still have a copy of the data up to the point of their removal. |
| // ==UserScript== | |
| // @name Gitwebmarkdown | |
| // @version 0.1 | |
| // @description renders readme files in markdown | |
| // @include http://yourserverhere.com/git/* | |
| // @require http://ajax.googleapis.com/ajax/libs/jquery/2.0.3/jquery.min.js | |
| // @require http://cdnjs.cloudflare.com/ajax/libs/showdown/0.3.1/showdown.min.js | |
| // ==/UserScript== | |
| var converter = new Showdown.converter(); |
| #!/usr/bin/env zsh | |
| # in fino veritas | |
| # Borrowing shamelessly from these oh-my-zsh themes: | |
| # fino-time | |
| # pure | |
| # https://gist.github.com/smileart/3750104 | |
| # Set required options |
| --- | |
| - name: Load NRPE variables from Hiera | |
| connection: local | |
| hiera: path=lib/hiera/bin/hiera key="{{ item.value }}" fact="{{ item.key }}" source=hiera.yaml | |
| args: | |
| context: | |
| environment: "{{ environment }}" | |
| sitecode_lc: "{{ sitecode_lc }}" | |
| with_dictionary: | |
| nrpe_server_port: "nrpe_server_port" |
| This playbook has been removed as it is now very outdated. |