Skip to content

Instantly share code, notes, and snippets.

View lokka30's full-sized avatar

lokka30

  • Western Australia
  • 04:12 (UTC +08:00)
View GitHub Profile
@lokka30
lokka30 / LM4_Strategies.yml
Last active November 4, 2022 03:31
LM4 Strategies Brainstorming
strategies:
spawn-distance:
tiers:
0-5000: 1-100
undefined: 1
spawn-location:
"example_world":
x: -153
z: 302
y-axis:
@lokka30
lokka30 / LM-Commands-Planner.md
Last active November 1, 2022 00:53
LevelledMobs4 Commands Planner

Commands

Command Tree

  • /lm
    • Standard Sub-commands
      • /lm about
        • View miscellaneous information about the installed LevelledMobs plugin version.
        • Aliases: info, version
  • /lm backup
@lokka30
lokka30 / LM4-GodsEye-Presets-System-Brainstorming.md
Last active August 30, 2022 03:45
LevelledMobs 4: GodsEye Presets System Brainstorming

LM4 Brainstorming - GodsEye Presets System

Today I wish to brainstorm the "GodsEye Presets System" that LM4 could incorporate.

Reminders

... since it's been a while we worked on LM4

  • A Process is identical to a Rule in LM3.
@lokka30
lokka30 / spice-guest-tools-debian-utm.md
Created August 16, 2022 10:44
Get SPICE Guest Tools working on Debian ARM64/AAarch64 in UTM QEMU for MacBook M1 (macOS)
  1. Install the spice-vdagent and spice-webdavd packages
  • sudo apt install spice-vdagent spice-webdavd
  1. Run vdagentd
  • sudo systemctl start spice-vdagentd
  • Add the spice-vdagent command to the top of ~/.xinitrc

Thank you very much to ktprograms#2418 on the UTM Discord for informing me about the second part.

@lokka30
lokka30 / pointer_test.c
Created August 8, 2022 12:12
C Pointers Test
#include <stdio.h>
int main() {
char c = 'A';
char* ptr = &c;
char deref = *ptr;
putchar(deref);
return 0;
}
@lokka30
lokka30 / rainbow-background.html
Created July 22, 2022 11:52
Rainbow animated website background using pure CSS or JavaScript
<!DOCTYPE HTML>
<html>
<head>
<style>
@keyframes rainbow-background {
0% { background-color: hsl(0, 50%, 50%); }
0.5% { background-color: hsl(1.8, 50%, 50%); }
1% { background-color: hsl(3.6, 50%, 50%); }
1.5% { background-color: hsl(5.4, 50%, 50%); }
2% { background-color: hsl(7.2, 50%, 50%); }