Skip to content

Instantly share code, notes, and snippets.

View tentious's full-sized avatar

tentious tentious

View GitHub Profile
@patrakov
patrakov / README
Last active October 22, 2023 12:33
Automatically reinstall OpenWRT packages after firmware upgrades
The script helps you restore all installed OpenWRT packages after upgrading the main firmware image via sysupgrade. It works
ONLY if the default firmware image provided by the OpenWRT project is sufficient to get connected to the Internet, but you
want some extra packages for additional functionality. In other words, it WILL NOT WORK if connecting to the Internet
requires installing extra packages (e.g., a kernel module for your LTE modem).
The script has been tested for upgrading from OpenWRT 18.06.1 to 18.06.2 and to a development snapshot, as well as between
development snapshots. On LEDE 17.01.x, "flock" is not a part of the default image, so has to be installed manually.
Initial setup:
@tentious
tentious / install_deletion_job.sh
Last active October 2, 2018 01:25 — forked from SippieCup/install_deletion_job.sh
Installer for script & cron job that automatically deletes older drives when free space goes under 5GB.
#!/bin/sh
# Create deletion script
if [ ! -d /data/cleardata ]
then
echo "Creating /data/cleardata folder"
mkdir /data/cleardata
else
echo "/data/cleardata folder already exists..."
fi
@benjamincharity
benjamincharity / autonomous.txt
Last active April 30, 2024 11:59
Instructions on how to reset the autonomous desk. This fixes a problem where the desk will not lower (also reportedly fixes incorrectly reported heights).
> Thank you for reaching out to Autonomous! I am sorry to hear that you are having some trouble with your SmartDesk
> but I will be glad to assist. It sounds like your system needs a "hard reset" can I please have you follow these
> steps thoroughly.
Reset Steps:
1. Unplug the desk for 20 seconds. Plug it back in. Wait a full 20 seconds.
2. Press the up and down buttons until the desk lowers all the way and beeps or 20 seconds pass.
3. Release both buttons.
4. Press the down buttons until the desk beeps one more time or 20 seconds pass.