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 () { | |
const submitButton = document.getElementById('pstad-submit'); | |
const duplicateButton = document.createElement('button'); | |
duplicateButton.setAttribute('id', 'pstad-duplicate'); | |
duplicateButton.setAttribute('type', 'submit'); | |
submitButton.after(duplicateButton); | |
duplicateButton.addEventListener('click', (event) => { | |
event.preventDefault(); |
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
# ======================================================== | |
# Setup a Dumb AP, Wired backbone for OpenWRT / LEDE | |
# ======================================================== | |
# Set lan logical interface as bridge (to allow bridge multiple physical interfaces) | |
uci set network.lan.type='bridge' | |
# assign WAN physical interface to LAN (will be available as an additional LAN port now) | |
uci set network.lan.ifname="$(uci get network.lan.ifname) $(uci get network.wan.ifname)" | |
uci del network.wan.ifname | |
# Remove wan logical interface, since we will not need it. | |
uci del network.wan |
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
# NextCLoud with MariaDB/MySQL | |
# | |
# Access via "http://localhost:80" (or "http://$(docker-machine ip):80" if using docker-machine) | |
# | |
# During initial NextCLoud setup, select "Storage & database" --> "Configure the database" --> "MySQL/MariaDB" | |
# Database user: nextcloud | |
# Database password: nextcloud | |
# Database name: ncdb | |
# Database host: replace "localhost" with "maria-db" the same name as the data base container name. | |
# |