Cleanup resources (containers, volumes, images, networks) ...
// see: https://github.com/chadoe/docker-cleanup-volumes
$ docker volume rm $(docker volume ls -qf dangling=true)
$ docker volume ls -qf dangling=true | xargs -r docker volume rm
These relays do not require authorization and appear to be reliable: | |
There are *many* relays, just gotta do some searching and go from there. | |
Note: To get to the larger relays you will need to contact that relay operator to be added to the allow list. | |
https://relay.fedibird.com/inbox | |
https://relay.wagnersnetz.de/inbox | |
https://relay.intahnet.co.uk/inbox | |
https://relay.beckmeyer.us/inbox |
#!/bin/bash | |
if [[ $EUID -ne 0 ]]; then | |
echo "This script must be run as root" | |
exit 1 | |
fi | |
systemctl disable snapd.service | |
systemctl disable snapd.socket | |
systemctl disable snapd.seeded | |
systemctl disable snapd.snap-repair.timer | |
systemctl stop snapd.service |
#!/bin/bash | |
# set -x | |
## | |
# This is only needed in some occasions, please don't use this unless you know what you're doing. | |
# Installs/Uninstalls sysctl configuration disable IPv6 at the kernel level | |
# | |
# @AUTHOR: Matt Spurrier (@DigitalSparky) | https://digitalsparky.com | https://github.com/digitalsparky | |
# @LICENSE GPLv3 | |
## |
#!/bin/bash | |
set -e | |
for field in $(cat /proc/cmdline); do | |
if [[ "${field}" = root=* ]]; then | |
UUID=$(echo $field | awk -F= '{print $3}') | |
break | |
fi | |
done |
<script setup lang="ts"> | |
import { ref, useSlots, getCurrentInstance } from "vue"; | |
const props = defineProps<{ url: string }>(); | |
const slots = useSlots(); | |
let res = ref(""); | |
let loading = ref(true); | |
fetch(props.url) |
<script lang="ts" setup> | |
import FetchJson from "./components/fetch-json.vue"; | |
// import { useFetch } from "@vueuse/core"; | |
const url = "https://api.thecatapi.com/v1/images/search"; | |
// const { isFetching: loading, error, data: response } = useFetch(url).json(); | |
</script> | |
<template> | |
<h3>Random Cat Pics!</h3> |
#!/bin/bash | |
set -e | |
GDMFILE="/etc/gdm3/custom.conf" | |
GDMBACKUPSUFFIX=".bak" | |
GDMBACKUPFILE="${GDMFILE}${GDMBACKUPSUFFIX}" | |
if [ ! -f "${GDMFILE}" ]; then | |
echo "GDM Config file missing, are you sure you're using GDM?" | |
exit 1 |
#!/bin/bash | |
for file in $(find . -iname "*.list" -type f); do | |
grep -i sid-updates $file > /dev/null 2>&1 | |
if [[ $? -eq 0 ]]; then | |
echo "FOUND IN: $file" | |
fi | |
done |