Skip to content

Instantly share code, notes, and snippets.

View LennyPenny's full-sized avatar
🎉

Lenny. LennyPenny

🎉
View GitHub Profile
@LennyPenny
LennyPenny / algorithmus
Last active August 29, 2015 14:14
Hello!
#Algorithmus
---
Ein Alogrithmus ist einfach gesagt eine vorbestimmte Abfolge von Instruktionen.
Man gibt ihm eine endliche Anzahl von 'Eingaben' und er gibt uns nachdem er allen Instruktionen gefolgt ist gibt eine endliche Anzahl von 'Ausgaben' zurück.
---
![Funnyyy](http://i.imgur.com/xPp20.png)
-- Server end created by Gravious
-- Originally for Flow Network, hence the name, Flow Network Anti Cheat (FNAC)
if not SERVER then return end
local function FNAC_Print( szText )
print( "[FNAC] " .. szText )
end
util.AddNetworkString("abc123thatgirlworeherjeanslikeme")
util.AddNetworkString("imastealinurshit")
// ==UserScript==
// @name acecooled
// @namespace http://gayyyyy.com
// @version 0.1
// @description enter something useful
// @require http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js
// @match http://*facepunch.com/showthread.php?t=*
// @copyright 2012+, You
// ==/UserScript==
if SERVER then AddCSLuaFile() return end
require"leap"
local bones = {
METACARPAL = 0,
PROXIMAL = 1,
INTERMEDIATE = 2,
DISTAL = 3
}
if frm then frm:Remove() end
frm = vgui.Create("DFrame")
frm:SetSize(ScrW()*.75, ScrH()*.75)
local shtml = vgui.Create("DHTML", frm)
shtml:Dock(FILL)
shtml:SetAllowLua(true)
shtml:OpenURL("http://utility-melody-731.appspot.com/")
// ==UserScript==
// @name vinhscoe
// @namespace http://dumbbbbb.com
// @updateURL https://gist.github.com/LennyPenny/dd4cfe921064464a181a/raw/d1213c7f085ad73591ca5b33fc37e3cc246b64e5/vinhsore.user.js
// @downloadURL https://gist.github.com/LennyPenny/dd4cfe921064464a181a/raw/d1213c7f085ad73591ca5b33fc37e3cc246b64e5/vinhsore.user.js
// @version 0.1
// @description enter something useful
// @require http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js
// @match http://peniscorp.com/vinhspin/
// @copyright 2012+, You
ENT.Base = "ananke_entitybase"
ENT.PrintName = "wp_smoke"
ENT.Author = "Lenny., WARPAC team"
ENT.Contact = "warpac-rp.com"
ENT.Instructions = "mhm"
ENT.Spawnable = true
ENT.Emitter = false
FriendChatMsg_t msg = (FriendChatMsg_t)Marshal.PtrToStructure(cllBck.m_pubParam, typeof(FriendChatMsg_t));
EChatEntryType chtType = new EChatEntryType();
CSteamID chatter = new CSteamID();
UInt32 time = new UInt32();
Byte[] lol = new Byte[0x3000 + 1];
@LennyPenny
LennyPenny / base6xxx.lua
Created May 24, 2014 12:16
lua base6xxx
local function baseEnc(n, b)
n = math.floor(n)
if not b or b == 10 then return tostring(n) end
local digits = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789"
local t = {}
local sign = ""
if n < 0 then
sign = "-"
class "database" {
public {
___onLoaded = function(self)
self:load()
end;
addTable = function(self, name)
self.tables[name] = self.tables[name] or {}
self:save()