Skip to content

Instantly share code, notes, and snippets.

John-John Tedro udoprog

Block or report user

Report or block udoprog

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
udoprog / DowngradeUpgrade.ps1
Created Jun 14, 2019
Handle upgrading and downgrading GTA V
View DowngradeUpgrade.ps1
param([switch] $Downgrade=$false)
$Profile = "$env:USERPROFILE\Documents\Rockstar Games\GTA V"
$Game = "D:\Steam\steamapps\common\Grand Theft Auto V"
$SocialClub = "C:\Program Files\Rockstar Games\Social Club"
if (!(Test-Path -Path $Profile)) {
udoprog / rtss_limiter.ahk
Last active Aug 18, 2019
AHK script to toggle between two different FPS limits in RTSS
View rtss_limiter.ahk
; Inputs two different FPS values into RivaTunerStatisticsServer when toggled.
#SingleInstance force
values := [144, 116]
stage := 1
focus_row := 1
FOCUS_TOP := 163
View fix-leaking-lifetimes.diff
diff --git a/bot/src/module/ b/bot/src/module/
index 632d68d..b87f0ba 100644
--- a/bot/src/module/
+++ b/bot/src/module/
@@ -87,6 +87,8 @@ impl super::Module for Module {
handlers.insert("countdown", Handler { sender });
+ let path = self.path.clone();
View SlowDown.cs
using System;
using GTA;
using GTA.Native;
using System.Windows.Forms;
namespace Chaos
enum Speed
View BlockSkipCutscene.cs
using System;
using GTA;
namespace ChaosMod
public class BlockCutsceneSkips : Script
public BlockCutsceneSkips()
this.Tick += OnTick;
View fixed_vs_array.s
movl 112(%rdi), %eax
movl 116(%rdi), %edx
movl 116(%rdi), %edx
xorl %eax, %eax
cmpl $1, 112(%rdi)
sete %al
View gist:1fce82042776dac1c97b61468522fc43
Compiling asteroids-amethyst v0.1.0 (/home/udoprog/repo/asteroids-amethyst)
error[E0412]: cannot find type `RandomGe` in this scope
--> src/
128 | ReadExpect<'s, RandomGe>,
| ^^^^^^^^ did you mean `RandomGen`?
error[E0275]: overflow evaluating the requirement `<_ as specs::world::comp::Component>::Storage`
= help: consider adding a `#![recursion_limit="128"]` attribute to your crate
View net.c
#include <stdlib.h>
#include <stdio.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <arpa/inet.h>
#include <string.h>
#include <errno.h>
#include <unistd.h>
#define panic(EXPR, MSG) \
View heap.s
.loc 1 21 0
.cfi_personality 155, DW.ref.rust_eh_personality
.cfi_lsda 27, .Lexception0
pushq %rbp
.cfi_def_cfa_offset 16
import matplotlib.pyplot as plt
import numpy as np
from sklearn.datasets import fetch_mldata
mnist = fetch_mldata("MNIST original")
def plot_images(datas, titles):
fig, axes = plt.subplots(4, int(len(datas) / 4))
fig.set_size_inches((10, 10))
You can’t perform that action at this time.