View new turtle
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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Turtle Chocolate Chip Cookies</title> | |
</head> | |
<body> | |
<h1>Turtle Chocolate Chip Cookies</h1> | |
<p>A delicious recipe for turtle chocolate chip cookies, perfect for satisfying your sweet tooth.</p> |
View NR_wgMonitor.json
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
[ | |
{ | |
"id": "76ce4664.bf196", | |
"type": "ping", | |
"z": "c612d869.d3336", | |
"mode": "timed", | |
"name": "Ping through VPN", | |
"host": "10.200.100.1", | |
"timer": "20", | |
"inputs": 0, |
View gist:cb7181076e02e2d15cb91a753f08c1dc
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
**Setting up Project addon** | |
In the user home folder/.node-red/settings.js change the EditorTheme.projects.enabled section to 'true' and restart NR. | |
Set up your project and in Settings-Git config, set up a new key and copy the public key to your git account. Create a repo on the account (private) to get the project files. Copy the keys it created from ~/.node-red/projects/.sshkeys to ~/.ssh | |
To connect to gitea instance: | |
add a file `~/.ssh/config` with the keynames you copied above |
View gist:a148be0d9e4996119fadfc661db29519
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
* Serving Flask app 'WGDashboard' (lazy loading) | |
* Environment: production | |
WARNING: This is a development server. Do not use it in a production deployment. | |
Use a production WSGI server instead. | |
* Debug mode: off | |
* Running on all addresses. | |
WARNING: This is a development server. Do not use it in a production deployment. | |
* Running on http://10.10.251.19:10086/ (Press CTRL+C to quit) | |
10.200.100.2 - - [09/Sep/2021 20:47:15] "GET /get_config/wg0?search= HTTP/1.1" 302 - | |
10.200.100.2 - - [09/Sep/2021 20:47:15] "GET /signin HTTP/1.1" 200 - |
View gist:c9da7a9851ebcee5b598d6a210d79cc5
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
[{"id":"6ce5d159.126d78","type":"inject","z":"1c85885c.80412","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"10","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":170,"y":60,"wires":[["6a9e0ede.6f203"]]},{"id":"f7a8e74b.708128","type":"html","z":"1c85885c.80412","name":"","property":"payload","outproperty":"payload","tag":".list > tbody:nth-child(2) > tr:nth-child(1) > td:nth-child(1) > a:nth-child(1)","ret":"html","as":"single","x":320,"y":120,"wires":[["84fd8aa5.c726a"]]},{"id":"6a9e0ede.6f203","type":"http request","z":"1c85885c.80412","name":"","method":"GET","ret":"txt","paytoqs":"ignore","url":"http://10.10.251.161:631/jobs?","tls":"","persist":false,"proxy":"","authType":"","x":340,"y":60,"wires":[["f7a8e74b.708128"]]},{"id":"84fd8aa5.c726a","type":"split","z":"1c85885c.80412","name":"","splt":"\\n","spltType":"str","arraySplt":1,"arraySpltType":"len","stream":false,"addname":"","x":100,"y":200,"wires":[["71725e4e.ef59d"]]},{"id":"71725e4 |
View source_select.xml
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
<window type="dialog"> | |
<defaultcontrol>2</defaultcontrol> | |
<coordinates> | |
<left>0</left> | |
<top>0</top> | |
</coordinates> | |
<controls> | |
<!-- Background Texture --> | |
<control type="image"> | |
<texture>$INFO[Window().Property(texture.white)]</texture> |
View nextcloud Upgrade
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
**Upgrade process** | |
DO NOT USE WEB-BASED UPGRADE! | |
- put into Maintenance Mode | |
`sudo -u http php /usr/share/nginx/nextcloud/occ maintenance:mode --on` | |
- stop and/or disable nginx, maybe reboot | |
`systemctl disable nginx.service` | |
- unmount nextcloud data folder: | |
`zfs unmount zstore1/nextcloud_data` | |
- rename /usr/share/nginx/nextcloud folder to nextcloud.old | |
`mv nextcloud nextcloud.old` |
NewerOlder