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
%global pypi_name bagpipe-bgp | |
Name: python-%{pypi_name} | |
Version: XXX | |
Release: XXX | |
Summary: Lightweight implementation of BGP IP VPN and E-VPN | |
License: ASL 2.0 | |
URL: https://github.com/Orange-OpenSource/bagpipe-bgp | |
Source0: https://<remove>files.pythonhosted.org/packages/source/b/%{pypi_name}/%{pypi_name}-%{version}.tar.gz |
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
[global] | |
font = Monospace 9 | |
# Allow a small subset of html markup: | |
# <b>bold</b> | |
# <i>italic</i> | |
# <s>strikethrough</s> | |
# <u>underline</u> | |
# | |
# For a complete reference see |
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
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
Vagrant.configure("2") do |config| | |
config.vm.box = "centos/7" | |
config.vm.box_check_update = true | |
config.vm.hostname = "puppet.example.com" | |
config.vm.provision :shell, :inline => "rpm -ivh https://yum.puppetlabs.com/puppetlabs-release-pc1-el-7.noarch.rpm" | |
config.vm.provision :shell, :inline => "yum -y update" | |
config.vm.provision :shell, :inline => "yum -y install puppet git" |
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
[user] | |
email = lhinds@redhat.com | |
name = lhinds | |
[alias] | |
prune = fetch --prune | |
# Because I constantly forget how to do this | |
# https://git-scm.com/docs/git-fetch#git-fetch--p | |
undo = reset --soft HEAD^ |
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
# https://github.com/lukehinds/dotfiles | |
export TERM="xterm-256color" | |
[[ $TERM == "dumb" ]] && unsetopt zle && PS1='$ ' && return | |
# Path to your oh-my-zsh installation. | |
export ZSH=~/.oh-my-zsh | |
# Set theme | |
ZSH_THEME="powerlevel9k/powerlevel9k" |
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
docker run -d -p 8080:8080 -p 29418:29418 \\n gerritforge/gerrit-centos7 | |
Login as adminstrator, create a user, add them to the adminstators group and then create a repo: | |
ssh -p 29418 lhinds@localhost gerrit create-project test-project --empty-commit | |
git clone ssh://lhinds@localhost:29418/test-project | |
cat << EOF > .gitreview | |
[gerrit] |
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 Vagrantfile | |
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
Vagrant.configure("2") do |config| | |
config.vm.box = "centos/7" | |
config.vm.provision :shell, :inline => "sudo yum install epel-release -y" | |
config.vm.provision :ansible do |ansible| | |
ansible.playbook = "deploy.yml" |
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
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
Vagrant.configure("2") do |config| | |
config.vm.box = "centos/7" | |
config.vm.provider "libvirt" do |vb| | |
vb.memory = "4096" | |
vb.cpus = "2" | |
end | |
config.vm.box_check_update = true |
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
CONFIGURE_ARGS='with-ldflags=-L/opt/vagrant/embedded/lib with-libvirt-include=/usr/include/libvirt with-libvirt-lib=/usr/lib' GEM_HOME=~/.vagrant.d/gems GEM_PATH=$GEM_HOME:/opt/vagrant/embedded/gems PATH=/opt/vagrant/embedded/bin:$PATH vagrant plugin install ~/tmp/vagrant-libvirt/vagrant-libvirt-0.0.40.gem |
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
export PATH=$PATH:/usr/bin/core_perl |