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
# cat << EOF > /dev/null | |
# https://github.com/gpakosz/.tmux | |
# (‑●‑●)> dual licensed under the WTFPL v2 license and the MIT license, | |
# without any warranty. | |
# Copyright 2012— Gregory Pakosz (@gpakosz). | |
# /!\ do not edit this file | |
# instead, override settings in ~/.tmux.conf.local, see README.md | |
# -- general ------------------------------------------------------------------- |
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
Vagrant.configure("2") do |config| | |
config.vm.define "amihost", primary: true do |amihost| | |
amihost.vm.provision "shell", path: "scripts/yum-apt-startup.sh" | |
amihost.vm.box = "mwhooker/amazon-linux" | |
amihost.vm.hostname = 'amihost' | |
amihost.vm.network :private_network, ip: "192.168.56.105" | |
amihost.vm.network :forwarded_port, guest: 22, host: 10122, id: "ssh" | |
amihost.vm.provider :virtualbox do |v| |
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
molecule | |
docker | |
pre-commit | |
ansible | |
ansible-lint | |
flake8 | |
flake8-docstrings | |
yamllint | |
testinfra | |
docker |
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 | |
eval "$(pyenv init -)" | |
eval "$(pyenv virtualenv-init -)" | |
# Usage: $ sh newarproj.sh pythonversion projectname | |
molecule init role -r $2 && \ | |
cd $2 && CURDIR=$(PWD)\ | |
pyenv local $1 && \ | |
pyenv virtualenv venv-$2 && \ | |
pyenv local venv-$2 && \ |
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 | |
subscription-manager repos --enable rhel-7-server-optional-rpms \ | |
--enable rhel-server-rhscl-7-rpms | |
yum -y install @development | |
yum -y install rh-python36 | |
scl enable rh-python36 bash | |
yum install ansible | |
ansible --version |
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
### Linux ### | |
*~ | |
# temporary files which can be created if a process still has a handle open of a deleted file | |
.fuse_hidden* | |
# KDE directory preferences | |
.directory |
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 | |
eval "$(pyenv init -)" | |
eval "$(pyenv virtualenv-init -)" | |
# Usage: $ sh mk-venv | |
if [[ -z "${1}" ]]; then | |
echo "Usage: $ mk-venv pythonversion" | |
exit 1 | |
fi |