View cloudSettings
{"lastUpload":"2018-04-21T19:15:29.787Z","extensionVersion":"v2.9.0"}
View Notes.md

DevOps Transformation

A successful DevOps transformation should not only institute good development/deployment/operational best-practices but should instill a spirit of 'continuous transformation' among the team.

What it isnt:

  • Easy
  • Cure-all
  • A solution for technical debt
  • Free
  • Fast
View haproxy.cfg
global
log 127.0.0.1 local2
chroot /var/lib/haproxy
pidfile /var/run/haproxy.pid
maxconn 4000
user haproxy
group haproxy
daemon
View iptables_rules.sh
# Modify this file accordingly for your specific requirement.
# http://www.thegeekstuff.com
# 1. Delete all existing rules
iptables -F
# 2. Set default chain policies
iptables -P INPUT DROP
iptables -P FORWARD DROP
iptables -P OUTPUT DROP
View gist:f40fe593623cb9f5c55e9bd4d729f861
man() {
env \
LESS_TERMCAP_mb=$(printf "\e[1;31m") \
LESS_TERMCAP_md=$(printf "\e[1;31m") \
LESS_TERMCAP_me=$(printf "\e[0m") \
LESS_TERMCAP_se=$(printf "\e[0m") \
LESS_TERMCAP_so=$(printf "\e[1;44;33m") \
LESS_TERMCAP_ue=$(printf "\e[0m") \
LESS_TERMCAP_us=$(printf "\e[1;32m") \
man "$@"
View rename.sh
#brew install rename (for macosx)
rename 's/^\.*//' .*
View README.md
View Start up local Docker Machine on OSX automatically.md

Requirements

  • Docker Machine + Docker
  • curl
  • A Virtualbox-driven Docker Machine called "default" docker-machine create --driver virtualbox default (this is the default with Docker toolkit).

Usage

The git.io URL (http://git.io/vsk46) is a shortened form of the raw url of the plist.

View ssh_helper.sh
ssh-copy-id -i ~/.ssh/id_rsa.pub remote-host
View OutputStreamWriter.java
try (OutputStreamWriter osw =
new OutputStreamWriter(new FileOutputStream("/FilePath/Here"), "UTF-8")) {
PrintWriter pw = new PrintWriter(osw);
pw.write("Hello World");//does not add newline character
pw.close();
} catch (IOException e) {
e.printstacktrace;
}