Skip to content

Instantly share code, notes, and snippets.

View VoxelPrismatic's full-sized avatar
🎵
'Nothing but the Truth' by The Pineapple Thief

PRIZ ;] VoxelPrismatic

🎵
'Nothing but the Truth' by The Pineapple Thief
View GitHub Profile
@VoxelPrismatic
VoxelPrismatic / rolemenubot0.py
Last active April 10, 2019 18:37
Some thing idk
import discord
from discord.ext import commands
import asyncio
import time
from datetime import datetime
bot = commands.Bot(command_prefix='!')
client = discord.Client()
keys = [""]
@VoxelPrismatic
VoxelPrismatic / rolemenubot0.py
Created April 10, 2019 17:55
Some thing idk
import discord
from discord.ext import commands
import asyncio
import time
from datetime import datetime
bot = commands.Bot(command_prefix='!')
client = discord.Client()
keys = [""]
@VoxelPrismatic
VoxelPrismatic / README.md
Last active May 14, 2021 04:42
Change the discord fonts back

Intentions

This gist is made for those who want to change that horrific font Discord uses in the channel and category names.

Horrific: horrific font

Fixed: fixed font

Instructions

@VoxelPrismatic
VoxelPrismatic / history.md
Last active April 18, 2022 17:09
Long Grove Bridge History

The bridge

People are stupid, in less than two years the bridge has been utterly destroyed and crashed into over 30 times. It's sad.

Why this Gist?

I was curious how many times the bridge was hit, but I couldn't find a clear number. So, I decided to make this Gist to put all the articles or personal experiences I could find.

History

@VoxelPrismatic
VoxelPrismatic / summary.md
Last active March 25, 2023 00:12
Summary of Parents Bill of Rights Act

Updated to Mar 14, 2023

This is not a legal document, and shall not provide any legal advice. This is simply my interpretation of the bill provided here.

Notes on following document

  • Any instance "parent" means "parent of an active student"
  • Any instance of "teacher" means "teacher of student, respective to parent"
  • This is not legal advice
@VoxelPrismatic
VoxelPrismatic / Government Auxillary Amendment.md
Last active March 27, 2023 22:32
28th amendment (suggestions)

Government Auxillary Amendment

Preamble

The dawn of the Information Age has brought many benefits to the American People, but also many grave concerns. Chief amongst the concerns the Information Age is the increasingly government-like activity that massive Corporations like Meta (formerly Facebook), Google, and Amazon have exhibited. This, however, is not a surprise to anyone who has seen the internal communications between these companies and the federal government.

@VoxelPrismatic
VoxelPrismatic / list.md
Created April 8, 2023 22:26
List of Never Mentionables

List of Never Mentionables

Woke-ass companies/organizations that deserve your boycott as of yesterday!

  • Anheuser Busch
    • From Bud Light partnering with trans influencer Dylan Mulvaney
  • Jack Daniels
    • From drag queen ad and TV series
  • The Offspring
  • From supporting Jack Daniels and Anheuser Busch against 'dimwitted bigots'
@VoxelPrismatic
VoxelPrismatic / hexToRgba.js
Last active May 7, 2024 16:14
hexToRgba, using lots of bitwise operations
function hexToRgba(st) {
if(st.startsWith("#"))
st = st.slice(1);
const len = st.length; // I don't know how JS works, I suspect this is recalculated
const has_alpha = !(len % 4);
if(len % 3 && !has_alpha)
throw new Error("invalid hex code");
var val = Number.parseInt(st, 16); // Only parsing the string once is faster than slicing constantly
@VoxelPrismatic
VoxelPrismatic / evdev-viz.py
Created May 30, 2024 20:52
Terminal based keyboard visualizer based on Evdev. Tested in Linux+Wayland.
# DESCRIPTION:
# Terminal based keyboard visualizer based on evdev. Tested in Linux + Wayland.
# Do not contact for support. This is my tool
# IMPORTANT NOTES:
# 1. Must be py3.10; evdev will not build for new versions of python
# 2. Use a nerd font. I used some of their symbols
# 3. This MUST be run as root. Devices cannot be read by normal users
import evdev
import os
@VoxelPrismatic
VoxelPrismatic / pairing-telink.md
Last active June 28, 2024 14:04
Pair Telink Wireless Receiver