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
<h1>OUTSIDE RAW</h1> | |
hello testy | |
My email is {{ user.email }} | |
My name is {{ user.name }} | |
{% raw %} | |
{% raw %} | |
<h1>RAW</h1> | |
{% endraw %} | |
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
kubectl version | |
VBoxManage -version | |
rm ~/Library/VirtualBox/HostInterfaceNetworking-vboxnet*-Dhcpd.leases | |
minikube start --memory 8192 --disk-size 200g --cpus 4 --vm-driver=virtualbox | |
minikube ssh "docker run --rm --net=host -v /var/lib/minikube:/var/lib/minikube:ro sectionio/section-init" | |
minikube service -n section-shared developer-pop & | |
eval $(minikube docker-env) | |
docker image ls | |
minikube dashboard & |
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/bash | |
# https://gist.githubusercontent.com/niccolox/1707872f2798b3ca0994/raw/ac44252649d6ed74e91805ad7b85075e7e1063a1/ubuntu-ansible.sh | |
sudo apt-get install software-properties-common -yq | |
sudo apt-add-repository ppa:ansible/ansible -y | |
sudo apt-get update | |
sudo apt-get install -yq ansible | |
sudo apt-get install -yq nano | |
sudo apt-get install -yq byobu |
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
# login to http://10.211.55.100:7180 | |
# swappiness needs to be fixed, its set to 60, should be less than 10 | |
# vagrant plugin install vagrant-hostmaster | |
# also cachier, this can bork | |
$master_script = <<SCRIPT | |
#!/bin/bash | |
apt-get install curl -y | |
REPOCM=${REPOCM:-cm5} |
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
#cloud-config | |
--- | |
coreos: | |
etcd: | |
# generate a new token for each unique cluster from https://discovery.etcd.io/new | |
# uncomment the following line and replace it with your discovery URL | |
# discovery: https://discovery.etcd.io/12345693838asdfasfadf13939923 | |
addr: $private_ipv4:4001 | |
peer-addr: $private_ipv4:7001 | |
# give etcd more time if it's under heavy load - prevent leader election thrashing |
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
sudo gsettings set com.canonical.Unity.Lenses disabled-scopes "['more_suggestions-amazon.scope', 'more_suggestions-u1ms.scope', 'more_suggestions-populartracks.scope', 'music-musicstore.scope', 'more_suggestions-ebay.scope', 'more_suggestions-ubuntushop.scope', 'more_suggestions-skimlinks.scope']" | |
sudo gsettings set com.canonical.desktop.interface scrollbar-mode normal | |
sudo gsettings set org.gnome.nautilus.preferences enable-interactive-search false | |
sudo add-apt-repository -y ppa:peterlevi/ppa | |
sudo apt-get update | |
sudo apt-get install variety -yq | |
sudo apt-get install unity-tweak-tool -yq | |
sudo add-apt-repository -y ppa:tiheum/equinox | |
sudo apt-get update | |
sudo apt-get install -yq faience-theme |
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
# This kickstart allows to do base installation of Fedora 14 x86_64 with | |
# contextualisation scripts for StratusLab. | |
install | |
text | |
#url --url http://download.fedoraproject.org/pub/fedora/linux/releases/14/Everything/x86_64/os/ | |
#url --url http://mirrors.ircam.fr/pub/fedora/linux/releases/14/Everything/x86_64/os/ | |
url --url http://dl.fedoraproject.org/pub/alt/stage/21-Alpha-T2/Server/x86_64/os/ | |
#repo --name=Quattor --baseurl=http://quattorsrv.lal.in2p3.fr/packages/os/fedora14-x86_64/updates/ | |
#repo --name=StratusLab --baseurl=http://quattorsrv.lal.in2p3.fr/packages/stratuslab/ |
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/bash | |
vagrant up | |
vagrant ssh -c 'cd /vagrant; sudo ./install.debian.sh' |
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 : | |
$devshop_hosts = <<SCRIPT | |
#!/bin/bash | |
cat > /etc/hosts <<EOF | |
127.0.0.1 localhost | |
# The following lines are desirable for IPv6 capable hosts | |
::1 ip6-localhost ip6-loopback |
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
# deis install | |
clear | |
sudo apt-get remove --purge openssh-server avahi-daemon | |
sudo mv /var/run/avahi-daemon /var/run/avahi-daemon_bak | |
sudo apt-get remove --purge openssh-server avahi-daemon | |
clear | |
sudo apt-get install fail2ban python-software-properties curl apt-transport-https -y | |
sudo reboot now | |
cd /home/niccolox/Projects/deis/deisvagrant | |
cd deis |
NewerOlder