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 / OnlineWebhookPinger.py
Created May 20, 2022 23:35
Ping a discord webhook to notify of the online status of a Roblox user.
# Heliodex 2022/05/20
# Last edited 2022/05/20
# Checks every minute to see if a Roblox user is online, and pings a discord webhook if that status has changed.
import requests
import json
from time import sleep
from dateutil import parser
while True:
@Heliodex
Heliodex / upmanshipCorrector.py
Last active September 29, 2022 13:50
PRAW Reddit bot to correct wrong counting comments from r/oneupmanship
# Heliodex 2022/05/13
# Last edited 2022/09/29 -- Update the latest comment thread automatically every 100 upmanships
# In response to repeated requests to create a bot that corrects peoples' upmanships
import praw
import praw.models.reddit.comment
completedComments = open("ids.txt", "r+")
lines = completedComments.read().split()
specialChars = ["#", "`", "*", "_", "~", "^",
@Heliodex
Heliodex / updateNov22.md
Created November 24, 2022 19:15
project update for projects

Heliodex Project Update - November 2022

An update to how all the projects I'm working on are going. Probably will do this a few times yearly.

TSBB

TSBB (Typing Simulator But Better), a typing game I've been working on alongside a few others and the sort-of succesor to Typing Simulator by S-GAMES, has been stuck in development hell for... sixteen months now.

It's essentially complete though (i promise), and all that is needed is a name for the project. Please give suggestions, as I have basically no ideas. "Typing Simulator" is already polluted with games in Roblox search results, and "TSBB" isn't catchy or descriptive.

@Heliodex
Heliodex / updateDec22.md
Created January 2, 2023 05:26
project update number 2

Heliodex Project Update - December 2022

Happy Hogmanay & New year. These are the December updates to my projects.

The typing game was finally given a name and, on Christmas day, was released (very anticlimactically).

It doesn't have any players yet because I have no experience with building communities. Linked the Discord server to the group and game page though.

@Heliodex
Heliodex / updateJan23.md
Last active March 3, 2023 14:42
project update 3

Heliodex Project Update - January 2023

Despite this month being packed with prelim exams, it had probably the most Github commits I've made in a single month.

Mercury

This project is the source of most of these commits. Mercury (v2) is a Roblox private server with a tech stack of Node, SvelteKit, and Typescript, in stark contrast with most revivals' use of PHP-based stacks. It's being created by a team with the people who worked on the original Mercury 1, and development is moving extremely quickly.

The project was my first time really managing databases, for which the project uses Postgres with Prisma as well as Redisgraph. Graph databases are a lot easier to do a ton of stuff with, and I have loved using them so far.

@Heliodex
Heliodex / updateFeb23.md
Created March 3, 2023 22:35
Heliodex project update 4

Heliodex Project Update - February 2023

Welcome back. During this month and the next I have several assignments, but have still been able to do lots of development work.

Still in Beta, development is continuing on Mercury at blistering speed. We recently launched the 2013 Windows client alongside the ability to join games from the website. Client development seems extremely like dark magic to me as I have little idea on how it actually works.

@Heliodex
Heliodex / updateMar23.md
Created April 2, 2023 22:04
Project update 5 for march

Heliodex Project Update - March 2023

Almost forgot about the project update for this month. Over the course of April and May, I still have a bit of work to finish for some of my qualifications.

Over the past month, Mercury acquired some new beta testers and suspended some inactive ones, so now totals over 50 users. Beta development has continued with many new features being added, including forum posts and replies, moderation system, improved banners, migrating from nginx to Caddy, and notifications.

I've experimented with some libraries like SvelteKit Superforms, which I've found useful and makes form validation a lot simpler. I also found out about Civet, which is like a combination between CoffeeScript and TypeScript, both languages I love. Would also love to write some code for Mercury in it, but SvelteKit support requires a few hacky workarounds at the moment.

@Heliodex
Heliodex / updateApr23.md
Created May 2, 2023 21:52
update for Heliodex projects april

Heliodex Project Update - April 2023

Sup. Mercury and a few other of my projects have received several updates during April.

Since March, Mercury now has improved website forms, heavily optimised corescripts, improved site speed, and a basic popup notifications system. A status page is now available at status.banland.xyz, showing the uptime of Mercury's site and web services.

We've been experimenting with a new invite key system, which would allow users to invite others and help grow the community, as well as some other exciting features, helping to set Mercury apart from similar websites.

@Heliodex
Heliodex / updateMay23.md
Created June 3, 2023 02:46
information about projects by Heliodex for May

Heliodex project update - May 2023

Hello again! My qualifications for this year are complete, so I'll be able to put more work into more projects throughout the upcoming holidays.

Mercury has recently introduced a new asset management system, and we're phasing out the original "Items" system previously present in the Avatar shop/Catalog. A basic avatar picture system was added, though we're working on a better system that allows rendering via the RCCService.

We've recently accepted new beta testers, and will likely be doing so monthly from now on.

@Heliodex
Heliodex / stupid translator.civet
Created June 10, 2023 17:28
context @ https://twitter.com/lwinklly/status/1667583839642824705. deno run "stupid translator.ts" encode / deno run "stupid translator.ts" decode
"civet deno"
* as c from "https://deno.land/std@0.191.0/fmt/colors.ts"
console.log()
encodeLetters: { [k: string]: string } :=
a: "@"
b: "b"
c: "("
d: "6"