Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

View Lexicality's full-sized avatar
😼
🧙‍♂️

Lexi Robinson Lexicality

😼
🧙‍♂️
View GitHub Profile

[Verifying my OpenPGP key: openpgp4fpr:3DA737C9AD623D06F65FA0F675D524B43F863B4A]

@Lexicality
Lexicality / src\images\foo.jpg
Created May 5, 2021 20:04
Foundry with Webpack example
// jpg goes here
@Lexicality
Lexicality / cui.lua
Created November 23, 2019 14:51
drugs are bad
local a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z; -- ust in case lol
local lpl;
surface.SetFont("DefaultFixed");
s,t = surface.GetTextSize("100%");
c = false;
j = 6;
local sh,sw = ScrH(), ScrW();
local function dc(c)
return c.r, c.g, c.b, c.a;
end
@Lexicality
Lexicality / addon_bs.lua
Last active March 21, 2023 00:17
Binary search utility for finding troublesome addons
--[[
Addon Binary Searcher
Copyright 2018 Lex Robinson
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
AddCSLuaFile()
DEFINE_BASECLASS( "base_anim" )
ENT.PrintName = "Portable Hole"
ENT.Author = "Lexi"
ENT.Spawnable = true
ENT.Category = "Fun + Games"
@Lexicality
Lexicality / fonts-querystring.css
Created October 24, 2016 14:01
remy/inliner fails to inline fonts with querystrings in file mode
@font-face {
src: url('./fonts-querystring.woff?');
}
-- JetBot [v1.1]
-- by JetBoom
-- Clientside aimbot and esp for GMod10. This is a demonstration
-- of how easy you can make client-side things for naughty purposes. It should
-- be fixed soon enough by CRC checking. [ On most servers, anyway ;) ]
-- All concommands begin with aimbot_ or esp_
-- To use the aimbot, bind a key or mouse button to "+aimbot_scan". Hold the key and
socket.on('chat message', function(msg){
var id = msg.mac.replace(/:/g, '-');
console.info("Got a message with id '%s': %o", id, msg);
if (!$('#' + id).length) {
$('#messages').append($('<li>', { id: id, text: msg.mac }));
}
});
filter = function(pred, iterable) {
return {
[Symbol.iterator]: () => {
const it = iterable[Symbol.iterator]();
return {
next: () => {
let next;
while (next = it.next(), !next.done) {
if (!pred(next.value)) {
continue;
@Lexicality
Lexicality / github2trelo.js
Created August 2, 2015 12:18
Github to Trello issue converter
/* jshint esnext: true, node: true */
"use strict";
import Q from 'q';
import GithubAPI from 'github';
import Trello from 'node-trello';
// Top secret credentials
const trelloKey = "";
const trelloToken = "";