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 | |
if [ -z "$VERSION" ]; then | |
if [ -z "$1" ]; then | |
echo "Missing Version" | |
exit 1 | |
fi | |
VERSION="$1" | |
fi |
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 | |
apt-get update | |
apt-get -y upgrade | |
apt-get install -y \ | |
git \ | |
git-lfs \ | |
mc \ | |
zsh \ | |
haveged |
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
apiVersion: v1 | |
kind: ServiceAccount | |
metadata: | |
name: gitlab-admin | |
namespace: kube-system | |
--- | |
apiVersion: rbac.authorization.k8s.io/v1beta1 | |
kind: ClusterRoleBinding | |
metadata: | |
name: gitlab-admin |
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
### Keybase proof | |
I hereby claim: | |
* I am mcnilz on github. | |
* I am martin_schnabel (https://keybase.io/martin_schnabel) on keybase. | |
* I have a public key ASATWe7rtj2KCKBXujTXThqHSrb0LIDoCKPtWJmrRLLGWQo | |
To claim this, I am signing this object: |
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
# /etc/default/grub | |
> GRUB_CMDLINE_LINUX="cgroup_enable=memory swapaccount=1" | |
sudo update-grub2 | |
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
angular.module("app") | |
.directive('formError', function () { | |
return { | |
restrict: 'A', | |
require: '^form', | |
scope: { | |
formError: '=formError' | |
}, | |
link: function (scope, element, attrs, form) { | |
scope.form = form; |
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
# list mounts of a container: | |
docker inspect --format='{{range $mount := .Mounts}}{{$mount.Source}}{{"\n ->\t"}}{{$mount.Destination}}{{"\n"}}{{end}}' $CONTAINER_ID | |
# for all running containers | |
for ID in $( docker ps -q ); do docker inspect --format='# {{.Name}}{{":\n"}}{{range $mount := .Mounts}}{{$mount.Source}}{{"\n ->\t"}}{{$mount.Destination}}{{"\n"}}{{end}}' $ID; done |
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
af.dat en_IE.dat gv_GB.dat ms_BN.dat sr_Cyrl_RS.dat | |
af_NA.dat en_IN.dat ha.dat ms.dat sr_Cyrl_YU.dat | |
af_ZA.dat en_JM.dat ha_GH.dat ms_MY.dat sr.dat | |
am.dat en_MH.dat ha_Latn.dat mt.dat sr_Latn_BA.dat | |
am_ET.dat en_MT.dat ha_Latn_GH.dat mt_MT.dat sr_Latn_CS.dat | |
ar_AE.dat en_NA.dat ha_Latn_NE.dat nb.dat sr_Latn.dat | |
ar_BH.dat en_NZ.dat ha_Latn_NG.dat nb_NO.dat sr_Latn_ME.dat | |
ar.dat en_PH.dat ha_NE.dat ne.dat sr_Latn_RS.dat | |
ar_DZ.dat en_PK.dat ha_NG.dat ne_IN.dat sr_Latn_YU.dat | |
ar_EG.dat en_RH.dat haw.dat ne_NP.dat sr_ME.dat |