This file contains hidden or 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 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}, |
This file contains hidden or 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
| #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)) |
This file contains hidden or 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
| #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: |
This file contains hidden or 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 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 |
This file contains hidden or 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
| 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 |
This file contains hidden or 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
| --%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%{{{1 | |
| -- | |
| -- File Name: bignum.lua | |
| -- Package Name: BigNum | |
| -- | |
| -- Project: Big Numbers library for Lua | |
| -- Mantainers: fmp - Frederico Macedo Pessoa | |
| -- msm - Marco Serpa Molinaro | |
| -- | |
| -- History: |
This file contains hidden or 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
| 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) |
This file contains hidden or 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 specialInstruction = { | |
| ["."] = "w(data[i])", | |
| [","] = "data[i]=r()", | |
| ["["] = "while data[i]~=0 do ", | |
| ["]"] = "end " | |
| } | |
| local artithmeticsIns = { | |
| ["+"] = "data[i] = data[i]+", | |
| ["-"] = "data[i] = data[i]-", |
This file contains hidden or 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 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() | |
NewerOlder
