postgres: | |
use_upstream_repo: True | |
version: '9.5' | |
pkg: postgresql | |
pkgs_extra: [] | |
pkg_client: postgresql-client | |
pkg_dev: postgresql-devel | |
pkg_libpq_dev: postgresql-libs | |
python: python-psycopg2 | |
user: postgres |
# first install pygmentize to the mac OS X or macOS system with the built-in python | |
sudo easy_install Pygments | |
# then add alias to your ~/.bash_profile or ~/.bashrc or ~/.zshrc etc. | |
alias pcat='pygmentize -f terminal256 -O style=native -g' |
#!/usr/bin/env bash | |
set -e | |
CONTEXT="$1" | |
if [[ -z ${CONTEXT} ]]; then | |
echo "Usage: $0 KUBE-CONTEXT" | |
exit 1 | |
fi |
A curated list of AWS resources to prepare for the AWS Certifications
A curated list of awesome AWS resources you need to prepare for the all 5 AWS Certifications. This gist will include: open source repos, blogs & blogposts, ebooks, PDF, whitepapers, video courses, free lecture, slides, sample test and many other resources.
Link to these links: https://git.io/vKSVZ
Module 1:
- Run jenkins from war file:
jenkins -jar jenkins.war
- Run jenkins from docker:
docker run -d \
--restart unless-stopped \
--name jenkins \
FROM nginx:alpine | |
# stock verison from php:alpine image | |
# ensure www-data user exists | |
RUN set -x \ | |
&& addgroup -g 82 -S www-data \ | |
&& adduser -u 82 -D -S -G www-data www-data | |
# 82 is the standard uid/gid for "www-data" in Alpine | |
# http://git.alpinelinux.org/cgit/aports/tree/main/apache2/apache2.pre-install?h=v3.3.2 |
I had a little trouble figuring this out - so making a note of it.
The VMWare Fusion default location for VMs is ~/Documents/Virtual Machines.localized
,
which doesnt work well for me as I typically have Documents symbolically linked to my Dropbox
directory and prefer to move the default VM location rather than manage exclusions on every
Dropbox install I have.
It's relatively straightforward on VMWare Workstation, and Oracle VirtualBox - but for some reason