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
// ==UserScript== | |
// @name Ethermine total calculation | |
// @namespace http://tampermonkey.net/ | |
// @version 0.1 | |
// @description Script for calculating the total of mined ETH | |
// @author Leo LI | |
// @match https://ethermine.org/miners/*/payouts | |
// @icon https://www.google.com/s2/favicons?sz=64&domain=ethermine.org | |
// @grant none | |
// ==/UserScript== |
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
<div class="container"> | |
<div class="row"> | |
<div class="col align-self-center"> | |
<h1 class="text-center">Standup Meeting Speech Organisation System</h1> | |
</div> | |
</div> | |
<div class="row"> | |
<div class="col align-self-center"> | |
<div id="app"> | |
<step-by-step /> |
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
$.htmlentities = { | |
/** | |
* Converts a string to its html characters completely. | |
* It's equivalent to htmlentities() in PHP | |
* Reference: https://css-tricks.com/snippets/javascript/htmlentities-for-javascript/ | |
* | |
* @param {String} str String with unescaped HTML characters | |
**/ | |
encode (str) { | |
return String(str).replace(/&/g, '&').replace(/</g, '<').replace(/>/g, '>').replace(/"/g, '"'); |