- https://access.redhat.com/sites/default/files/attachments/rh_yum_cheatsheet_1214_jcs_print-1.pdf
- https://gist.github.com/tlatsas/5916790
sudo yum --enablerepo=rpmforge install tmux
yum clean all
yum info yum-plugin-versionlock
- rpm
sudo yum --enablerepo=rpmforge install tmux
yum clean all
yum info yum-plugin-versionlock
localhost:9200/_cat/indices?pretty
| MAKESELFPATH=/opt/makeself | |
| PAYLOADFOLDER=$(readlink -e $1) | |
| OUTPUTFILENAME=$(pwd)/$2 | |
| LABEL=$3 | |
| INSTALLER=$(readlink -e $4) | |
| cd $MAKESELFPATH | |
| echo "Executing: sh makeself.sh $PAYLOADFOLDER $OUTPUTFILENAME $LABEL $INSTALLER" | |
| sh makeself.sh $PAYLOADFOLDER $OUTPUTFILENAME $LABEL $INSTALLER |
| #! /usr/bin/env bash | |
| set -u | |
| # constants | |
| PROJECT=$(gcloud info --format='value(config.project)') | |
| LOCKS_BUCKET=$PROJECT-db2-locks | |
| # how long do we wait for lock or condition | |
| SLEEP=5 | |
| # Check if a lock file exists |
(still a work-in-progress)
| package main | |
| import ( | |
| "bytes" | |
| "encoding/json" | |
| "fmt" | |
| "io/ioutil" | |
| "os" | |
| flatten "github.com/jeremywohl/flatten" |