Skip to content

Instantly share code, notes, and snippets.

Good Evening

@ilude
ilude / setup_kiosk.sh
Created August 7, 2022 22:57 — forked from anonymous/setup_kiosk.sh
create a kiosk user
#!/bin/bash
# This script
# - creates a user (named below)
# - sets up a union (aufs) filesystem on top of the users immutable home
# - creates a cleanup script (/usr/local/bin/cleanup.sh) that empties the aufs
# layer on login/logout/boot
# - replaces the lightdm config
# - replaces rc.local to run the script
#
@ilude
ilude / !Drone and Gitea Example
Created December 28, 2021 19:17
Drone and Gitea
based on https://dev.to/ruanbekker/self-hosted-cicd-with-gitea-and-drone-ci-200l
@ilude
ilude / !prometheus-01.setup.notes.md
Last active January 22, 2024 08:15
Prometheus/Grafana setup using Joyride and Traefik
@ilude
ilude / export_dashboards.sh
Created September 10, 2021 16:52
Export Grafana Dashboards using the API
#!/bin/bash
set -o errexit
set -o pipefail
# import .env variables
set -o allexport
source .env
set +o allexport
@ilude
ilude / wsl2_powershell_setup.ps1
Last active July 10, 2021 19:49
Windows Subsystem for Linux v2 setup script
# copy and run in an administrator powershell
iex ((New-Object System.Net.WebClient).DownloadString('https://raw.githubusercontent.com/ilude/WindowsPowerShell/master/choco_install_development.ps1'))
bash -c "curl -sSL https://gist.githubusercontent.com/ilude/3354dfef63cdb9e24370d5074b7aa11e/raw/wsl_init.sh | bash -s"