This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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. | |
# |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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) { |