Skip to content

Instantly share code, notes, and snippets.

View asimonf's full-sized avatar
🏠
Working from home

Alberto Simon asimonf

🏠
Working from home
  • Mercado Libre
  • Santiago, Chile
View GitHub Profile
@asimonf
asimonf / README.md
Last active September 21, 2026 15:56
Steam Deck setup for Ryubing testing

Steam Deck setup for Ryubing testing

This one-time setup lets the development computer deploy emulator builds and collect test results over SSH. It adds the development computer's public key to your Deck account and enables SSH. The private key stays on the development computer.

1. Open this page on the Deck

Switch to Desktop Mode, open Firefox, and visit https://gist.github.com/asimonf. Open the gist named Steam Deck setup for Ryubing testing.

2. Open Konsole

@asimonf
asimonf / Program.cs
Last active March 9, 2022 19:23
Get multiplier and divisors for an input frequency for PLL using Continued Fractions
using System;
using System.Collections.Generic;
using System.Numerics;
using Fractions;
static Fraction FractionCoefsToRational(IReadOnlyList<BigInteger> approx, int index = 0, int cutoff = -1)
{
if (cutoff > approx.Count || cutoff < 0) cutoff = approx.Count;
var ret = Fraction.Zero;
Index: gfx/drivers_context/drm_egl_ctx.c
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
===================================================================
--- gfx/drivers_context/drm_egl_ctx.c (revision 3ef70c1c3ddb49abcaed48e41897c7350076f1f5)
+++ gfx/drivers_context/drm_egl_ctx.c (revision )
@@ -356,8 +356,10 @@
if (drm->g_orig_crtc)
drmModeFreeCrtc(drm->g_orig_crtc);