Skip to content

Instantly share code, notes, and snippets.

@askiiart
askiiart / Bad-Apple_Bootscreen.h
Created May 7, 2023 20:14
Bad Apple animated bootscreen for Marlin, for 128x64 screens
This file has been truncated, but you can view the full file.
/**
* Marlin 3D Printer Firmware
* Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
*
* Based on Sprinter and grbl.
* Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
@askiiart
askiiart / .bashrc
Last active June 24, 2023 01:18
Here's my .bashrc
# .bashrc
# Source global definitions
if [ -f /etc/bashrc ]; then
. /etc/bashrc
fi
# User specific environment
if ! [[ "$PATH" =~ "$HOME/.local/bin:$HOME/bin:" ]]
then
@askiiart
askiiart / arch-qemu-packages.txt
Created September 1, 2023 15:59
A list of all packages in qemu-full, plus virt-manager and dnsmasq
virt-manager qemu-base qemu-desktop qemu-emulators-full qemu-system-aarch64 qemu-system-alpha qemu-system-alpha-firmware qemu-system-arm qemu-system-arm-firmware qemu-system-avr qemu-system-cris qemu-system-hppa qemu-system-hppa-firmware qemu-system-loongarch64 qemu-system-m68k qemu-system-microblaze qemu-system-microblaze-firmware qemu-system-mips qemu-system-nios2 qemu-system-or1k qemu-system-ppc qemu-system-ppc-firmware qemu-system-riscv qemu-system-riscv-firmware qemu-system-rx qemu-system-s390x qemu-system-s390x-firmware qemu-system-sh4 qemu-system-sparc qemu-system-sparc-firmware qemu-system-tricore qemu-system-x86 qemu-system-x86-firmware qemu-system-xtensa qemu-full dnsmasq
@askiiart
askiiart / gentoo-live-password.md
Created September 6, 2023 02:20
This is the password for the Gentoo live CD

Gentoo livegui password

This could be wrong, info is from this Reddit thread. I couldn't find anything on this on the Gentoo wiki.

The livegui password is random. If you're locked out, you might be able to switch to a different tty using Ctrl+Alt+F{number}. Try all the numbers, Ctrl+Alt+F1, Ctrl+Alt+F2, and so on, until you get to a console. But this may not work, it didn't for me.

In the case that it doesn't work, you'll just have to restart, then set the password manually once it autologins for you (for gentoo with sudo passwd gentoo, and for root sudo sudo passwd).

In the case it does work, you can switch back to the GUI with a Ctrl+Alt+F{number}, probably Ctrl+Alt+F1.

@askiiart
askiiart / visible-unicode-chars.txt
Created September 9, 2023 00:07
All visible Unicode characters, as generated by https://github.com/hackerb9/fonttable
!"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~¡¢£¤¥¦§¨©ª«¬®¯°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖ×ØÙÚÛÜÝÞßàáâãäåæçèéêëìíîïðñòóôõö÷øùúûüýþÿĀāĂ㥹ĆćĈĉĊċČčĎďĐđĒēĔĕĖėĘęĚěĜĝĞğĠġĢģĤĥĦħĨĩĪīĬĭĮįİıIJijĴĵĶķĸĹĺĻļĽľĿŀŁłŃńŅņŇňʼnŊŋŌōŎŏŐőŒœŔŕŖŗŘřŚśŜŝŞşŠšŢţŤťŦŧŨũŪūŬŭŮůŰűŲųŴŵŶŷŸŹźŻżŽžſƀƁƂƃƄƅƆƇƈƉƊƋƌƍƎƏƐƑƒƓƔƕƖƗƘƙƚƛƜƝƞƟƠơƢƣƤƥƦƧƨƩƪƫƬƭƮƯưƱƲƳƴƵƶƷƸƹƺƻƼƽƾƿǀǁǂǃDŽDždžLJLjljNJNjnjǍǎǏǐǑǒǓǔǕǖǗǘǙǚǛǜǝǞǟǠǡǢǣǤǥǦǧǨǩǪǫǬǭǮǯǰDZDzdzǴǵǶǷǸǹǺǻǼǽǾǿȀȁȂȃȄȅȆȇȈȉȊȋȌȍȎȏȐȑȒȓȔȕȖȗȘșȚțȜȝȞȟȠȡȢȣȤȥȦȧȨȩȪȫȬȭȮȯȰȱȲȳȴȵȶȷȸȹȺȻȼȽȾȿɀɁɂɃɄɅɆɇɈɉɊɋɌɍɎɏɐɑɒɓɔɕɖɗɘəɚɛɜɝɞɟɠɡɢɣɤɥɦɧɨɩɪɫɬɭɮɯɰɱɲɳɴɵɶɷɸɹɺɻɼɽɾɿʀʁʂʃʄʅʆʇʈʉʊʋʌʍʎʏʐʑʒʓʔʕʖʗʘʙʚʛʜʝʞʟʠʡʢʣʤʥʦʧʨʩʪʫʬʭʮʯʰʱʲʳʴʵʶʷʸʹʺʻʼʽʾʿˀˁ˂˃˄˅ˆˇˈˉˊˋˌˍˎˏːˑ˒˓˔˕˖˗˘˙˚˛˜˝˞˟ˠˡˢˣˤ˥˦˧˨˩˪˫ˬ˭ˮ˯˰˱˲˳˴˵˶˷˸˹˺˻˼˽˾˿ͰͱͲͳʹ͵Ͷͷͺͻͼͽ;Ϳ΄΅Ά·ΈΉΊΌΎΏΐΑΒΓΔΕΖΗΘΙΚΛΜΝΞΟΠΡΣΤΥΦΧΨΩΪΫάέήίΰαβγδεζηθικλμνξοπρςστυφχψωϊϋόύώϏϐϑϒϓϔϕϖϗϘϙϚϛϜϝϞϟϠϡϢϣϤϥϦϧϨϩϪϫϬϭϮϯϰϱϲϳϴϵ϶ϷϸϹϺϻϼϽϾϿЀЁЂЃЄЅІЇЈЉЊЋЌЍЎЏАБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмнопрстуфхцчшщъыьэюяѐёђѓєѕіїјљњћќѝўџѠѡѢѣѤѥѦѧѨѩѪѫѬѭѮѯѰѱѲѳѴѵѶѷѸѹѺѻѼѽѾѿҀҁ҂ҊҋҌҍҎҏҐґҒғҔҕҖҗҘҙҚқҜҝҞҟҠҡҢңҤҥҦҧҨҩҪҫҬҭҮүҰұҲҳҴҵҶҷҸҹҺһҼҽҾҿӀӁӂӃ
@askiiart
askiiart / selinux-virt-context-fix.md
Last active September 10, 2023 16:41
A fix for a SELinux problem I had

SELinux virt context fix

Background

I have an RHEL 9 system with SELinux enabled. My .iso files are stored in /mnt/big-stuff/files/vm-data/files, and my .qcow2 files are stored in /mnt/big-stuff/vm-data/drives

Problem

When running a virtual machine, I get a permission denied error (for either the drive or .iso file, depending on the exact issue.

@askiiart
askiiart / README.md
Created September 11, 2023 21:00
Configs for running stuff in Zybooks

This site runs on a textbook

Install Node and NPM

See install-node-npm.sh

Install cloudflared

sudo apt install cloudflared -y
@askiiart
askiiart / install-docker-debian.sh
Last active October 2, 2023 15:24
Script for installing Docker Engine on Debian
#!/usr/bin/env bash
set -e
if [ $(whoami) != "root" ]; then
SUDO="sudo"
fi
# Remove old versions
for pkg in docker.io docker-doc docker-compose podman-docker containerd runc; do sudo apt-get remove $pkg; done
@askiiart
askiiart / install-docker-fedora.sh
Last active December 8, 2023 15:15
Install Docker Engine on Fedora
sudo dnf remove docker docker-client docker-client-latest docker-common docker-latest docker-latest-logrotate docker-logrotate docker-selinux docker-engine-selinux docker-engine -y
sudo dnf -y install dnf-plugins-core
sudo dnf config-manager --add-repo https://download.docker.com/linux/fedora/docker-ce.repo
sudo dnf install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin -y
sudo systemctl start docker
@askiiart
askiiart / engineer.cfg
Last active February 14, 2024 22:37
tf2 autoexec - put it in "$TF2_INSTALLATION/tf/cfg/"
//////////////////////////
//Sentry Quickbuild Bind//
//////////////////////////
bind "MOUSE3" "destroy 2 0; build 2 0"
//////////////////////////////////////
/////////////////////////////
//Dispenser Quickbuild Bind//
/////////////////////////////