Skip to content

Instantly share code, notes, and snippets.

View anantpatil's full-sized avatar

Anant Patil anantpatil

  • VMware
  • Bangalore
View GitHub Profile
The interlock at github.com/anantpatil/interlock/tree/avi-extn
integrates Avi with Docker UCP.
To use interlock, perform following steps:
0. Pre-requisites:
a. UCP version 2.1 or above
b. Docker version 1.13 or above
c. docker-compose 1.11 or above
@anantpatil
anantpatil / config-main.cfg
Created January 21, 2015 06:45
main config for IDLE. Keep this and config-highlight.cfg in ~/.idlerc/
[Theme]
name = desert
default = 0
[EditorWindow]
font = source code pro
font-size = 9
@anantpatil
anantpatil / config-highlight.cfg
Created January 21, 2015 06:43
config-highlight for IDLE with solarized dark, light and desert colorscheme
[Solarized Dark]
normal-foreground = #839496
normal-background = #002b36
keyword-foreground = #859900
keyword-background = #002b36
builtin-foreground = #b58900
builtin-background = #002b36
comment-foreground = #586e75
comment-background = #002b36
string-foreground = #2aa198
[[local|localrc]]
DATABASE_PASSWORD=stackdb
ADMIN_PASSWORD=nomoresecrete
SERVICE_PASSWORD=$ADMIN_PASSWORD
# openssl rand -hex 10
SERVICE_TOKEN=thequickbrownfox
RABBIT_PASSWORD=stackqueue
# Host IP to connect to local network
[[local|localrc]]
DATABASE_PASSWORD=stackdb
ADMIN_PASSWORD=nomoresecrete
SERVICE_PASSWORD=$ADMIN_PASSWORD
# openssl rand -hex 10
SERVICE_TOKEN=thequickbrownfox
RABBIT_PASSWORD=stackqueue
#DEST=/home/passwordlessuserondebian
How to setup:
----
On Ubuntu, download the devstack from
$ git clone https://github.com/openstack-dev/devstack.git devstack
and create the stack user by running the command as root. This is
important.
$ sudo su
$ devstac/tools/create-stack-user.sh
$ exit
@anantpatil
anantpatil / putty.bat
Created May 11, 2014 04:49
putty.bat
@echo OFF
start putty.exe -load "Solarized Dark" -ssh %*
exit
@anantpatil
anantpatil / .zshrc
Created March 20, 2013 06:19
.zshrc
# Lines configured by zsh-newuser-install
HISTFILE=~/.histfile
HISTSIZE=1000
SAVEHIST=1000
bindkey -v
# End of lines configured by zsh-newuser-install
# The following lines were added by compinstall
zstyle :compinstall filename '/home/patilana/.zshrc'
autoload -Uz compinit
@anantpatil
anantpatil / .vimrc
Last active December 15, 2015 04:38
vimrc file.
" set soft wrap, automatic line break
" show breaks in like with ...
" set nolist as it messes up with linebreak
syntax on
set wrap lbr nolist showbreak=…
"set sw=4 "Use this when coding python
set sw=4
set ai wm=5 sm
set smarttab
set smartindent
@anantpatil
anantpatil / preparecommit
Created March 20, 2013 06:13
A script to help commit changes from repository. When run on local workspace, it creates a .commit.sh file which contains all the file that needs to be committed and creates .comments.txt which has comments logged into it. Commit script (.commit.sh) has reference to comments file. After you run this script, review the changes in .commit.sh and c…
#!/usr/bin/env bash
# A script to select added/modified files from working copy and commit
# them. Before commiting, takes the comments as well.
# TODO: Commit to svn repository? May be not, just to review and commit
# later whenever you want.
commit_script=.commit.sh
comments_file=.comments.txt