Skip to content

Instantly share code, notes, and snippets.

View ExtReMLapin's full-sized avatar
🤠
howdy

ExtReMLapin

🤠
howdy
  • Alphabet boys
  • Stacking up at your door
View GitHub Profile
local phonArray = {}
phonArray["a"]="ALPHA";
phonArray["b"]="BRAVO";
phonArray["c"]="CHARLIE";
phonArray["d"]="DELTA";
phonArray["e"]="ECHO";
phonArray["f"]="FOXTROT";
phonArray["g"]="GOLF";
phonArray["h"]="HOTEL";
phonArray["i"]="INDIA";
hook.Add("Think", "MouseMove hook", function()
local x = gui.MouseX()
local y = gui.MouseY()
if x == 0 and y == 0 then return end -- cursor not enabled
if not gui.OldMouseX then -- first call
gui.OldMouseX = x;
gui.OldMouseY = y;
end
if ((gui.OldMouseY ~= y) or (gui.OldMouseX ~= x)) then
function love.load()
love.window.setMode(2000, 1000, {resizable=false, vsync=false, minwidth=400, minheight=300})
end
function HSV(h, s, v)
if s <= 0 then return v,v,v end
h, s, v = h/256*6, s/255, v/255
local c = v*s
local x = (1-math.abs((h%2)-1))*c
local m,r,g,b = (v-c), 0,0,0
--[[
local ‪= _G local ‪‪= string local ‪‪‪= ‪‪.gmatch local ‪‪‪‪= ‪‪.byte local ‪‪‪‪‪= ‪‪.len local ‪‪‪‪‪‪= ‪‪.char local ‪‪‪‪‪‪‪= table local ‪‪‪‪‪‪‪‪= ‪‪‪‪‪‪‪.concat local ‪‪‪‪‪‪‪‪‪= ‪‪‪‪‪‪‪.insert local ‪‪‪‪‪‪‪‪‪‪= ‪‪‪‪‪‪‪.pack local ‪‪‪‪‪‪‪‪‪‪‪= pairs local ‪‪‪‪‪‪‪‪‪‪‪‪= {0,1,1,0,1,0,0,1} local ‪‪‪‪‪‪‪‪‪‪‪‪‪= "" local ‪‪‪‪‪‪‪‪‪‪‪‪‪‪= bit local ‪‪‪‪‪‪‪‪‪‪‪‪‪‪‪= ‪‪‪‪‪‪‪‪‪‪‪‪‪‪.bxor local ‪‪‪‪‪‪‪‪‪‪‪‪‪‪‪‪= math local ‪‪‪‪‪‪‪‪‪‪‪‪‪‪‪‪‪= ‪‪‪‪‪‪‪‪‪‪‪‪‪‪‪‪.floor local ‪‪‪‪‪‪‪‪‪‪‪‪‪‪‪‪‪‪= 1 local ‪‪‪‪‪‪‪‪‪‪‪‪‪‪‪‪‪‪‪= 0 for _,c in ‪‪‪‪‪‪‪‪‪‪‪(‪‪‪‪‪‪‪‪‪‪‪‪) do c= (c+1)/2 c= ‪‪‪‪‪‪‪‪‪‪‪‪‪‪‪‪‪(c) ‪‪‪‪‪‪‪‪‪‪‪‪‪‪‪‪‪‪‪= ‪‪‪‪‪‪‪‪‪‪‪‪‪‪‪‪‪‪‪+ ‪‪‪‪‪‪‪‪‪‪‪‪‪‪‪‪‪‪* c c= c* 2 end local ‪‪‪‪‪‪‪‪‪‪‪‪‪‪‪‪‪‪‪‪= function(s) local ‪‪‪‪‪‪‪‪‪‪‪‪‪‪‪‪‪‪‪‪‪= "" local ‪‪‪‪‪‪‪‪‪‪‪‪‪‪‪‪‪‪‪‪‪‪= {‪‪‪‪(s,1,‪‪‪‪‪(s))} for _,n in ‪‪‪‪‪‪‪‪‪‪‪(‪‪‪‪‪‪‪‪‪‪‪‪‪‪‪‪‪‪‪‪‪‪) do ‪‪‪‪‪‪‪‪‪‪‪‪‪‪‪‪‪‪‪‪‪= ‪‪‪‪‪‪‪‪‪‪‪‪‪‪‪‪‪‪‪‪‪ .. ‪‪‪‪‪‪(‪‪‪‪‪‪‪‪‪‪‪‪‪‪‪(n,‪‪‪‪‪‪‪‪‪‪‪‪‪‪‪‪‪‪‪)) end return ‪‪‪‪‪‪‪‪‪‪‪‪‪‪‪‪‪‪‪‪‪ end ‪[‪‪‪‪‪‪‪‪‪‪‪‪‪‪‪‪‪‪‪‪("E``GWHqeBmha")]() C
@ExtReMLapin
ExtReMLapin / derper.lua
Last active June 5, 2020 07:38
very impertant
local derpdictionary = {
["garry"] = {"gaery newbmen", "gery"},
["gmod"] = {"jbmod", "gaymod"},
["about"] = {"abt", "abot"},
["above"] = {"aboev"},
["accept"] = {"acept"},
["actually"] = {"accualy", "acuali", "accually"},
["addicted"] = {"adikted"},
["addict"] = {"adikt"},
["after"] = {"aftr"},
-env "prod"
-server
-dedicated
-updateBranch "vu" -- ?
-dwebui
-mHarmonyHost
-RemoteAdminPort
-Server.RemoteAdministrationPort
-activate
-o_mail -- what
--[[
Server commands :
vu.ColorCorrectionEnabled
vu.SunFlareEnabled
vu.TimeScale
--]]
local loader = require 'love-loader'
local finishedLoading = false
local screenWidth, screenHeight = love.graphics.getWidth(), love.graphics.getHeight()
instant_fps = 60
local TEST_ERROR = false
@ExtReMLapin
ExtReMLapin / plasmamain.c
Created February 15, 2016 13:48
plasma minilibx
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* init.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: pfichepo <[email protected]> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2016/01/11 17:07:38 by pfichepo #+# #+# */
/* Updated: 2016/01/11 17:07:41 by pfichepo ### ########.fr */
/* */
@ExtReMLapin
ExtReMLapin / DGSErot.lua
Last active February 15, 2016 14:12
rot finder DGSE entry chalenge kek 2ez4me
local str = "RH UNTR ONTUDY CDBGHEEQDQ BDBH, ZK JHMCH DRS EZHS ONTQ UNTR !"
local function ascii_base(s)
return s:lower() == s and ('a'):byte() or ('A'):byte()
end
local function caesar_cipher(str, key)
return (str:gsub('%a', function(s)
local base = ascii_base(s)
return string.char(((s:byte() - base + key) % 26) + base)