Skip to content

Instantly share code, notes, and snippets.

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

Lexi Robinson Lexicality

😼
🧙‍♂️
View GitHub Profile
AddCSLuaFile()
MsgN("Portal Loaded")
DEFINE_BASECLASS( "base_anim" )
ENT.PrintName = "Portal"
ENT.Author = "Lex Robinson"
ENT.Information = "Are you still there?"
ENT.Category = "Lex's Dev Stuff"
@Lexicality
Lexicality / _run_game.bat
Created September 21, 2014 10:39
lhsbs procssing launch bats
@echo off
SET GAME_MODE=game
processing-java --force --present --output=%CD%\build-tmp --sketch=%CD%
@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 = "";
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;
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 }));
}
});
-- 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
@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?');
}
AddCSLuaFile()
DEFINE_BASECLASS( "base_anim" )
ENT.PrintName = "Portable Hole"
ENT.Author = "Lexi"
ENT.Spawnable = true
ENT.Category = "Fun + Games"
@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 / src\images\foo.jpg
Created May 5, 2021 20:04
Foundry with Webpack example
// jpg goes here