Skip to content

Instantly share code, notes, and snippets.

View dineshpanda's full-sized avatar
🏠
Working from home

Dinesh Panda dineshpanda

🏠
Working from home
View GitHub Profile
@dmcbane
dmcbane / gist:156a7a637ee9d02c8a4608bb9a5d5ec8
Created December 7, 2016 15:35
Emacs 25.1 on Centos 7
wget http://mirrors.ibiblio.org/gnu/ftp/gnu/emacs/emacs-25.1.tar.xz
tar xJvfp emacs-25.1.tar.xz
cd emacs-25.1/
sudo yum -y install libXpm-devel libjpeg-turbo-devel openjpeg-devel openjpeg2-devel turbojpeg-devel giflib-devel libtiff-devel gnutls-devel libxml2-devel GConf2-devel dbus-devel wxGTK-devel gtk3-devel libselinux-devel gpm-devel librsvg2-devel ImageMagick-devel
./configure
make
sudo make install
@delameko
delameko / upgrade-postgres-9.5-to-9.6.md
Last active October 24, 2024 08:55 — forked from johanndt/upgrade-postgres-9.3-to-9.5.md
Upgrading PostgreSQL from 9.5 to 9.6 on Ubuntu 16.04

TL;DR

Install Postgres 9.6, and then:

sudo pg_dropcluster 9.6 main --stop
sudo pg_upgradecluster 9.5 main
sudo pg_dropcluster 9.5 main