Skip to content

Instantly share code, notes, and snippets.

@askiiart
askiiart / engineer.cfg
Last active July 15, 2024 21:10
tf2 autoexec - put it in "$TF2_INSTALLATION/tf/cfg/"
//////////////////////////
//Sentry Quickbuild Bind//
//////////////////////////
bind "MOUSE3" "destroy 2 0; build 2 0"
//////////////////////////////////////
/////////////////////////////
//Dispenser Quickbuild Bind//
/////////////////////////////
@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 / 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 / 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 / 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 / ideas.md
Last active March 4, 2024 02:27
Just ideas of stuff to code or do or whatever. Gets struck through once I do it (like that's gonna happen)
  • 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.
    • EDIT: Actually, this should probably just be done as a basic script with makepkg and stuff.
  • 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.
    • This already exists - mosh
  • archive.org clone - initial a backend only, frontend developed separately.
  • A Linux distro with the stability of RHEL, but with per-package-toggleable bleeding edge repos or an AUR-like thing. So by default it remains on super stable packages, but packages can be individually overridden to get the latest version or build them with an AUR-like system.
  • Akkoma-compatible fedi server and standalone akkoma-fe fo
@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 / .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 / 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 / Enderdragon_Bootscreen.h
Created May 7, 2023 18:34
A _Bootscreen.h that shows the Enderdragon, for 128x64 displays,
/**
* 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