Skip to content

Instantly share code, notes, and snippets.

@itsprdp
itsprdp / setup
Last active November 10, 2015 10:00
Create postgres superuser with no password for login
####################################################
# WARNING: Don't use this on production environments
####################################################
# Login to psql terminal with postgres user
psql -U postgres
DROP ROLE root; # Run this if role root already exists
CREATE ROLE root WITH SUPERUSER LOGIN PASSWORD NULL;
createdb root;
@tamouse
tamouse / input.md-text
Last active May 25, 2023 13:46
Adding a class to a table in markdown (using kramdown processor as default in Jekyll).
# Let's try out a table with kramdown class tag
| A simple | table |
| with multiple | lines|
{: .my-class }