Requirement: node-red-dashboard. Obviously you will need a Raspberry Pi too!
This is a simple but very useful Actions buttons to control a Raspberry Pi it includes so far:
- Actions: Shutdown and Reboot buttons restart some services
| # Compiled source # | |
| ################### | |
| *.com | |
| *.class | |
| *.dll | |
| *.exe | |
| *.o | |
| *.so | |
| # Packages # |
| { | |
| "alt-speed-down": 50, | |
| "alt-speed-enabled": false, | |
| "alt-speed-time-begin": 540, | |
| "alt-speed-time-day": 127, | |
| "alt-speed-time-enabled": false, | |
| "alt-speed-time-end": 1020, | |
| "alt-speed-up": 50, | |
| "bind-address-ipv4": "0.0.0.0", | |
| "bind-address-ipv6": "::", |
| # Description: Boxstarter Script | |
| # Author: Luislopes | |
| # note backup feedreader DB | |
| # Run using: START http://boxstarter.org/package/nr/url?https://gist.githubusercontent.com/Luismcplopes/9607f171a3f95f4b81e901d1b2051bf4/raw/2979af4a33792223b524ee610d09cf5c07b2a4bd/teste.ps1 | |
| # http://boxstarter.org/package/url?https://gist.githubusercontent.com/Luismcplopes/9607f171a3f95f4b81e901d1b2051bf4/raw/2979af4a33792223b524ee610d09cf5c07b2a4bd/teste.ps1 | |
| # https://gist.github.com/Luismcplopes/9607f171a3f95f4b81e901d1b2051bf4 | |
| # Control Panel\Programs\Programs and Features |
| # Description: Boxstarter Script | |
| # Author: Luislopes | |
| # note backup feedreader DB | |
| # Run using: START http://boxstarter.org/package/nr/url?https://gist.githubusercontent.com/Luismcplopes/9607f171a3f95f4b81e901d1b2051bf4/raw/2979af4a33792223b524ee610d09cf5c07b2a4bd/teste.ps1 | |
| # http://boxstarter.org/package/url?https://gist.githubusercontent.com/Luismcplopes/9607f171a3f95f4b81e901d1b2051bf4/raw/2979af4a33792223b524ee610d09cf5c07b2a4bd/teste.ps1 | |
| #--- PowerShell v2 --- | |
| iex ((new-object net.webclient).DownloadString('https://chocolatey.org/install.ps1')) | |
| iex ((New-Object System.Net.WebClient).DownloadString('https://boxstarter.org/bootstrapper.ps1')); Get-Boxstarter -Force | |
| #--- PowerShell v3+ --- |
Requirement: node-red-dashboard. Obviously you will need a Raspberry Pi too!
This is a simple but very useful Actions buttons to control a Raspberry Pi it includes so far:
| #!/bin/bash | |
| ######################################## | |
| # | |
| # This script notifies slack | |
| # when this machine starts up | |
| # | |
| ######################################## | |
| #This reads in the webhook URL from a file | |
| #just replace it with you actual webhook URL |
| #!/bin/sh | |
| # https://community.wd.com/t/guide-auto-removal-of-downloads-from-transmission-2-82/93156 | |
| # script to check for complete torrents in transmission folder, then stop and move them | |
| # either hard-code the MOVEDIR variable here… | |
| # MOVEDIR=/home/amhiserver/.box # the folder to move completed downloads to | |
| # …or set MOVEDIR using the first command-line argument | |
| # MOVEDIR=%1 | |
| # | |
| # auth | |
| # port, username, password |
| version: '3.1' | |
| services: | |
| wordpress: | |
| image: wordpress | |
| restart: always | |
| ports: | |
| - 8080:80 | |
| environment: |
| version: '3' | |
| services: | |
| wordpress: | |
| image: wordpress:lastest | |
| ports: | |
| - "8080:80" | |
| environment: | |
| WORDPRESS_DB_HOST: mysql:3306 | |
| WORDPRESS_DB_PASSWORD: wordpress |