Skip to content

Instantly share code, notes, and snippets.

View jaredallard's full-sized avatar
:shipit:

Jared Allard jaredallard

:shipit:
View GitHub Profile
@jaredallard
jaredallard / rm2-tailscale.sh
Last active March 20, 2025 20:21 — forked from cceckman/rm2-tailscale.sh
Tailscale setup for remarkable
#!/usr/bin/env bash
#
# Original: https://github.com/cceckman/homelab/blob/main/helpers/rm2-tailscale.sh
# I am the original author of this document and release it into the public domain.
# Go wild.
#
# 2025 Modified by @jaredallard to build release versions of Tailscale.
#
# This script enables [Tailscale] on a [reMarkable 2] tablet.
#
/**
* A* (A-Star) Pathfinding Algorithm in JavaScript
* @author Matthew Trost
* @license Creative Commons Attribution-ShareAlike 3.0 Unported License
* @datepublished December 2010
*/
function astar (map, heuristic, cutCorners) {
var listOpen = [];
var listClosed = [];