Skip to content

Instantly share code, notes, and snippets.

View Jackzmc's full-sized avatar

Jackz Jackzmc

View GitHub Profile
#!/bin/bash
#
# https://bugs.mojang.com/browse/MC-122477
# Replaces the extracted libglfw.so with this custom built one.
# How that can be done depends on your launcher.
# Minecraft version doesn't matter but GLFW version should match.
#
set -xe
# GLFW for LWJGL 3.3.1: https://github.com/glfw/glfw/archive/97da62a027794d9ff0f4512268cb9a73a8fb5073.zip
@Jackzmc
Jackzmc / launch_gtao_patch.bat
Last active February 16, 2023 20:38
A batch file to launch the game or auto inject using xenos (https://github.com/DarthTon/Xenos) injector the GTA online patch: https://github.com/QuickNET-Tech/GTAO_Booster_PoC.
:: Launch GTA Online Patch v1.2
:: This batch file will automatically launch GTAV if not started, look for the process and inject using Xenos
:: You should probably at minimum change the GTADIR parameter below to where your GTA5.exe is
:: It will run Xenos64 in the folder the bat file is ran from, for the profile "OnlinePatch.xpr64"
:: Links
:: Xenos - https://github.com/DarthTon/Xenos
:: Online Patch Booster - https://github.com/QuickNET-Tech/GTAO_Booster_PoC
@echo off
title Launch GTA Online Patch
#!/bin/bash
export __NV_PRIME_RENDER_OFFLOAD=1
export __GLX_VENDOR_LIBRARY_NAME=nvidia
export __VK_LAYER_NV_optimus=NVIDIA_only
export VK_ICD_FILENAMES=/usr/share/vulkan/icd.d/nvidia_icd.json
exec "$@"
@wisedier
wisedier / README.md
Last active August 18, 2023 14:56
Create headless Ubuntu 18.04 virtual machine with Oracle Virtualbox only using command line in offline environment
@ethack
ethack / TypeClipboard.md
Last active May 4, 2025 03:07
Scripts that simulate typing the clipboard contents. Useful when pasting is not allowed.

It "types" the contents of the clipboard.

Why can't you just paste the contents you ask? Sometimes pasting just doesn't work.

  • One example is in system password fields on OSX.
  • Sometimes you're working in a VM and the clipboard isn't shared.
  • Other times you're working via Remote Desktop and again, the clipboard doesn't work in password boxes such as the system login prompts.
  • Connected via RDP and clipboard sharing is disabled and so is mounting of local drives. If the system doesn't have internet access there's no easy way to get things like payloads or Powershell scripts onto it... until now.

Windows

The Windows version is written in AutoHotKey and easily compiles to an executable. It's a single line script that maps Ctrl-Shift-V to type the clipboard.