Skip to content

Instantly share code, notes, and snippets.

@fixNoobi
fixNoobi / readme.md
Last active Aug 4, 2021
Gen SQL from vars
View readme.md

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
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 (https://wiki.archlinux.org/index.php/Installation_Guide) contains a more verbose description.
# And based on https://wiki.archlinux.de/title/Anleitung_f%C3%BCr_Einsteiger
# I have just copied commands from https://wiki.archlinux.de/title/Anleitung_f%C3%BCr_Einsteiger#Weitere_notwendige_Dienste
# It's just to have it with one view after doing a [fresh installation](https://gist.github.com/thacoon/05d5a39606ab554455d6713e8a714b2c)
# Some useful services
pacman -S acpid ntp dbus cups cronie