This file contains 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
This file provides some nifty command-line tools around DD-WRT's nvram command. | |
https://www.dd-wrt.com/wiki/index.php/Hardware#NVRAM | |
USE WITH CAUTION: fiddling with nvram can wipe your settings and you may loose access to your router. | |
Hint 1: Different version of DD-WRT might use different nvram variables. Thus, be carefull when updating. | |
Hint 2: The commands listed below should be issued via a ssh-connection since the webinterface for issuing commands might time out for the longer commands. | |
Background | |
========== | |
Extracting the content of configuration variables with nvram would provide an easy way of selective backup/restore of settings. However, listing the content of the nvram via | |
nvram show |
This file contains 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
if [ ! -f .env ] | |
then | |
export $(cat .env | xargs) | |
fi |
This file contains 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
// ==UserScript== | |
// @name WAWeb 24-hourifier | |
// @version 0.4 | |
// @description Convert all elements with 12-hour time to 24-hour automatically (for WhatsApp Web, but could be adapted easily) | |
// @author Greenscreener | |
// @homepage https://grsc.cz/ | |
// @match https://web.whatsapp.com/* | |
// @grant none | |
// @downloadURL https://gist.githubusercontent.com/Greenscreener/4422f5be36752bc720cbc7222fb73cdc/raw/12to24.user.js | |
// @updateURL https://gist.githubusercontent.com/Greenscreener/4422f5be36752bc720cbc7222fb73cdc/raw/12to24.user.js |