Skip to content

Instantly share code, notes, and snippets.

View SIMULATAN's full-sized avatar
🐳
dockerized my brain (forgot to expose the ports tho..)

Jakob Hofer SIMULATAN

🐳
dockerized my brain (forgot to expose the ports tho..)
View GitHub Profile
@SIMULATAN
SIMULATAN / bool.rhai
Last active July 6, 2022 07:21
Dotter Blog Post
# add this to your .dotter/global.toml file:
# [helpers]
# bool = ".dotter/helpers/bool.rhai"
#
# use like this:
# bool my_condition
if params[0] == true || params[0] == "true" {
"true"
}
@SIMULATAN
SIMULATAN / install-docker.sh
Created February 28, 2022 12:03
A simple script that just performs the official debian installation commands from the docker website - START AS ROOT!
apt-get remove docker docker-engine docker.io containerd runc -y
apt-get update -y
apt-get install -y \
ca-certificates \
curl \
gnupg \
lsb-release
curl -fsSL https://download.docker.com/linux/debian/gpg | gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg
echo \
"deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://download.docker.com/linux/debian \
@SIMULATAN
SIMULATAN / BADGE.MD
Last active January 5, 2022 18:47
Discord Readme Badge

My Discord (505713760124665867)

This is how you make a permanent Link to your Discord User in any markdown file you want (as seen above)!

[![My Discord (YOURUSERID)](https://img.shields.io/badge/My-Discord-%235865F2.svg)](https://discord.com/users/YOURUSERID)

Explanation: a image link to a static shields.io badge with the "My Discord" description wrapped into a link to a discord url that opens your user in the app