Skip to content

Instantly share code, notes, and snippets.


Lex Robinson Lexicality

Block or report user

Report or block Lexicality

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View cui.lua
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;
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;
Lexicality / addon_bs.lua
Last active Dec 22, 2018
Binary search utility for finding troublesome addons
View addon_bs.lua
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
View portable_hole.lua
DEFINE_BASECLASS( "base_anim" )
ENT.PrintName = "Portable Hole"
ENT.Author = "Lexi"
ENT.Spawnable = true
ENT.Category = "Fun + Games"
Lexicality / fonts-querystring.css
Created Oct 24, 2016
remy/inliner fails to inline fonts with querystrings in file mode
View fonts-querystring.css
@font-face {
src: url('./fonts-querystring.woff?');
View jetbot.lua
-- 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
View gist:8e2c5479944816ad141c
socket.on('chat message', function(msg){
var id = msg.mac.replace(/:/g, '-');"Got a message with id '%s': %o", id, msg);
if (!$('#' + id).length) {
$('#messages').append($('<li>', { id: id, text: msg.mac }));
View filter.js
filter = function(pred, iterable) {
return {
[Symbol.iterator]: () => {
const it = iterable[Symbol.iterator]();
return {
next: () => {
let next;
while (next =, !next.done) {
if (!pred(next.value)) {
Lexicality / github2trelo.js
Created Aug 2, 2015
Github to Trello issue converter
View github2trelo.js
/* 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 = "";
View gist:2a87840bf3b32372e55a
--- dynamic-image-resizer.php
+++ dynamic-image-resizer.php
@@ -15,7 +15,7 @@ add_action('template_redirect', 'dynimg_404_handler');
function dynimg_404_handler() {
if ( !is_404() ) return;
- if (preg_match('/(.*)-([0-9]+)x([0-9]+)(c)?\.(jpg|png|gif)/i',$_SERVER['REQUEST_URI'],$matches)) {
+ if (preg_match('/(.*)-([0-9]+)x([0-9]+)(c)?\.(jpe?g|png|gif)/i',$_SERVER['REQUEST_URI'],$matches)) {
$filename = $matches[1].'.'.$matches[5];
$width = $matches[2];
Lexicality / _run_game.bat
Created Sep 21, 2014
lhsbs procssing launch bats
View _run_game.bat
@echo off
processing-java --force --present --output=%CD%\build-tmp --sketch=%CD%
You can’t perform that action at this time.