Skip to content

Instantly share code, notes, and snippets.

View lpf23's full-sized avatar

Lee Foster lpf23

  • Texas
View GitHub Profile
@lpf23
lpf23 / Xubuntu Guest Additions
Created October 15, 2015 18:16
Install VirtualBox Guest Additions 5.0.6 on Xubuntu 15.04
sudo apt-get install build-essential module-assistant
sudo m-a prepare
cd /media/<username>/VBOXADDITIONS_5.0.6_103037/
sudo ./VBoxLinuxAdditions.run
@lpf23
lpf23 / Python + Django Environment Setup - OSX
Last active December 9, 2018 23:31
Django Environment Setup
1. $> brew install python3
2. add to .zshrc and/or .bashrc:
export PATH=$HOME/Library/Python/3.7/bin:$PATH
3. $> pip3 install --user pipenv
4. $> pip3 install virtualenv
@lpf23
lpf23 / PostgreSQL 12 with PostGIS 3.1.5 Installation on AmazonLinux2
Created March 14, 2022 19:45
PostgreSQL 12 with PostGIS 3.1.5 Installation on AmazonLinux2
##### Steps to Install PostgresSQL 12 with PostGIS 3.1.5 on AmazonLinux2 #####
# Install packages #
####################
$> sudo amazon-linux-extras install -y postgresql12 vim epel
$> sudo yum-config-manager --enable epel -y
$> sudo yum update -y
$> sudo yum install -y make automake gcc gcc-c++ libcurl-devel proj-devel pcre-devel autoconf automake libxml2-devel git cmake libtool libtiff-devel
$> sudo yum install -y postgresql-server postgresql-devel postgresql-server-devel postgresql-contrib