Usage: cat ~/.local/share/freenet/secrets/transport_keypair | rust-script pubkey_from_secret.rs
You can get rust-script from cargo: cargo install rust-script
| #!/usr/bin/env bash | |
| set -euxo pipefail | |
| if [ -v INSIDE ]; then | |
| sleep 10s | |
| waydroid show-full-ui | |
| exit 0 | |
| fi |
| #!/bin/bash | |
| # This is the address of the router | |
| FRITZIP=http://192.168.178.1 | |
| # This is the WAN interface | |
| IFACE="2-0" # view from inside | |
| #IFACE="2-1" # view from outside | |
| # Lan Interface |
| #!/usr/bin/env bash | |
| # This script assums it is being run in a nixpkgs checkout | |
| # This script will try to update all packages with sources from git.openwrt.org | |
| # to their latest unstable version automatically | |
| set -e | |
| for p in $(grep -rn git.openwrt pkgs/ | sed "s|:.*$||g" | sort | uniq); do |
| #!/usr/bin/env bash | |
| # Note: unsupported elements such as arrays with non-strings will be returned as "<<UNSUPPORTED>>" | |
| echo "xfconf.settings = {" | |
| for m in $(xfconf-query -l); do | |
| echo " $m = {" | |
| for p in $(xfconf-query -l -c $m); do | |
| v=$(xfconf-query -l -c $m -p $p -v | sed "s|.* ||g") | |
| echo " \"$(echo "$p" | sed "s|^/||g")\" = \"$v\";" |
| import {template} from '@babel/core' | |
| import path from 'path' | |
| import fs from 'fs' | |
| const header = ` | |
| import { dirname as _INJECT_d } from 'path'; | |
| import { fileURLToPath as _INJECT_f } from 'url'; | |
| const __filename = _INJECT_f(import.meta.url) | |
| const __dirname = _INJECT_d(__filename) | |
| ` |
| <!doctype html> | |
| <html> | |
| <head> | |
| <meta charset="utf-8"> | |
| <meta name="viewport" content="width=device-width"> |
| #!/usr/bin/env node | |
| 'use strict' | |
| /* | |
| Usage: | |
| - first dump package dependencies with "opkg status > /tmp/status" and copy the file "scp -O root@your-router:/tmp/status ./dependencies" | |
| - then use the script: | |
| $ node opkg-deps.js ./dependencies why luci | |
| $ node opkg-deps.js ./dependencies search iptables |
| // Decode binary | |
| function decodeBinary(arr) { | |
| let out = '' | |
| for (let i = 0; i < arr.length; i += 8) { | |
| out += String(Buffer.from(parseInt(arr.slice(i, i + 8), 2).toString(16), 'hex')) | |
| } | |
| return out | |
| } |
You're on linux, the Chrome OS Recovery Utility isn't supported, but you'd still want to try Chrome OS Flex? Worry no more!
(NOTE: I'm aware of Googles offical Linux script, but that one is "in maintaince mode" and also doesn't have flex)
Install the following packages: jq, curl, wget, unzip (most, if not all, should be preinstalled)