Skip to content

Instantly share code, notes, and snippets.

View ronakbanka's full-sized avatar
🏠
Working from home

Ronak Banka ronakbanka

🏠
Working from home
View GitHub Profile
#!/bin/bash
apt-get install -y build-essential
apt-get install -y clang
apt-get install -y libblocksruntime-dev
apt-get install -y libkqueue-dev
apt-get install -y libpthread-workqueue-dev
apt-get install -y gobjc
apt-get install -y libxml2-dev
apt-get install -y libjpeg-dev
apt-get install -y libtiff-dev
---
<%
director_uuid = "81fa055f-8a94-4d34-9e67-59edbc25874b"
protocol = "http"
cf_release = "153"
ip_address = "10.112.219.59"
common_password = "c1oudc0w"
#root_domain = "10.112.218.60.xip.io"
root_domain = "10.112.219.59.xip.io"
deployment_name = "cf-demo"
---
<%
director_uuid = "YOUR BOSH DIRECTORY ID"
protocol = "http"
cf_release = "155"
cf_services_release = "0.3-dev"
ip_address = "172.21.42.135"
cc_api_url = "http://api.YOURDOMAIN.com"
common_password = "c1oudc0w"
root_domain = "YOURDOMAIN.com"
<%
director_uuid = 'CHANGEME'
static_ip = 'CHANGEME'
root_domain = "#{static_ip}.xip.io"
deployment_name = 'cf'
cf_release = '170'
protocol = 'http'
common_password = 'c1oudc0wc1oudc0w'
%>
---
<% deployment_name = 'docker' %>
<% os = 'ubuntu' %>
<% tld = 'microbosh' %>
<% director_uuid = 'GET_FROM_BOSH_STATUS' %>
---
name: <%= deployment_name %>
director_uuid: <%= director_uuid %>
releases:
- name: docker
#!/bin/bash
#
# pgpool-II replication manager
#
# Interfaces with pgpool's pcp command-line tools to provide access to common functions for managing
# load-balancing and failover.
#
# dsimmons@squiz.co.uk
# 2011-08-28
<%
director_uuid = 'CHANGEME'
static_ip = 'CHANGEME'
root_domain = "#{static_ip}.xip.io"
deployment_name = 'cf'
cf_release = '170'
protocol = 'http'
common_password = 'c1oudc0wc1oudc0w'
%>
---
Quick gist on getting vsphere and vcenter and fog/vsphere going
# Things to download
- Download free evaluation version of window 2008
- Download free evaluation of esxi v5
- Download free evaluation of esxi vsphere (control center) iso
# Install esxi in vmware fusion
1)Install esxi in vmware (select vmware/esx as host)
create a user root/pipopopo
@ronakbanka
ronakbanka / .gitconfig
Last active August 29, 2015 14:22 — forked from robmiller/.gitconfig
#
# Working with branches
#
# Get the current branch name (not so useful in itself, but used in
# other aliases)
branch-name = "!git rev-parse --abbrev-ref HEAD"
# Push the current branch to the remote "origin", and set it to track
# the upstream branch
publish = "!git push -u origin $(git branch-name)"

Keybase proof

I hereby claim:

  • I am ronakbanka on github.
  • I am ronakbanka (https://keybase.io/ronakbanka) on keybase.
  • I have a public key ASAF37NcdOgn35aDetDAKE0DZq1G0gLdCFFCu54J324CDwo

To claim this, I am signing this object: