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 | |
# Setup some variables needed for bootstrapping the environment | |
ROOT=/home/vrde/projectz/myproject | |
REPOS=${ROOT}/repos | |
export PYTHONPATH=${REPOS} | |
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
import csv | |
from jinja2 import Template,FileSystemLoader,Environment | |
loader = FileSystemLoader('templates') | |
env = Environment(loader=FileSystemLoader('templates')) | |
tmp=[] | |
hostgroups=set() | |
hosts = csv.reader(open('hosts.csv'), delimiter=',', quotechar='"') | |
for h in hosts: |
As configured in my dotfiles.
start new:
tmux
start new with session name: