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
import os | |
name = 'ZwiftApp.exe' | |
find = b'\x48\x8b\xc4\x53\x55\x56\x57\x41\x54\x41\x55\x41\x56\x41\x57\x48\x81\xec\xd8\x00\x00\x00' | |
repl = b'\x0f\x57\xc0\xc3\x35\x56\x57\x41\x54\x41\x55\x41\x56\x41\x57\x48\x81\xec\xd8\x00\x00\x00' | |
if os.path.isfile(name): | |
with open(name, 'rb') as f: | |
orig = f.read() | |
patched = orig.replace(find, repl) |
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
import os | |
import sys | |
import platform | |
import time | |
import math | |
import signal | |
import threading | |
import xml.etree.ElementTree as ET | |
from urllib3 import PoolManager | |
from binascii import crc32 |
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
import os | |
import sys | |
import argparse | |
import fitdecode | |
import json | |
import math | |
import folium | |
parser = argparse.ArgumentParser() | |
parser.add_argument('--input', '-i', type=str, required=True) |
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
using System; | |
using GTA; | |
using GTA.Math; | |
using GTA.Native; | |
namespace LoadCayoPerico | |
{ | |
public class LoadCayoPerico : Script | |
{ | |
private Blip island; |
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
{ | |
"Name": "Mount Chiliad climb", | |
"StartPoint": { | |
"X": -842.4644, | |
"Y": 5442.768, | |
"Z": 34.16289 | |
}, | |
"Props": [ | |
{ | |
"Name": "prop_tri_start_banner", |