Skip to content

Instantly share code, notes, and snippets.

View stpettersens's full-sized avatar

Sam Saint-Pettersen stpettersens

View GitHub Profile
@stpettersens
stpettersens / rc.xml
Last active November 4, 2025 16:15 — forked from downthecrop/rc.xml
A Better Aero Snap with Openbox
<!-- Window Tiling: Emulates Windows 7 Snap feature JASON CAVETT -->
<keybind key="W-J">
<action name="UnmaximizeFull"/>
<action name="MaximizeVert"/>
<action name="MoveResizeTo">
<width>50%</width>
</action>
<action name="MoveToEdgeWest"/>
</keybind>
<keybind key="W-L">
@stpettersens
stpettersens / dtc.openbox.conf
Created November 3, 2025 16:04 — forked from downthecrop/dtc.openbox.conf
Useful links for openbox/tint2/urxvt
Openbox
Tint2
Urxvt
lxappearance
breeze dark
for system-wide mouse configuration, one can edit /usr/share/icons/default/index.theme
tint2conf is the customizer
sudo xbps-query -Rs rxvt
@stpettersens
stpettersens / build-reicast-deb.sh
Last active May 1, 2020 14:25 — forked from bmaupin/build-reicast.sh
Build Reicast emulator on Ubuntu/Debian
# Install prerequisites
sudo apt-get -y install build-essential libasound2 libasound2-dev libegl1-mesa-dev libgl1-mesa-dev libgles2-mesa-dev mesa-common-dev libudev-dev
# Build Reicast
git clone https://github.com/reicast/reicast-emulator.git
cd reicast-emulator
git checkout master # Make sure on 'master' branch so will find the necessary subdir (not in alpha branch).
cd shell/linux
make
# Run Reicast
// ==UserScript==
// @name Duolingo Trim tree
// @namespace 9a84a9d7b3fef7de9d2fd7155dcd794c
// @description Hides all golden skills with a button.
// @author Arek Olek
// @match https://www.duolingo.com/*
// @icon https://s32.postimg.org/8zxj3evit/duolingo.png
// @grant GM_getValue
// @grant GM_setValue
// @require http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js