Mountain Lion (10.8) has three main difference compared to Lion (10.7):
- XCode 4.4 does not install Command Line Tools by default
- X11 isn't available anymore
- The installed version of OpenSSL has some bugs
upstream app { | |
server unix:/var/www/app.com/shared/sockets/unicorn.sock fail_timeout=0; | |
} | |
server { | |
server_name www.app.com; | |
rewrite ^ $scheme://app.com$request_uri? permanent; | |
} | |
server { | |
server_name app.com; |
config.action_controller.page_cache_directory = "#{Rails.root}/public/cache" |
#$HOME/.bundle/config | |
--- | |
BUNDLE_BIN: bin | |
BUNDLE_PATH: .bundle |
# Disable system integrity protection | |
# http://osxdaily.com/2015/10/05/disable-rootless-system-integrity-protection-mac-os-x/ | |
csrutil disable | |
reboot | |
brew install homebrew/versions/openssl098 | |
brew link openssl098 --force | |
cd ~/.rubies | |
ruby-build ree-1.8.7-2011.12 ree-1.8.7-2011.12 | |
brew unlink openssl098 |
# run | |
# pip install requests | |
# to install dependency | |
# If you need some help debugging your regexes, | |
# check your regex here: https://regex101.com/ | |
# Documentation for regex's are here: https://docs.python.org/2/library/re.html | |
# Hint: you can use re.findall(p, text) to get all matches |
export HOST=xxxxx | |
# run this on every node | |
sudo docker run -p 8946:8946 -p 8946:8946/udp -p 6868:6868 \ | |
--label "traefik.port=8080" \ | |
--label "traefik.frontend.rule=PathPrefixStrip: /dkron" \ | |
-v /usr/local/bin/docker:/usr/local/bin/docker \ | |
-v /var/run/docker.sock:/var/run/docker.sock \ | |
dkron/dkron \ |
apiVersion: extensions/v1beta1 | |
kind: Ingress | |
metadata: | |
name: frontend | |
annotations: | |
kubernetes.io/ingress.class: "linkerd" | |
spec: | |
backend: | |
serviceName: frontend | |
servicePort: http |
{ | |
"purchaserQuestions": [{ | |
"locale": "en_US", | |
"questions": [ | |
{ | |
"id": "firstName", | |
"property": "firstName", | |
"type": "TEXT", | |
"label": "First Name", | |
"value": "John", |