Skip to content

Instantly share code, notes, and snippets.

View sapjax's full-sized avatar
hibernating

sapjax sapjax

hibernating
  • 14:11 (UTC +08:00)
View GitHub Profile
@NelloKudo
NelloKudo / tft_linux_waydroid_guide.md
Last active September 9, 2026 08:28
How to play Teamfight Tactics (TFT) on Linux (Waydroid)

01/09/26 UPDATE: TFT will no longer work on Waydroid.

With the latest game patch, Riot introduced libmvg.so (likely mobile Vanguard) which no longer allows the game to work on Waydroid. It's been fun everyone 🤧

Playing TFT on Linux using Waydroid

Just like many other League addicts, ever since the Vanguard incident, TFT has been a no-go....

except it isn't, since the Android version works just as fine, after some tweaks!

@paulkaplan
paulkaplan / colorTempToRGB.js
Last active June 28, 2026 16:14
Color Temperature to RGB
// From http://www.tannerhelland.com/4435/convert-temperature-rgb-algorithm-code/
// Start with a temperature, in Kelvin, somewhere between 1000 and 40000. (Other values may work,
// but I can't make any promises about the quality of the algorithm's estimates above 40000 K.)
function colorTemperatureToRGB(kelvin){
var temp = kelvin / 100;