Skip to content

Instantly share code, notes, and snippets.

View theodric's full-sized avatar
🎯
Shoobydoowop

þēodrīċ theodric

🎯
Shoobydoowop
View GitHub Profile
@dillera
dillera / diablo_install.txt
Last active October 24, 2024 04:36
Installing Diablo on IRIX using remote RPMs
Here are some directions to install Diablo (devilutionX) on your SGI running IRIX.
- THANKS to Onre, HAL, Unxmaal, jenna16bit, mach-kernal of SGI UG! They did this.
- tested on 6.5.30, with RSE 0.0.7 on a Fuel and base Octane 1. Sound just works
- this is using SDL2, so many more games are in the pipeline!
- all packages were built on my Fuel with RSE 0.0.7 and patches and help from the gang above
- the dandyum repo host is mine and running on Digital Ocean droplet
- many hours of hacking, building packages and staging so you can install with one command... enjoy
- join us and help at http://sgi.sh/
@akihikodaki
akihikodaki / README.en.md
Last active May 8, 2025 22:13
Linux Desktop on Apple Silicon in Practice

Linux Desktop on Apple Silicon in Practice

I bought M1 MacBook Air. It is the fastest computer I have, and I have been a GNOME/GNU/Linux user for long time. It is obvious conclusion that I need practical Linux desktop environment on Apple Silicon.

Fortunately, Linux already works on Apple Silicon/M1. But how practical is it?

  • Two native ports exist.
@chaiyujin
chaiyujin / ubuntu_update_booting_kernel.md
Created December 8, 2020 12:42
Ubuntu: Install Kernel and Set GRUB Default Kernel

Ubuntu: Install Kernel and Set GRUB Default Kernel

Install Kernel

Install the default kernel:

sudo apt install linux-generic

Set GRUB Default Kernel

  1. Find entrance from /boot/grub/grub.cfg
    • Get the $menuentry_id_option:
*** DISCLAIMER *** DISCLAIMER *** DISCLAIMER *** DISCLAIMER *** DISCLAIMER *** DISCLAIMER ***
The contents of this file are essentially a laundry list of things you should definitely not do
beceause they might get you killed. I am not just not telling you to do this, I am telling you
NOT to do this. OK? Disclaimer accepted? Because please don't sue me, I'm just trying to keep
you alive, but I'm not a medical authority so you should assume I got all this information from
4chan and infowars and not from like the WHO or the CDC. Cool? Great.
*** DISCLAIMER *** DISCLAIMER *** DISCLAIMER *** DISCLAIMER *** DISCLAIMER *** DISCLAIMER ***
Basic guide to staying the fuck home:
https://staythefuckhome.com/
@t27
t27 / linux-oom-killer-fixes.md
Last active April 24, 2025 00:08
Dealing with the Linux OOM Killer

Dealing with the Linux OOM Killer at the program level

Do this in cases when you dont want to change the os-level settings, but only want to disable the OOM killer for a single process. This is useful when youre on a shared machine/server.

The OOM killer uses the process level metric called oom_score_adj to decide if/when to kill a process. This file is present in /proc/$pid/oom_score_adj. The oom_score_adj can vary from -1000 to 1000, by default it is 0.

You can add a large negative score to this file to reduce the probability of your process getting picked and terminated by OOM killer. When you set it to -1000, it can use 100% memory and still avoid getting terminated by OOM killer.

@jordanorelli
jordanorelli / hostapd.conf
Last active October 26, 2023 13:13
Raspberry Pi 3 B+ access point config
# this is the built-in wifi chip
interface=wlan0
driver=nl80211
ssid=jorelli's raspberry pi
# this config got me 30mbps
# this is 2.4GHz 802.11n configuration
############################################
@MIvanchev
MIvanchev / article.md
Last active January 18, 2025 11:09
Ever wondered what it takes to run Windows software on ARM? Then this article might be for you!
@TomFaulkner
TomFaulkner / ubuntu18.04-vfio.md
Last active January 24, 2025 13:52
VFIO Setup on Ubuntu 18.04
import sys
import extract_icon
import os
import argparse
class MorIcons:
"""
parses an ``APPS.INF`` file, dumps all icons from a PE binary and
generates an HTML file with all the icons and associated program
names
@stungeye
stungeye / crypto_news.json
Created December 18, 2017 04:42
News Site RSS Feeds
[
{
"url": "http://money.cnn.com",
"rss": "http://rss.cnn.com/rss/money_topstories.rss"
},
{
"url": "http://thehill.com",
"rss": "http://thehill.com/rss/syndicator/19110"
},
{