Skip to content

Instantly share code, notes, and snippets.

View Heliodex's full-sized avatar
📉
Programstinating

Lewin Kelly Heliodex

📉
Programstinating
View GitHub Profile
@Heliodex
Heliodex / updateDec23.md
Created January 13, 2024 03:58
final 2023 Heliodex project update

Heliodex project update - December 2023

Welcome to 2024! Here's an update to what I did in the last part of 2023.

If it wasn't clear by my previous gist, I'm not the biggest fan of Bootstrap as it is currently, and I wanted to leave it in 2023. The removal of Bootstrap from Mercury at the beginning of 2024 serves as the clean slate to build the highly anticipated frontend rewrite upon. Navigation and readability need to be improved across the site, and enhancing the ways members can communicate with each other on site is important as well.

At the beginning of the year, Mercury barely even had a proper backend, and now it's flourishing into a near full-fledged revival with industry-leading features and web design. I've been focussing heavily on code quality and maintainability, as we want to open-source Mercury once it's complete.

@Heliodex
Heliodex / Client deployer.go
Last active July 15, 2024 19:01
Mercury Setup Deployer version 3, I dare you to find a faster setup deployer
// Mercury Setup Deployer 3, now in Go
// goroutines make it run fast as FUCK
package main
import (
"archive/zip"
"fmt"
"io"
"os"
@gtoriadotnet
gtoriadotnet / bhnuke.js
Created February 12, 2024 23:31
Brick Hill Nuke
let YOURUSERIDHERE = 33532;
let i = 0;
setInterval(function() {
fetch('https://www.brick-hill.com/currency/', {
"headers": {
"accept": "text/html",
},
"body": null,
"method": "GET",
"mode": "cors",
@Heliodex
Heliodex / updateJan24.md
Created February 13, 2024 04:13
first 2024 january Heliodex project update

Heliodex project update - January 2024

That's 2024 off to... a start. Here's what I've been up to during the first month of the year!

Improvements continue to be made to Mercury. Changes have been made to some UI and form elements to make them work better with JS enabled, optimisations to corescripts and better library support, and the generic major updates of dependencies.

Go has been making its way into the Mercury codebase, including the new client deployer found in my previous gist. It has helped to greatly improve efficiency and speed of many processes.

@Heliodex
Heliodex / updateFeb24.md
Created March 8, 2024 23:50
update for Heliodex projects month of February 2024

Heliodex project update - February 2024

Welcome back! Here's another late-but-still-slightly-less-late-than-last-time update.

Mercury has entered the release candidate stage! This means that we're making the previously-closed beta more open, and making it much easier to obtain an invite key. We're working on a Discord bot that, instead of going through an arduous exam process, and complete what's been referred to as an "ORC Resume" (lmao), you can fill out a few fields and get accepted for a key.

Work on the avatar shop and Discord integration will continue, and a database reset will be performed before the bot is released.

@TheGreatSageEqualToHeaven
TheGreatSageEqualToHeaven / LuauOptimizeLevel.lua
Created March 28, 2024 01:34
Getting the Luau optimize level at runtime safely
local function getOptimizeLevel()
local function dupclosure()
return function() end
end
local O0 = dupclosure() ~= dupclosure()
local function inlinefunction()
return debug.info(1, "f")
end
@TheGreatSageEqualToHeaven
TheGreatSageEqualToHeaven / LuaVersion.lua
Last active July 10, 2025 09:26
Runtime Lua version detection without _VERSION
local function luaVersion()
local f = function()
return function() end
end
if 0xffffffffffffffffffffffffffffffffffffffffffffff == 2 ^ 64 then
return "Luau"
end
if ({nil,[1] = true})[1] then
@Heliodex
Heliodex / updateMar24.md
Created April 4, 2024 07:49
Heliodex projects update for 2024 March

Heliodex project update - March 2024

We're back! This update is even less late than the previous.

Since Mercury entered its Release Candidate phase, we've received over 200 applications and the site now has more than 120 users. Since then, we've also migrated the backend from Node.js to Bun, giving us faster package installation and runtime speed, fewer dependencies, and a more stable codebase.

Our 1 April update featured a rebranding to Graphictoria 7, as well as a brilliant site redesign. It was reverted the next day, though if you did actually like the new design and branding, you can now add something similar with the Custom CSS feature in your settings.

@MarkGamed7794
MarkGamed7794 / create_atlas.py
Created April 17, 2024 00:36
California DMV Bad Apple generator
"""
Requires Pillow to be installed.
Place the licence plate font in the same directory as this file
with the name "licenceplate.ttf", then run it. It should create
a file named "font_atlas.png", which is used when generating
the frames.
"""
from PIL import Image, ImageFont, ImageDraw # type: ignore
import math
@Heliodex
Heliodex / updateApr24.md
Created May 14, 2024 04:09
update 4 for 2024 for Heliodex projects in April

Heliodex project update - April 2024

I ended up writing this update, forgetting to post it, and then losing it. That's my excuse, anyway welcome back.

The domain migration (for the site, at least) is complete, and the site is now hosted on mercury2.com. Subdomains should be working as expected and redirect to their new locations (apart from status.banland.xyz, for some reason).

Other than that, little has changed. Mercury will remain on hiatus for the next two weeks, and the client will be re-released soon after.