Skip to content

Instantly share code, notes, and snippets.

View RossComputerGuy's full-sized avatar

Tristan Ross RossComputerGuy

View GitHub Profile
@RossComputerGuy
RossComputerGuy / output.json
Created August 8, 2024 06:18
Multithreaded Nix evaluator on Ampere
{
"results": [
{
"command": "env NR_CORES=1 GC_INITIAL_HEAP_SIZE=17G /home/ross/result/bin/nix flake show --no-eval-cache --all-systems --json github:NixOS/nix/afdd12be5e19c0001ff3297dea544301108d298",
"mean": 47.89278805302,
"stddev": 0.268624251744929,
"median": 47.89278805302,
"user": 28.834562319999996,
"system": 10.01589302,
"min": 47.70284202302,
@RossComputerGuy
RossComputerGuy / FTB Revelation on the Steam Deck (Guide).md
Last active January 31, 2024 10:29
FTB Revelation on the Steam Deck (Guide)

Running FTB Revelation on the Steam Deck

This guide is an outline of my experience with running FTB Revelation on the Steam Deck. I believe many others may want to play a modded version of Minecraft and I have discovered this modpack's requirements fits within the performance of the Steam Deck. I will try my best to update this guide as I find more issues and fixes while I continue playing.

Getting Started

The first step is to download PolyMC from Discover. You must exit to desktop mode on the Steam Deck, open Discover, and install "PolyMC". Once that is done, open the desktop Steam client. From there you will add PolyMC as a "Non-Steam Game". If you want the art to show up in the Steam Client, I recommend using SGDBoop.

@RossComputerGuy
RossComputerGuy / gist:8163746474603f1f406a8d98cc7145dc
Created August 20, 2022 23:36
LEGO Star Wars: Skywalker Saga logs
======================
Proton: 1659883604 proton_flatpak-GE-Proton7-29
SteamGameId: 920210
Command: ['/mnt/games/SteamLibrary/steamapps/common/LEGO Star Wars - The Skywalker Saga/LEGOSTARWARSSKYWALKERSAGA_DX11.exe']
Options: {'forcelgadd'}
Kernel: Linux 5.15.59 #1-NixOS SMP Wed Aug 3 10:03:56 UTC 2022 x86_64
======================
ERROR: ld.so: object '/home/ross/.var/app/com.valvesoftware.Steam/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/ross/.var/app/com.valvesoftware.Steam/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/ross/.var/app/com.valvesoftware.Steam/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
Computer Information:
Manufacturer: Micro-Star International Co., Ltd.
Model: X470 GAMING PLUS MAX (MS-7B79)
Form Factor: Laptop
No Touch Input Detected
Processor Information:
CPU Vendor: AuthenticAMD
CPU Brand: AMD Ryzen 5 3600 6-Core Processor
CPU Family: 0x17
@RossComputerGuy
RossComputerGuy / index.html
Created June 11, 2022 01:08
Cerus generated homepage
<!DOCTYPE html>
<html >
<head>
<script type="module" src="/@vite/client"></script>
<script type="module">
import RefreshRuntime from "/@react-refresh"
RefreshRuntime.injectIntoGlobalHook(window)
window.$RefreshReg$ = () => {}
window.$RefreshSig$ = () => (type) => type
window.__vite_plugin_react_preamble_installed__ = true
@RossComputerGuy
RossComputerGuy / index.php
Last active April 23, 2022 00:08
CIS233W - Lab 3
<!DOCTYPE html>
<html>
<body>
<div id="topbar">
<form method="POST" enctype="multipart/form-data">
<input type="file" id="upload" name="data" accept=".json" />
<input type="submit" value="Upload JSON" />
</form>
</div>
<h3>Raw File</h3>
@RossComputerGuy
RossComputerGuy / cursed.html
Created January 18, 2022 23:39
Cursed JavaScript for School
<!DOCTYPE html>
<html>
<head>
<title>Cursed JavaScript</title>
</head>
<body>
<div id="app">
<h1>JavaScript: Everything is an Object</h1>
<p>In JavaScript, everything is an object. This means you can do some very weird things.</p>
<div id="content">
@RossComputerGuy
RossComputerGuy / popovermenu-dbus.vala
Created November 2, 2021 08:10
GTK 4.0 PopoverMenuBar w/ DBus
/**
* GTK 4 Popover Menubar with DBus
*
* Compile: valac popovermenu-dbus.vala --pkg gtk4 --pkg gio-2.0 --pkg gio-unix-2.0
*/
namespace Example {
private static string? dbus_id;
private static string? dbus_obj;
@RossComputerGuy
RossComputerGuy / main.py
Created February 18, 2021 07:49
Simple Emulator
REG_NAMES = [
'ADDR',
]
INSTRS = {
'nop': ( 0, False ),
'set': ( 1, True ),
'mmove': ( 2, True ),
'rmove': ( 3, True ),
'rmm': ( 4, True ),
@RossComputerGuy
RossComputerGuy / linux.diff
Created September 12, 2020 01:41
emberliteOS vs Arch Linux Zen
--- /dev/stdin 2020-09-11 18:40:09.750242758 -0700
+++ output/build/linux-5.8_master/.config 2020-09-11 17:08:36.495103477 -0700
@@ -1,11 +1,11 @@
#
# Automatically generated file; DO NOT EDIT.
-# Linux/x86 5.8.6-zen1 Kernel Configuration
+# Linux/x86_64 5.8.8-emberlite Kernel Configuration
#
-CONFIG_CC_VERSION_TEXT="gcc (GCC) 10.2.0"
+CONFIG_CC_VERSION_TEXT="x86_64-buildroot-linux-gnu-gcc.br_real (Buildroot 2020.05-1176-gec5d97a100-dirty) 9.3.0"