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 | |
# install docker & docker-compose on Ubuntu 16.04 xenial | |
echo "starting install" | |
apt-get update | |
apt-get install -y apt-transport-https ca-certificates | |
apt-key adv --keyserver hkp://p80.pool.sks-keyservers.net:80 --recv-keys 58118E89F3A912897C070ADBF76221572C52609D | |
#echo "deb https://apt.dockerproject.org/repo ubuntu-trusty main" > /etc/apt/sources.list.d/docker.list | |
echo "deb https://apt.dockerproject.org/repo ubuntu-xenial main" > /etc/apt/sources.list.d/docker.list |
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 | |
echo "Uninstalling POW" | |
curl get.pow.cx/uninstall.sh | sh #if you have pow installed | |
echo "Setting port for POW to 88" | |
echo 'export POW_DST_PORT=88' >> ~/.powconfig; source ~/.powconfig; | |
echo "Installing Vhost for POW *.dev" | |
sudo curl -L https://gist.githubusercontent.com/soupmatt/1058580/raw/zzz_pow.conf -o /private/etc/apache2/other/zzz_pow.conf | |
echo "Restarting Apache" | |
sudo apachectl restart | |
echo "Installing POW" |
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
# Merge and squash commits | |
git checkout master | |
git merge --squash private_feature_branch | |
git commit -v | |
# Remove a tag locally | |
git tag -d mytag | |
# Remove tag remotely | |
git push origin :refs/tags/mytag |