Skip to content

Instantly share code, notes, and snippets.

@jr00ck
jr00ck / how.md
Last active January 15, 2024 03:04 — forked from jshufro/how.md
Configuring Beaconcha.in HW Monitoring for Nimbus Smartnode

Configuring Beaconcha.in HW Monitoring for Nimbus Smartnode

Disclaimer

It's generally a Bad Idea to run random scripts from the internet on your node unless you know what they're doing. To that end, please read and try to understand this before installing it, and only install it if you feel comfortable.

Installation

Make a new docker-compose.yml file in your home directory:

touch ~/docker-compose.yml
/**
* to exclude field from notification add 'exclude[ID]' option to {all_fields} tag
* 'include[ID]' option includes HTML field / Section Break field description / Signature image in notification
* see http://www.gravityhelp.com/documentation/page/Merge_Tags for a list of standard options
* example: {all_fields:exclude[2,3]}
* example: {all_fields:include[6]}
* example: {all_fields:include[6],exclude[2,3]}
*/
add_filter( 'gform_merge_tag_filter', 'all_fields_extra_options', 11, 5 );
function all_fields_extra_options( $value, $merge_tag, $options, $field, $raw_value ) {
@jr00ck
jr00ck / 0_reuse_code.js
Created January 22, 2014 21:25
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console