Skip to content

Instantly share code, notes, and snippets.

View sudopluto's full-sized avatar
🎯
lets write some code

Pranav Sharma sudopluto

🎯
lets write some code
View GitHub Profile
@sudopluto
sudopluto / README.md
Created August 17, 2023 05:45 — forked from plugnburn/README.md
JJY.js: Web Audio API based JJY transmitter

JJY.js: JJY time signal emulation/transmission library

Usage

  1. Make sure that the watch/clock is configured to receive JJY 40 KHz signal (for most Casio Waveceptor/G-Shock watches, the easiest way is to enter the engineer menu by pressing Mode+Light+Receive and select J 40 reception mode, for all other watches you need to set the home city to Tokyo)
  2. Make sure your device clock is in sync before running the emulator.
  3. From the page, run:
@sudopluto
sudopluto / 10-xppen.hwdb
Created December 27, 2021 02:32 — forked from WPettersson/10-xppen.hwdb
hwdb entry for my Deco 1 V2
evdev:input:b*v28BDp0905*
KEYBOARD_KEY_d0045=332
KEYBOARD_KEY_700e0=fn
KEYBOARD_KEY_700e2=fn
KEYBOARD_KEY_70015=prog1
KEYBOARD_KEY_70018=prog2
KEYBOARD_KEY_7001c=prog3
KEYBOARD_KEY_7003c=prog4
KEYBOARD_KEY_7002d=f14
KEYBOARD_KEY_70026=f15
@sudopluto
sudopluto / skylake-tuning-linux.md
Created March 29, 2017 22:51 — forked from Brainiarc7/skylake-tuning-linux.md
This gist will show you how to tune your Intel-based Skylake, Kabylake and beyond Integrated Graphics Core for performance and reliability through GuC and HuC firmware usage on Linux.

Tuning Intel Skylake and beyond for optimal performance and feature level support on Linux:

Note that on Skylake, Kabylake (and the now cancelled "Broxton") SKUs, functionality such as power saving, GPU scheduling and HDMI audio have been moved onto binary-only firmware, and as such, the GuC and the HuC blobs must be loaded at run-time to access this functionality.

Enabling GuC and HuC on Skylake and above requires a few extra parameters be passed to the kernel before boot.

Instructions provided for both Fedora and Ubuntu (including Debian):

Note that the firmware for these GPUs is often packaged by your distributor, and as such, you can confirm the firmware blob's availability by running: