Skip to content

Instantly share code, notes, and snippets.

View rtapadar's full-sized avatar

Rudrajit Tapadar rtapadar

  • Symantec
  • Mountain View, CA
View GitHub Profile
set hlsearch
set nocompatible
set autoindent
set ruler
set tabstop=4
set shiftwidth=4
set softtabstop=4
set expandtab
filetype plugin indent on
syntax on
@rtapadar
rtapadar / nosetests
Created June 8, 2017 23:17
nosetests with coverage
nosetests --with-coverage --cover-package=<package-name>
@rtapadar
rtapadar / vimrc
Last active May 14, 2018 23:52
minimal vimrc
set hlsearch
set nocompatible
set autoindent
set ruler
set tabstop=4
set shiftwidth=4
set softtabstop=4
set expandtab
filetype plugin indent on
syntax on
To view the facts from all the hosts in the inventory:
ansible -m setup all -i hosts
Flush cache: nscd -i hosts
tcpdump -i <interface> 'port <port-num>'
# config file for ansible -- http://ansible.com/
# ==============================================
# nearly all parameters can be overridden in ansible-playbook
# or with command line flags. ansible will read ANSIBLE_CONFIG,
# ansible.cfg in the current working directory, .ansible.cfg in
# the home directory or /etc/ansible/ansible.cfg, whichever it
# finds first
[defaults]