Skip to content

Instantly share code, notes, and snippets.

View Willy-JL's full-sized avatar
🗿

WillyJL Willy-JL

🗿
View GitHub Profile
@fre-sch
fre-sch / showmodal.reds
Created February 5, 2021 14:22
Cyberpunk 2077 - Showing some (debug) information in redscripts
let evt = new NotifyShardRead();
evt.title = "Title for modal";
evt.text = "Text for modal;
/* NotifyShardRead has other properties that can be left unset */
let gi: GameInstance = player.GetGame(); /* any GameObject provides GetGame() -> GameInstance */
GameInstance.GetUISystem(gi).QueueEvent(evt);
@LambdAurora
LambdAurora / optifine_alternatives_fabric.md
Last active June 30, 2024 17:13
Recommended OptiFine alternatives on Fabric

The list is moving out!

If you share this list, please use this link instead: https://lambdaurora.dev/optifine_alternatives

It may still be only a redirection link, but it will have a better web display of the list soon. And the list being on GitHub/GitHub pages improves load times.

The gist version of this list will stop being updated.

Why?

@fnky
fnky / ANSI.md
Last active July 3, 2024 11:00
ANSI Escape Codes

ANSI Escape Sequences

Standard escape codes are prefixed with Escape:

  • Ctrl-Key: ^[
  • Octal: \033
  • Unicode: \u001b
  • Hexadecimal: \x1B
  • Decimal: 27
@gboudreau
gboudreau / AuthyToOtherAuthenticator.md
Last active July 5, 2024 11:15 — forked from Ingramz/AuthyToOtherAuthenticator.md
Export TOTP tokens from Authy

Aligning images

This is a guide for aligning images.

See the full Advanced Markdown doc for more tips and tricks

left alignment

@okunishinishi
okunishinishi / Remove all git tags
Created March 8, 2014 03:12
Delete all git remote tags
#Delete local tags.
git tag -l | xargs git tag -d
#Fetch remote tags.
git fetch
#Delete remote tags.
git tag -l | xargs -n 1 git push --delete origin
#Delete local tasg.
git tag -l | xargs git tag -d
@jawa0
jawa0 / loadTexture.py
Created November 2, 2012 17:39
Use the Python Imaging Library (PIL), and NumPy to read an image into an OpenGL texture
from OpenGL.GL import *
import Image
import numpy
imname = 'uv-grey.jpg'
# glTexImage2D expects the first element of the image data to be the bottom-left corner of the image.
# Subsequent elements go left to right, with subsequent lines going from bottom to top.
#
# However, the image data was created with PIL Image tostring and numpy's fromstring, which means we