Skip to content

Instantly share code, notes, and snippets.

#include <iostream>
#include <lua.h>
#include <lualib.h>
#include <Luau/Compiler.h>
static void execute(lua_State* L, const char* chunkName, const char* script) {
std::string bytecode = Luau::compile(script);
if (luau_load(L, chunkName,, bytecode.size()) != LUA_OK) {
std::cout << lua_tostring(L, -1) << std::endl;
lua_pop(L, -1);
randomdevlol / gen-sln.js
Created March 31, 2021 19:55
Node.js script for automating the process of adding a bunch of c# projects into a Visual Studio 2019 solution
const fs = require('fs/promises');
const path = require('path');
async function work(workDir) {
const files = await fs.readdir(workDir);
for (let i = 0; i < files.length; i++) {
const file = files[i];
const filePath = path.join(workDir, file);
if (file.endsWith('.csproj')) {
randomdevlol /
Last active December 27, 2020 00:06
Python 3 script allowing you to download assets off of Roblox's cdn
# randomdevlol
# credits to crackleharvest36 for showing me this method
from sys import argv, exit
from os import path, mkdir
from requests import get
print('Install the requests library')
randomdevlol /
Created September 30, 2020 22:14 — forked from nk2IsHere/
an interseting tutoriel
randomdevlol / Mineplex Redis
Last active May 15, 2024 15:57
Guide to setting up Mineplex's redis

Mineplex Redis Guide

Guide for setting up redis for the Mineplex's hub, arcade, staff server, and server monitor.
Guía para el redis server para Mineplex's hub, arcade, staff server, y server monitor. NOTA: Tu no obtenes ayuda desde yo en espanol porque mi espanol es malo.


Questions or issues?

Contact me on my Discord, memes#2030


  • Get a redis server. Download one here.