Skip to content

Instantly share code, notes, and snippets.

View lostkagamine's full-sized avatar
🔥
rawr

Sylvie Nightshade lostkagamine

🔥
rawr
View GitHub Profile
@lostkagamine
lostkagamine / keybase.md
Created May 12, 2017 20:18
my keybase thingy

Keybase proof

I hereby claim:

  • I am ry00000 on github.
  • I am ry00001 (https://keybase.io/ry00001) on keybase.
  • I have a public key ASAkZ5_K8gASSGOa6Oj2zBXXLa5BwB3ngjNkv5jnSe-P2Qo

To claim this, I am signing this object:

Here is a test
@lostkagamine
lostkagamine / access_scraper.js
Last active February 17, 2018 15:29
A quick hackmud access log scraper I put together
function(context, args)
{
var alogrg = /(?:Connection from|Breach attempt from|(?:sys\..*) execution from) (.*\..*)/; // alicegex
var logwriterrg = /sys.write_log execution from (?:.*\..*)/;
var alogs = #ls.sys.access_log();
var locs = [];
var logw = false;
for (var i=alogs.length-1; i >= 0; i--) {
if (logw) {
logw = false;
@lostkagamine
lostkagamine / sysview.js
Last active January 28, 2018 19:41
System Viewer for Hackmud. Also doubles as junk culler.
function(context, args)
{
var args = args || {};
var cull = args.mode == 'cull';
var upgs = #hs.sys.upgrades(); // get all upgrades
var crarities = args.rarities || [0, 1];
var cexclude = args.exclude_type || ['tool', 'script_space'];
var showloaded = !!args.show_loaded;
var ctiers = args.tiers || [1];
var rarities = ['n00b', 'kiddie', 'h4x0r', 'h4rdc0re', '|_|b3|2', '31337']
@lostkagamine
lostkagamine / README.md
Created August 21, 2019 22:08
SCRIPT-8
.386
.model flat, stdcall
option casemap:none
include \masm32\include\windows.inc
include \masm32\include\kernel32.inc
include \masm32\include\user32.inc
include \masm32\include\msvcrt.inc
include \masm32\include\gdi32.inc
# untrustworthy_boolean.har
function make_untrustworthy!(obj) do
if type(obj) != "boolean" then
abort("not a bool")
end
override obj.get do
trueval = obj.get!()
if Harmony::Random.select(1, 5) == 1 then
trueval = not trueval
@lostkagamine
lostkagamine / classes.lua
Created June 13, 2021 17:17
object-oriented programming for lua for some god-forsaken reason
--[[
classes.lua
version 1.1
changelog:
+ 1.1: getters and setters
"Rin, what the actual fuck"
@lostkagamine
lostkagamine / GLClasses.cs
Last active November 3, 2021 12:26
Port of imgui_impl_opengl3.cpp to C# (.NET 5, OpenTK 4). Compatible as far back as OpenGL 3.0.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using OpenTK.Graphics.OpenGL;
namespace GLExperiments
{
public class GLVertexArrayObject