I hereby claim:
- I am digitalsparky on github.
- I am digitalsparky (https://keybase.io/digitalsparky) on keybase.
- I have a public key whose fingerprint is B9A2 0280 F7E8 E892 B58F 5944 8C36 F330 41B1 0C03
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
#!/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 |
#!/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 |
<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> |
<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) |
#!/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 |
#!/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 | |
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 |