I hereby claim:
- I am rakslice on github.
- I am rakslice (https://keybase.io/rakslice) on keybase.
- I have a public key ASACiA-FYhY0uojbWCxD_w0FSyhFBoqliQQ7Zn95XIXiGwo
To claim this, I am signing this object:
#!/bin/sh | |
# /usr/libexec/ifupdown-ng/rfkillcheck | |
rfkill_iface=wlan0 | |
rfkill_file=/sys/class/rfkill/rfkill1/soft | |
check() { | |
if [ "$IFACE" = "$rfkill_iface" ] && [ "$PHASE" = "pre-up" ]; then | |
// ==UserScript== | |
// @name make mastodon links internal | |
// @namespace http://rakslice.net/userscripts/mastodon_internal_links | |
// @version 2024-08-05 | |
// @description within the mastodon advanced UI, make links to other posts on external sites instead link to the post within the UI | |
// @author You | |
// @match https://mastodon.social/deck/* | |
// @icon https://www.google.com/s2/favicons?sz=64&domain=mastodon.social | |
// @grant none | |
// @require http://code.jquery.com/jquery-3.4.1.min.js |
// ==UserScript== | |
// @name remap home and end for downshift | |
// @namespace http://rakslice.net/userscripts/remap_downshift_home_and_end | |
// @version 2024-08-06 | |
// @description remap home and end for braindead downshift search combo box behaviour on MDN | |
// @author rakslice | |
// @match https://developer.mozilla.org/* | |
// @grant none | |
// @require https://code.jquery.com/jquery-3.7.1.min.js | |
// ==/UserScript== |
#include <iostream> | |
#include <fstream> | |
#include <vector> | |
#include <string> | |
#include <queue> | |
#include <tuple> | |
#include <map> | |
using namespace std; |
def contents(filename): | |
with open(filename, "r") as handle: | |
return handle.read() | |
memo = {} | |
def solver_rec(puz, scores): | |
key = puz, tuple(scores) |
import collections | |
def contents(filename): | |
with open(filename, "r") as handle: | |
return handle.read() | |
def bin_cards(hand, part): | |
p = collections.Counter() |
javascript: (() => { var prefix="https://archive.is/newest/"; var wlh = window.location.href; if (!wlh.startsWith(prefix) && (!wlh.startsWith("https://archive.ph/"))) { window.location.href = prefix + wlh.split("?",1)[0]; } })(); |
#!/bin/sh | |
set -e | |
set -x | |
# idle hlt monkey patch for old solaris x86 | |
# based on ian northeast's alt.solaris.x86 post from 2003 | |
# https://groups.google.com/g/alt.solaris.x86/c/eCi8GKouFqg/m/jCnUnhhN7X4J | |
readval() # Usage: readval {adb address and verb} {type modifier} | |
{ |
#!/bin/bash | |
set -e | |
# A script to put together and build fujitsu_scroll modified psmouse module on alpine | |
if [ ! -d ~/src/aports ]; then | |
echo "error: you need an aports checkout to get the current kernel source" | |
exit 1 | |
fi |
I hereby claim:
To claim this, I am signing this object: