Skip to content

Instantly share code, notes, and snippets.

@tykeal
tykeal / cloud_switcher.sh
Created May 22, 2020 19:27
OpenStack cloud "switcher"
# requires python yq (pip install --user yq)
# requires openstack installed into a virtual env, adjust path accordingling
# requires that you use ~/.config/openstack/secure.yaml for all the clouds that you
# have passwords for. Adjust appropriately
# openstack
cloud() {
# export our cloud
export OS_CLOUD="$1"
@tykeal
tykeal / base_vimrc.sh
Created August 9, 2018 19:11
Tykeal's quick vim enhancement setup
# Make sure the following applications are installed on your system:
# puppet, puppet-lint, shellcheck, yamllint
# If you aren't doing any puppet development then puppet & puppet-lint can be
# skipped as can rodjek/vim-puppet
mkdir -p ~/.vim/bundle && pushd ~/.vim/bundle
for i in scrooloose/syntastic godlygeek/tabular elzr/vim-json \
tpope/vim-pathogen rodjek/vim-puppet
do
git clone https://github.com/${i}.git
### Keybase proof
I hereby claim:
* I am tykeal on github.
* I am tykeal (https://keybase.io/tykeal) on keybase.
* I have a public key whose fingerprint is FA4D B93E B903 4BBF B853 2A26 3360 FFB7 03A9 DA1F
To claim this, I am signing this object:
@tykeal
tykeal / gist:4788a345432ce06bc500
Created September 5, 2014 17:50
ODL settings mirror
<mirrors>
<mirror>
<id>nexus-mirror</id>
<name>Nexus mirror of all external resources and releases</name>
<url>http://nexus01.dfw.opendaylight.org:8081/nexus/content/groups/public</url>
<mirrorOf>external:*,!opendaylight-snapshot,!opendaylight-release,!central2</mirrorOf>
</mirror>
<mirror>
<id>nexus-opendaylight-snapshot-mirror</id>
<name>Local Nexus mirror for opendaylight.snapshot artifacts</name>