Skip to content

Instantly share code, notes, and snippets.

@vkmc
vkmc / README-Template.md
Created August 24, 2018 03:58 — forked from PurpleBooth/README-Template.md
A template to make good README.md

Project Title

One Paragraph of project description goes here

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites

@vkmc
vkmc / tmux_cheatsheet.markdown
Created January 26, 2018 15:01 — forked from henrik/tmux_cheatsheet.markdown
tmux cheatsheet

tmux cheatsheet

As configured in my dotfiles.

start new:

tmux

start new with session name:

@vkmc
vkmc / virt-install-xenial
Created February 1, 2017 20:32 — forked from tombarron/virt-install-xenial
script to install a VM for use as devstack host
#!/bin/bash
## Derives from: http://giovannitorres.me/create-a-linux-lab-on-kvm-using-cloud-images.html
## Assumes you have a xenial cloud image in $DIR below, via e.g.
# wget https://cloud-images.ubuntu.com/xenial/current/xenial-server-cloudimg-amd64-disk1.img
# Take one argument from the commandline: VM name
if ! [ $# -eq 1 ]; then
echo "Usage: $0 <node-name>"

Multiple SSH Keys settings for different github account

create different public key

create different ssh key according the article Mac Set-Up Git

$ ssh-keygen -t rsa -C "your_email@youremail.com"
@vkmc
vkmc / marconi-setup
Last active December 19, 2015 18:29 — forked from anonymous/marconi-setup
## setting up
vkmc@havana:/opt/stack/marconi$ virtualenv marconi
New python executable in marconi/bin/python
Installing distribute..............................................................................................................................................................................................done.
Installing pip...............done.
vkmc@havana:/opt/stack/marconi$ source marconi/bin/activate
(marconi)vkmc@havana:/opt/stack/marconi$ python setup.py develop
running develop
running egg_info