To run this, you can try:
curl -ksO https://gist.githubusercontent.com/nicerobot/2697848/raw/uninstall-node.sh
chmod +x ./uninstall-node.sh
./uninstall-node.sh
rm uninstall-node.sh
To run this, you can try:
curl -ksO https://gist.githubusercontent.com/nicerobot/2697848/raw/uninstall-node.sh
chmod +x ./uninstall-node.sh
./uninstall-node.sh
rm uninstall-node.sh
\o
will be a regular 'o' in this context.# look and feel | |
caption always "%{= bb}%{+b w}%h %=%{=b rw} %l %{= db} ${USER}@%H %{= dg}%c" | |
hardstatus alwayslastline "%-Lw%{= BW}%50>%n%f* %t%{-}%+Lw%<" | |
# skip the startup message | |
startup_message off | |
# go to home dir | |
chdir |
#!/bin/bash -e | |
# wait-for-postgres.sh | |
# Adapted from https://docs.docker.com/compose/startup-order/ | |
# Expects the necessary PG* variables. | |
until psql -c '\l'; do | |
echo >&2 "$(date +%Y%m%dt%H%M%S) Postgres is unavailable - sleeping" | |
sleep 1 | |
done |
Just run:
curl -ks https://gist.github.com/nicerobot/5652802/raw/install.sh | bash -
#!/bin/sh | |
alias dm='docker-machine' | |
alias dmx='docker-machine ssh' | |
alias dk='docker' | |
alias dki='docker images' | |
alias dks='docker service' | |
alias dkrm='docker rm' | |
alias dkl='docker logs' | |
alias dklf='docker logs -f' |
#!/bin/bash | |
(( ${#} >= 3 )) || { echo "usage: $(basename ${0}) github-username archive-file [files | directories]"; exit 1; } | |
exec >${2} | |
zero='${0}' | |
cat <<SCRIPT | |
#!/usr/bin/env bash | |
usage() { | |
echo "usage: bash ${zero} identity-file" |
#!/bin/zsh | |
# expects https://github.com/ahmetb/kubectl-aliases | |
# implements lots of https://kubernetes.io/docs/reference/kubectl/cheatsheet/ | |
alias kgpos='kgpo --sort-by=.metadata.creationTimestamp' | |
alias kgpoy='kgpo -o yaml' | |
### config view | |
alias kcv='k config' |
A site served from GitHub Gists, it's a