Skip to content

Instantly share code, notes, and snippets.

/*
IMPORTANT: Driver 580.105.08: https://www.nvidia.com/en-us/drivers/details/257493/
> Added a new environment variable, CUDA_DISABLE_PERF_BOOST, to allow for disabling
the default behavior of boosting the GPU to a higher power state when running
CUDA applications. Setting this environment variable to '1' will disable the boost.
CUDA perfboost bypass, distributed under MIT License
-- @Ristovski
@patrikalienus
patrikalienus / orca-find-bambu.py
Last active December 5, 2025 05:02
Make Orca Slicer discover your printer
# My computer is on ethernet and the Bambu printer is on WLAN. These two networks can communicate with
# eachother, but OrcaSlicer is still not able to discover the printer. This will "trick" Orca into
# discovering the printer and connect to its IP. I've tested this extensively and working as expected.
# I have full control over the printer that is in LAN only mode. I have to have it in LAN only mode
# because I don't want to install their coming update which will decrease the usability of the printer
# if you're using Orca - and so many are.
#
# Change the parameters to fit your environment and run it after launching Orca.
import socket
@fnky
fnky / ANSI.md
Last active December 5, 2025 18:48
ANSI Escape Codes

ANSI Escape Sequences

Standard escape codes are prefixed with Escape:

  • Ctrl-Key: ^[
  • Octal: \033
  • Unicode: \u001b
  • Hexadecimal: \x1B
  • Decimal: 27
@FelixZhang
FelixZhang / osc-cheatsheet.md
Last active August 7, 2024 07:39
osc cheatsheet

osc cheatsheet

configuration

.oscrc

TBD

aliases