Skip to content

Instantly share code, notes, and snippets.

Alex Muthmann deveth0

Block or report user

Report or block deveth0

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
dmitrykustov /
Last active Nov 13, 2019 — forked from dideler/
Upgrading PostgreSQL from 9.4 to 9.6 on Debian Jessie

To use the most modern version of Postgres software we need to add postgresql repository. Edit /etc/apt/sources.list or create /etc/apt/sources.list.d/pgdg.list and add there a line: deb jessie-pgdg main Then import the repository signing key, and update the package lists:

wget --quiet -O - | sudo apt-key add -
sudo apt-get update

Install a new version of PostgreSQL server.

Once the Debian upgrade finished, I used dpkg-query -l postgresql* to check which versions of postgres I have installed.

mjmeyer / http-cat-error-pages.conf
Created Feb 17, 2016 erorr pages for nginx
View http-cat-error-pages.conf
# ---------- Status Cats Error Pages!!! via: ---------
# requires that a dns resolver be set for nginx as in: resolver;
# typically uses dnsmasq for resolver
# Usage:
# place this file somewhere accessible to nginx. /etc/nginx/snippets is a decent choice.
# then inside the server block(s) you want cat themed error status responses do:
# include snippets/http-cat-error-pages.conf
You can’t perform that action at this time.