Skip to content

Instantly share code, notes, and snippets.

@thijsvos
thijsvos / arcmenu_dracula.md
Last active September 12, 2021 11:30
ArcMenu Dracula Theme

Installation

Create a file with the following content.

Dracula//rgb(40,42,54)//rgb(248,248,242)//rgb(68,71,90)//rgb(98,114,164)//rgb(248,248,242)//rgb(41,50,55)//9//1//3//10//24//true//
@thijsvos
thijsvos / rootless_docker.md
Last active March 11, 2022 15:41
Install rootless Docker and fix UFW+Docker

First run the following command.

cat <<EOF | sudo sh -x
apt-get install -y uidmap
EOF

Get rootless Docker and install.

curl -sSL https://get.docker.com/rootless | sh
@thijsvos
thijsvos / podman_install.sh
Created August 28, 2021 19:29
Install script for Podman.
#! /bin/bash
sudo apt update
sudo apt -y upgrade
. /etc/os-release
echo "deb https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/xUbuntu_${VERSION_ID}/ /" | sudo tee /etc/apt/sources.list.d/devel:kubic:libcontainers:stable.list
@thijsvos
thijsvos / install.sh
Last active August 31, 2021 09:31
install script for Docker Compose
#! /bin/bash
sudo apt-get update -y
sudo apt install jq -y
DOCKER_COMPOSE_VERSION=$(curl --silent "https://api.github.com/repos/docker/compose/releases/latest" | jq -r '.tag_name')
sudo DEBIAN_FRONTEND=noninteractive curl -L "https://github.com/docker/compose/releases/download/$DOCKER_COMPOSE_VERSION/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
@thijsvos
thijsvos / install.sh
Last active August 28, 2021 19:59
Docker_install_script
#!/bin/bash/
sudo apt-get remove docker docker.io containerd runc
sudo apt-get update -y
sudo apt-get install apt-transport-https ca-certificates curl gnupg lsb-release
sudo DEBIAN_FRONTEND=noninteractive curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg
echo \
@thijsvos
thijsvos / install.sh
Last active September 3, 2021 14:09
Ubuntu_Update_Script
#!/usr/bin/env bash
set -e
patching(){
sudo apt update;
sudo apt upgrade;
sudo apt autoremove;
sudo apt autoclean;
sudo snap refresh;
};