Skip to content

Instantly share code, notes, and snippets.

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

This site runs on a textbook

Install Node and NPM

See install-node-npm.sh

Install cloudflared

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

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 / arch-qemu-packages.txt
Created September 1, 2023 15:59
A list of all packages in qemu-full, plus virt-manager and dnsmasq
View arch-qemu-packages.txt
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 / ideas.md
Last active October 4, 2023 17:31
Just ideas of stuff to code or do or whatever. Gets struck through once I do it.
View ideas.md
  • Arch package build server
    • Instead of building locally, it sends a server a request to build a package, then the server sends back the built package, which is then installed.
    • The client is a yay fork.
  • An SSH replacement that's light on bandwidth. Compressed and everything, and that only loads what's on screen (plus a small buffer). Especially good for when you cat a huge log and have to wait for SSH to catch up with the 10k characters you just printed.
  • archive.org clone. I might actually do this, backend in rust, and various frontends.
  • A Linux distro with the stability of RHEL, but with an AUR-like thing. So by default it remains on super stable packages, but packages can be individually overridden to build them with an AUR-like system.
@askiiart
askiiart / install-docker-fedora.sh
Created July 19, 2023 21:47
Install Docker Engine on Fedora
View install-docker-fedora.sh
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
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
sudo systemctl start docker
@askiiart
askiiart / .bashrc
Last active June 24, 2023 01:18
Here's my .bashrc
View .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 / Bad-Apple_Bootscreen.h
Created May 7, 2023 20:14
Bad Apple animated bootscreen for Marlin, for 128x64 screens
View Bad-Apple_Bootscreen.h
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 / Enderdragon_Bootscreen.h
Created May 7, 2023 18:34
A _Bootscreen.h that shows the Enderdragon, for 128x64 displays,
View Enderdragon_Bootscreen.h
/**
* Made with Marlin Bitmap Converter
* https://marlinfw.org/tools/u8glib/converter.html
*
* This bitmap from the file 'Ender_Dragon.opti.png'
*/
#pragma once
#define CUSTOM_BOOTSCREEN_BMPWIDTH 105
View install-docker-proxmox.sh
# Remove old versions
apt-get remove docker docker-engine docker.io containerd runc -y
# Set up repo
apt-get update
apt-get install ca-certificates curl gnupg lsb-release -y
mkdir -p /etc/apt/keyrings
curl -fsSL https://download.docker.com/linux/debian/gpg | gpg --dearmor -o /etc/apt/keyrings/docker.gpg
echo "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/debian $(lsb_release -cs) stable" | tee /etc/apt/sources.list.d/docker.list > /dev/null