- Site Reliability Engineering: How Google Runs Production Systems
- Operating Systems
- Operating Systems: Three Easy Pieces
- How Linux Works, 2nd Edition
- Continuous Delivery: Reliable Software Releases through Build, Test, and Deployment Automation
- [Systems Performance: Enterprise and the Cloud](https://www.amazon.com/gp/product/0133390098?ie=UTF8&tag=deirdrestraug-20&linkCode=as2&camp=1789&creative=390957&creativ
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 | |
set -ex | |
TAR_FILE="/tmp/kubeval.tar.gz" | |
RELEASES_URL="https://github.com/garethr/kubeval/releases" | |
test -z "$TMPDIR" && TMPDIR="$(mktemp -d)" | |
last_version() { | |
curl -sL -o /dev/null -w %{url_effective} "$RELEASES_URL/latest" | | |
rev | |
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
SELECT bl.pid AS blocked_pid, | |
a.usename AS blocked_user, | |
ka.query AS blocking_statement, | |
now() - ka.query_start AS blocking_duration, | |
kl.pid AS blocking_pid, | |
ka.usename AS blocking_user, | |
a.query AS blocked_statement, | |
now() - a.query_start AS blocked_duration | |
FROM pg_catalog.pg_locks bl | |
JOIN pg_catalog.pg_stat_activity a ON a.pid = bl.pid |
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 -e | |
# common stuff | |
sudo apt-get update | |
sudo apt-get upgrade -y | |
sudo apt-get install -y ubuntu-restricted-extras git zsh terminator curl xsel \ | |
gnome-tweak-tool vim-nox smbclient htop openssh-server s3cmd openvpn network-manager-openvpn | |
# chrome | |
wget -O chrome.deb https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb |
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 | |
set -e | |
# Code generated by godownloader on 2018-04-09T18:43:07Z. DO NOT EDIT. | |
# | |
usage() { | |
this=$1 | |
cat <<EOF | |
$this: download go binaries for ValeLint/vale |
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: extensions/v1beta1 | |
kind: Deployment | |
metadata: | |
name: example-app | |
spec: | |
replicas: 2 | |
template: | |
metadata: | |
labels: | |
app: example-app |
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 | |
# | |
# login in the jenkins server with: | |
# | |
# heroku login | |
# heroku keys:add | |
# | |
# Doing so, jenkins will have permission to deploy to | |
# the heroku remote. | |
# |
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
tap 'caarlos0/tap' | |
tap 'caskroom/cask' | |
tap 'caskroom/fonts' | |
tap 'caskroom/versions' | |
tap 'eqnxio/ngrok' | |
tap 'getantibody/tap' | |
tap 'go-delve/delve' | |
tap 'goreleaser/tap' | |
tap 'homebrew/bundle' | |
tap 'homebrew/core' |