This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--[[ | |
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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"}, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-env "prod" | |
-server | |
-dedicated | |
-updateBranch "vu" -- ? | |
-dwebui | |
-mHarmonyHost | |
-RemoteAdminPort | |
-Server.RemoteAdministrationPort | |
-activate | |
-o_mail -- what |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--[[ | |
Server commands : | |
vu.ColorCorrectionEnabled | |
vu.SunFlareEnabled | |
vu.TimeScale | |
--]] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
local loader = require 'love-loader' | |
local finishedLoading = false | |
local screenWidth, screenHeight = love.graphics.getWidth(), love.graphics.getHeight() | |
instant_fps = 60 | |
local TEST_ERROR = false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* ************************************************************************** */ | |
/* */ | |
/* ::: :::::::: */ | |
/* 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 */ | |
/* */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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) |