Skip to content

Instantly share code, notes, and snippets.

View joelmachango's full-sized avatar
👨‍💻

Joel Machango joelmachango

👨‍💻
View GitHub Profile
@joelmachango
joelmachango / Intro to Git
Created May 17, 2018 17:46 — forked from ann-mukundi/Intro to Git
Cp-readiness
Exercise 1
Install Git on their computer
Create a folder called cp-readiness on your local computer
Navigate to the folder and initialize it with git.
Create a file called README.md with a short a short intro of who you are to this folder
Check the status of your repo
Add the file README.md to the staging area
Commit with the message Initial Commit

Install PostgreSQL 10 on Ubuntu

This is a quick guide to install PostgreSQL 10 - tested on Ubuntu 16.04 but likely can be used for Ubuntu 14.04 and 17.04 as well, with one minor modification detailed below.

(Optional) Uninstall other versions of postgres

To make life simple, remove all other versions of Postgres. Obviously not required, but again, makes life simple.

dpkg -l | grep postgres
@joelmachango
joelmachango / sample.md
Created March 23, 2018 21:31 — forked from bradtraversy/sample.md
Markdown Cheat Sheet

Heading 1

Heading 2

Heading 3

Heading 4

Heading 5
Heading 6

This text is italic