Skip to content

Instantly share code, notes, and snippets.

View RossComputerGuy's full-sized avatar

Tristan Ross RossComputerGuy

View GitHub Profile
//META{"name":"Mobile Suit Gundam UC 0079","description":"A Mobile Suit Gundam theme for the UC 0079 series.","author":"Spaceboy Ross","version":"1.0.0"}*//
@import url(https://satoru8.github.io/Collection/Base.css);
@import url(https://satoru8.github.io/Addons/FriendsList.css);
@import url(https://satoru8.github.io/Addons/MemberlistPopout.css);
@import url(https://satoru8.github.io/Addons/SmallerGuildIcons.css);
:root {
--light: rgba(0, 0, 0, .5); /* Overall brightness. 1= black, 0 = transparent */
--userlight:rgba(0, 0, 0, 0.5); /* Brightness for the userpopouts */
@RossComputerGuy
RossComputerGuy / .config
Created January 5, 2020 21:00
Buildroot config
#
# Automatically generated file; DO NOT EDIT.
# Buildroot 0.1.0-prealpha-gd7b7f87e7b-dirty Configuration
#
BR2_HAVE_DOT_CONFIG=y
BR2_HOST_GCC_AT_LEAST_4_9=y
BR2_HOST_GCC_AT_LEAST_5=y
BR2_HOST_GCC_AT_LEAST_6=y
BR2_HOST_GCC_AT_LEAST_7=y
BR2_HOST_GCC_AT_LEAST_8=y
@RossComputerGuy
RossComputerGuy / rainbow-led.sh
Last active February 13, 2020 00:20
Rainbow LED bash script for the PinePhone
#!/usr/bin/env bash
set_color() {
local led="$1"
local color="$2"
echo "$color" >/sys/class/leds/pinephone:"$led":user/brightness
}
DECL_set_color=$(declare -f set_color)
# TODO: implement PWM, however that works
@RossComputerGuy
RossComputerGuy / steam.log
Created May 13, 2020 08:20
No Man's Sky Proton Log
======================
Proton: 1586834466 5.6-GE-1-6-ga6d50e7
SteamGameId: 275850
Command: ["/mnt/games/steamapps/common/No Man's Sky/Binaries/NMS.exe"]
Options: {'forcelgadd'}
======================
ERROR: ld.so: object '/home/ross/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/ross/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
ERROR: ld.so: object '/home/ross/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
ERROR: ld.so: object '/home/ross/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
Computer Information:
Manufacturer: Unknown
Model: Unknown
Form Factor: Laptop
No Touch Input Detected
Processor Information:
CPU Vendor: GenuineIntel
CPU Brand: Intel(R) Core(TM) i5-8300H CPU @ 2.30GHz
CPU Family: 0x6
@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"
@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 / 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 / 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 / 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>