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
@ExtReMLapin
ExtReMLapin / cayo_locker_finder.lua
Last active November 19, 2022 13:33
in gta online with stand mod menu, find players in parties
local hardcodedLocations = {MUSIC_LOCKER = 281089}
local locationsHashtable = {}
for k, v in pairs(hardcodedLocations) do locationsHashtable[v] = k end
local unsortex_bbox = {{4945.39453125, -4923.5698242188 ,100},
{4851.3471679688, -4903.8276367188 ,-100},
#faire payer 40€ pour des GPX = gros chien de la casse
import json
import gpxpy
import gpxpy.gpx
# F12 + onglet network sur la page helloways et recuperer le endpoint du type https://www.helloways.com/api/tracks/5fa70d12b3963833d2cef03e
json_path = "input.json"
parsed_json = json.load(open(json_path))
#wrap your .js code inside a function and run this, it's ghetto, it's slow, I couldn't care less
import re
import subprocess
failed = 0
success = 0
input = "_via.js"
with open(input, "r") as f:
local speed = 3
local speedVertical = 1
local MoveAmountHorizontal = 102 / speed
local MoveAmountVertical = 25 / speedVertical
local ft = true
local delay = 50
function OnEvent(event, arg)
OutputLogMessage("event = %s, arg = %d\n", event, arg)
if (event == "MOUSE_BUTTON_RELEASED") then
http://liveupdate.msi.com/autobios/DataBase/Config/DefList.rec
http://liveupdate.msi.com/autobios/DataBase/Config/LU_LMU.xml
http://liveupdate.msi.com/autobios/DataBase/Config/BIOSListSP.rec
http://liveupdate.msi.com/autobios/DataBase/Config/VerList.rec
http://liveupdate.msi.com/autobios/DataBase/Config/VBList_N.rec
http://liveupdate.msi.com/autobios/DataBase/BIOSList.xml
http://liveupdate.msi.com/autobios/DataBase/LU5/VBList.xml
http://liveupdate.msi.com/autobios/DataBase/Config/LU_LOU.xml
--%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%{{{1
--
-- File Name: bignum.lua
-- Package Name: BigNum
--
-- Project: Big Numbers library for Lua
-- Mantainers: fmp - Frederico Macedo Pessoa
-- msm - Marco Serpa Molinaro
--
-- History:
assert(#arg == 2)
local source
local dest
local f1 = assert(io.open(arg[1], "rb"), "cannot open " .. arg[1])
source = f1:read("*all")
f1:close()
local f2 = assert(io.open(arg[2], "rb"), "cannot open " .. arg[2])
dest = f2:read("*all")
f2:close()
assert(#source == #dest)
local specialInstruction = {
["."] = "w(data[i])",
[","] = "data[i]=r()",
["["] = "while data[i]~=0 do ",
["]"] = "end "
}
local artithmeticsIns = {
["+"] = "data[i] = data[i]+",
["-"] = "data[i] = data[i]-",
@ExtReMLapin
ExtReMLapin / qtpngextract.lua
Created September 19, 2020 20:11
extract png from Qt exes (or any other one)
local pnghead = "\x89\x50\x4e\x47\x0d\x0a\x1a\x0a\x00\x00\x00\x0d\x49\x48\x44\x52\x00"
local pngend = "\x49\x45\x4e\x44\xae\x42\x60\x82"
local file = io.open("exe.exe", "rb")
local filedata = file:read("*all")
file:close()