This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Settings courtesy internet | |
# Bind C-a (Ctrl+a) to default action on tmux | |
set-option -g prefix C-a | |
unbind C-b | |
# Command sequence for nested tmux when running tmux inside another tmux, you | |
# need to send command to inner tmux | |
bind-key a send-prefix |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# Author: Anant Patil ([email protected]) | |
# | |
# Make a list of all the modified files in local subversion repository | |
# in current directory. Cycle throuh all the files and ask if you want | |
# to see the diff. | |
# | |
# Uses svnvimdiff command created by Geoff Buchan which can be found at | |
# https://github.com/vim-scripts/svnvimdiff/blob/master/svnvimdiff |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# Output colored text | |
# Color the contents of working copy green and old copy red. | |
svn diff $* | sed -e 's/^+/\x1b\[32m+/;s/^-/\x1b[31m-/;s/$/\x1b[0m/'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
cl=$1 | |
if [ "$cl" = "" ];then | |
echo "CL name not specified." | |
exit 1 | |
fi | |
svn st | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" 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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo OFF | |
start putty.exe -load "Solarized Dark" -ssh %* | |
exit |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[[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 |
OlderNewer