Skip to content

Instantly share code, notes, and snippets.

fixNoobi /
Last active Aug 4, 2021
Gen SQL from vars

File: init.sql

create database {{pgsql_payment.db}};
create role {{pgsql_payment.user}} with encrypted password '{{pgsql_payment.password}}' LOGIN;

grant all privileges on database {{pgsql_payment.db}} to {{pgsql_payment.user}};
\c {{pgsql_payment.db}}

File: vars.yaml

fixNoobi / arch-linux-gnome-install
Created Jul 29, 2021 — forked from thacoon/arch-linux-gnome-install
Install a minimal gnome setup and some more useful things
View arch-linux-gnome-install
# Install Gnome and some other useful thins
# The official installation guide ( contains a more verbose description.
# And based on
# I have just copied commands from
# It's just to have it with one view after doing a [fresh installation](
# Some useful services
pacman -S acpid ntp dbus cups cronie