Skip to content

Instantly share code, notes, and snippets.

View cgranade's full-sized avatar

Cassandra Granade cgranade

View GitHub Profile
@cgranade
cgranade / rmpp-tailscale.sh
Created December 4, 2024 21:25 — forked from bedw8/rm2-tailscale.sh
Tailscale setup for remarkable
#!/bin/sh
#
# Original: https://github.com/cceckman/homelab/blob/main/helpers/rm2-tailscale.sh
# cceckman is the original author of this document and release it into the public domain.
# Go wild.
#
# bedw8 is the author for the RMPP version
#
# This script enables [Tailscale] on a [reMarkable Paper Pro] tablet.
#
@cgranade
cgranade / x
Created October 28, 2008 20:29 — forked from anonymous/x
xpc-interfaces: Provides a Ubiquity command to query interfaces supported by a contract ID.
function get_ifaces(component) {
// WARNING: This is implemented in a stupid way.
var nsis = Components.interfaces.nsISupports;
var cc = Components.classes;
var clazz = cc[component].createInstance(nsis);
var ifaces = Array();
for each (iface in Components.interfaces) {
if (clazz instanceof iface) {