All New

user:thomas gists created by user

title:mygist gists with given title

filename:myfile.txt gists having files with given name

extension:yml gists having files with given extension

language:go gists having files with given language

topic:homelab gists with given topic

Login


All New Login

All gists

Recently created
Least recently created
Recently updated
Least recently updated
javif89's Avatar

javif89 / New postgres DB and user

0 likes
0 forks
1 files
Last active 1740724148
This can be used when you have an app that needs postgres and you want to quickly make a new db for it with a user
Database
1 CREATE DATABASE nocodb;
2 create user nocodb with password '';
3 grant all privileges on schema public to nocodb
javif89's Avatar

javif89 / Install docker on ubuntu server

0 likes
0 forks
1 files
Last active 1740700953
Docker Ubuntu Homelab
1 # Add Docker's official GPG key:
2 sudo apt-get update
3 sudo apt-get install ca-certificates curl -y
4 sudo install -y -m 0755 -d /etc/apt/keyrings
5 sudo curl -fsSL https://download.docker.com/linux/ubuntu/gpg -o /etc/apt/keyrings/docker.asc
6 sudo chmod a+r /etc/apt/keyrings/docker.asc
7
8 # Add the repository to Apt sources:
9 echo \
10 "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.asc] https://download.docker.com/linux/ubuntu \
Newer Older

Powered by Opengist ⋅ Load: 30ms⋅

English
Čeština Deutsch English Español Français Magyar Italiano Polski Português Русский Türkçe Українська 中文 繁體中文