Skip to content

Instantly share code, notes, and snippets.

View GhostofGoes's full-sized avatar

Chris Goes GhostofGoes

  • New Mexico, USA
  • 13:15 (UTC -06:00)
View GitHub Profile
@thesamesam
thesamesam / xz-backdoor.md
Last active May 4, 2024 09:26
xz-utils backdoor situation (CVE-2024-3094)

FAQ on the xz-utils backdoor (CVE-2024-3094)

This is a living document. Everything in this document is made in good faith of being accurate, but like I just said; we don't yet know everything about what's going on.

Background

On March 29th, 2024, a backdoor was discovered in xz-utils, a suite of software that

@kabachuha
kabachuha / deforum-video_settings.json
Created February 23, 2023 04:04
Deforum ControlNet HED mode — prev Bad Apple rendering coloration
{
"skip_video_for_run_all": false,
"fps": 24,
"make_gif": false,
"ffmpeg_location": "/home/kabachuha/.local/lib/python3.8/site-packages/imageio_ffmpeg/binaries/ffmpeg-linux64-v4.2.2",
"ffmpeg_crf": "17",
"ffmpeg_preset": "slow",
"add_soundtrack": "File",
"soundtrack_path": "bad_apple.webm",
"r_upscale_video": false,
@kabachuha
kabachuha / deforum_settings.json
Created February 22, 2023 17:30
ControlNet ScribbleMode + Deforum hybrid mode — Bad Apple
{
"W": 768,
"H": 512,
"tiling": false,
"seed": 1733594390,
"sampler": "Euler a",
"seed_resize_from_w": 0,
"seed_resize_from_h": 0,
"steps": 25,
"ddim_eta": 0.0,
@kabachuha
kabachuha / keyframes.json
Created February 20, 2023 18:46
Deforum bad apple keyframes
{
"0": "detailed forest landscape with lots of vibrant flowers and sakura trees",
"30": "anime 1girl reimu, view from behind",
"160": "anime 1girl reimu holding a grilled apple",
"280": "grilled apple",
"355": "anime 1girl kirisame marisa witch flying on a broomstick holding a grilled apple",
"500": "anime 1girl kirisame marisa witch flying on a broomstick",
"527": "anime 1girl kirisame marisa witch flying on a broomstick towards an intricate detailed mansion",
"987": "grilled apple stub",
"1347": "anime 1girl patchouli knowledge",
@AbstractUmbra
AbstractUmbra / 00-deprecation.md
Last active May 2, 2024 02:34
discord.py 2.0+ slash command info and examples

This gist has now been 'deprecated' and has moved...

... to my blog style space for easier contribution by third parties and to provide what I believe to be an easier reading experience. Please field all enquiries and issues to the source repository.

@klo2k
klo2k / gist:fe794f107c11292ba47b4d052c547983
Created February 12, 2022 08:01
Install virt-manager in Windows 11 WSL (qemu, Windows Subsystem for Linux)
# Inside WSL...
# Install virt-manager
sudo apt install -y virt-manager
# Add youself to kvm and libvirt group
sudo usermod --append --groups kvm,libvirt "${USER}"
# Fix-up permission to avoid "Could not access KVM kernel module: Permission denied" error
sudo chown root:kvm /dev/kvm
@maxerium
maxerium / btmc-skin-doc.md
Last active April 15, 2023 10:06
BTMC's Skins

BTMC's Skin Overview/List

This will always be kept up-to-date. (Current Revision: 1.4, 03rd November 2020)

The list is maintained by maxi#0666. If anything is broken or missing, please DM me on Discord. Thank you!

This skin list is not up-to-date anymore. Head over to this site for the actual document.

@andy-thomason
andy-thomason / Genomics_A_Programmers_Guide.md
Created May 14, 2019 13:32
Genomics a programmers introduction

Genomics - A programmer's guide.

Andy Thomason is a Senior Programmer at Genomics PLC. He has been witing graphics systems, games and compilers since the '70s and specialises in code performance.

https://www.genomicsplc.com

@scragly
scragly / learning_dpy.md
Last active March 27, 2024 21:45
Learning discord.py
@dmfigol
dmfigol / asyncio_loop_in_thread.py
Last active April 21, 2024 17:32
Python asyncio event loop in a separate thread
"""
This gist shows how to run asyncio loop in a separate thread.
It could be useful if you want to mix sync and async code together.
Python 3.7+
"""
import asyncio
from datetime import datetime
from threading import Thread
from typing import Tuple, List, Iterable