Skip to content

Instantly share code, notes, and snippets.

View theodric's full-sized avatar
🎯
Shoobydoowop

theodric theodric

🎯
Shoobydoowop
View GitHub Profile
@dillera
dillera / diablo_install.txt
Last active September 27, 2021 12:26
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 April 20, 2024 02:43
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 23, 2024 22:07
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 April 4, 2023 13:39
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 February 3, 2024 15:28
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
@davidfraser
davidfraser / Google Drive Sync Wine Scripting.md
Last active July 9, 2023 01:00
Google Drive Sync Wine Scripting

Google Drive Sync Wine Scripting

This is a set of scripts that help running Google Drive Backup and Sync under Wine, with multiple Google accounts.

Each account is given its own Wine prefix (a separate wine configuration).

To install, run install-gdrive-sync google_account

List the accounts set up in ~/.config/gdrive-accounts