See how a minor change to your commit message style can make a difference.
git commit -m"<type>(<optional scope>): <description>" \ -m"<optional body>" \ -m"<optional footer>"
See how a minor change to your commit message style can make a difference.
git commit -m"<type>(<optional scope>): <description>" \ -m"<optional body>" \ -m"<optional footer>"
| #!/bin/bash | |
| set -eu | |
| _UID=$(id -u) | |
| GID=$(id -g) | |
| # give lxd permission to map your user/group id through | |
| grep root:$_UID:1 /etc/subuid -qs || sudo usermod --add-subuids ${_UID}-${_UID} --add-subgids ${GID}-${GID} root | |
| # set up a separate key to make sure we can log in automatically via ssh | |
| # with $HOME mounted |
| Ctrl-B : | |
| setw synchronize-panes on |
| [alias] | |
| recent = "!git for-each-ref --sort=-committerdate refs/heads/ --format='%(committerdate:short) %(refname:short)' | head -n 10" | |
| co = checkout | |
| cob = checkout -b | |
| coo = !git fetch && git checkout | |
| br = branch | |
| brd = branch -d | |
| brD = branch -D | |
| merged = branch --merged | |
| st = status |
| #!/bin/bash | |
| # Creates a bootable ISO from CoreOS' PXE images. | |
| # Also adds a run script to the OEM partition and converts the ISO so it can boot from USB media. | |
| # Based heavily off https://github.com/nyarla/coreos-live-iso - Thanks Naoki! | |
| set -e | |
| # Default configurations | |
| SYSLINUX_VERSION="6.02" |
| #!/bin/bash | |
| # `` sudo sh install.sh `` | |
| # Developement environnement | |
| # Important: use 'i686' instead of 'x86_64' | |
| # | |
| # For stable environnement see also : https://gist.github.com/mickaelandrieu/6312724 | |
| echo Installation de Phantomjs | |
| cd /usr/local/share | |
| sudo wget https://phantomjs.googlecode.com/files/phantomjs-1.9.2-linux-x86_64.tar.bz2 |
#####EDIT: NB Ban is technically different from Purge. Banned objects remain in memory but banning is faster than purging. Read the Varnish 3 documentation here and here.
Purge may be a more appropriate action for your use-case; although the examples in the gist below work, it's not necessarily the best way of doing this.
| #!/bin/bash | |
| set -ve | |
| lxc-create -n vpn -t ubuntu | |
| # ln -s /var/lib/lxc/vpn/config /etc/lxc/auto/vpn.conf | |
| perl -i -ple 's/#lxc.aa_profile = unconfined/lxc.aa_profile = unconfined/' /etc/lxc/auto/vpn.conf | |
| perl -i -ple 's/^exit 0/# exit 0/' /etc/rc.local | |
| cat >>/etc/rc.local <<hello | |
| mkdir -p /var/lib/lxc/vpn/rootfs/dev/net/ |
| TEMPLATE = template.tex | |
| STYLESHEET = style.css | |
| MD = $(wildcard *.md) | |
| TEX = $(patsubst %.md,%.tex,$(MD)) | |
| HTML = $(patsubst %.md,%.html,$(MD)) | |
| PDF = $(patsubst %.md,%.pdf,$(MD)) | |
| .PHONY: clean pdf html | |
| all: pdf html |
| #!/bin/bash | |
| echo "Generating an SSL private key to sign your certificate..." | |
| openssl genrsa -des3 -out myssl.key 1024 | |
| echo "Generating a Certificate Signing Request..." | |
| openssl req -new -key myssl.key -out myssl.csr | |
| echo "Removing passphrase from key (for nginx)..." | |
| cp myssl.key myssl.key.org | |
| openssl rsa -in myssl.key.org -out myssl.key |