Ergo Node Interface behind NGINX.
- set
scorex.restApi.bindAddress = 127.0.0.1:9053note that 127.0.0.0/8 works here - set
network.bindAddress = 0.0.0.0:9030 - set
network,declaredAddress = X.X.X.Xwhere X.X.X.X is the external, public IP
| blueprint: | |
| name: Zone Notification - xmpp | |
| description: Send a notification via xmpp_jp when a person leaves or arrives at a specific zone. | |
| domain: automation | |
| source_url: https://gist.github.com/joshp23/770bb214b5c905c467ec2172340c7067 | |
| input: | |
| person_entity: | |
| name: Person | |
| selector: | |
| entity: |
Ergo Node Interface behind NGINX.
scorex.restApi.bindAddress = 127.0.0.1:9053
note that 127.0.0.0/8 works herenetwork.bindAddress = 0.0.0.0:9030network,declaredAddress = X.X.X.X
where X.X.X.X is the external, public IP| #/etc/systemd/system/wifi-resume.service | |
| #sudo systemctl enable wifi-resume.service | |
| [Unit] | |
| Description=Restart Network Manager at resume (after suspend) | |
| After=suspend.target | |
| After=hibernate.target | |
| After=hybrid-sleep.target | |
| [Service] | |
| Type=oneshot | |
| # alternative command to call |
| <?php | |
| /* | |
| To use, just include the following at the top of an index.php file: | |
| require_once '../httpBL/httpBL.php'; | |
| define( 'honeyPot', true ); | |
| */ | |
| if( !defined( 'honeyPot' ) ) die(); | |
| /* |
| <?php | |
| /* | |
| Name: YOURLS WordPress Widget | |
| Description: A WordPress widget to display a YOURLS shorturl and QR code | |
| Code URI: https://gist.github.com/joshp23/3f990e6ec36e24ba53985968bbfa89f1 | |
| Author: Josh Panter | |
| Author URI: https://unfettered.net | |
| ====================================================================== | |
| This widget will create &/or fetch the existing short URL for a WordPress post from YOURLS, | |
| provide a button to copy the short url, and optionally display a qrcode. |
| #!/usr/bin/python | |
| from variety.plugins.IQuoteSource import IQuoteSource | |
| import subprocess, re | |
| from locale import gettext as _ | |
| class FortuneSource(IQuoteSource): | |
| @classmethod | |
| def get_info(cls): | |
| return { |