Skip to content

Instantly share code, notes, and snippets.

Avatar
🤙
Good Vibes Only!

Karanja Mochu alexmochu

🤙
Good Vibes Only!
View GitHub Profile
@alistairewj
alistairewj / install-postgres-10-ubuntu.md
Last active Sep 22, 2022
Install PostgreSQL 10 on Ubuntu
View install-postgres-10-ubuntu.md

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. If you have data in your previous version of postgres that you'd like to retain, then this is not recommended. Instead, you'll have to use pg_upgrade or pg_upgradecluster.

@joduplessis
joduplessis / cookie-typescript-utils.ts
Created Sep 12, 2017
Setting, deleting and retrieving cookies in Typescript.
View cookie-typescript-utils.ts
View sass-7-1-pattern.scss
sass/
|
|– base/
| |– _reset.scss # Reset/normalize
| |– _typography.scss # Typography rules
| ... # Etc…
|
|– components/
| |– _buttons.scss # Buttons
| |– _carousel.scss # Carousel