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 RPR Meldkamer GMS (jxpsert edit) | |
| // @namespace http://tampermonkey.net/ | |
| // @version 3.58 | |
| // @description Extra toevoegingen/Wijzigingen aan het GMS (jxpsert edit: aangeklikte suggestie gelijk verzenden, andere kleur knop) | |
| // @author Nick v Z. & jxpsert | |
| // @match https://intranet.roleplayreality.nl/gms/meldkamer.php | |
| // @match https://intranet.roleplayreality.nl/dashboard/gms/gms/meldkamer.php | |
| // @icon https://www.roleplayreality.nl/assets/images/favicon.png | |
| // @grant none |
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 RPR GMS P2000 | |
| // @namespace http://tampermonkey.net/ | |
| // @version 1.2 | |
| // @description P2000 functie in het GMS | |
| // @author jxpsert | |
| // @match https://intranet.roleplayreality.nl/gms/meldkamer.php | |
| // @match https://intranet.roleplayreality.nl/dashboard/gms/gms/meldkamer.php | |
| // @icon https://www.roleplayreality.nl/assets/images/favicon.png | |
| // @grant none |
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="row"> | |
| <div class="form-row"> | |
| <div class="col-12 col-sm-8"> | |
| <div class="input-group"> | |
| <div class="input-group-prepend"> | |
| <span class="input-group-text" id="basic-addon1">€</span> | |
| </div> | |
| <input type="number" min="0" step=".01" name="sendprice" class="form-control" | |
| placeholder="Verzendkosten" pattern="[0-9]" required> | |
| <span class="input-group-btn" style="width:0px;"></span> |
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
| /* | |
| Returns all rubrics as an array. | |
| */ | |
| function getAllRubrics() { | |
| global $conn; | |
| $sql = "SELECT * FROM rubriek ORDER BY rubriek, rubrieknaam ASC"; | |
| $stmt = sqlsrv_query($conn, $sql); | |
| $newArr = []; |
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
| $(".countdownclock").each(function (i, e) { | |
| const $this = $(this); | |
| const countdown = $this; | |
| let button = e.parentElement.parentElement.parentElement.childNodes[2].childNodes[0]; | |
| console.log(button); | |
| // console.log(button.childNodes); | |
| countdown.text(turnTot(countdown.attr("data-time"))); | |
| let changet = setInterval(function () { | |
| let newt = countdown.attr("data-time") - 1; | |
| countdown.attr("data-time", newt); |
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="row row-cols-1 row-cols-md-2"> | |
| <div class="col-12 col-md-8 m-15px-tb"> | |
| <div class="contact-name name-text"> | |
| <h5>Gegevens van de2av</h5> | |
| <br> | |
| <form method="POST"> | |
| <label class="fw-bold" for="email">E-mailadres</label> | |
| <input type="email" id="email" readonly="" class="changeFormControl form-control-plaintext" name="email" | |
| placeholder="Email" value="example@example.com" required=""> |
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
| class Endpoint { | |
| constructor(endpoint) { | |
| this.endpoint = endpoint; | |
| } | |
| format(s = 404, m = "Not found", d = {}) { | |
| const f = { | |
| status: s, | |
| message: m, | |
| data: d, |
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
| import chalk from "chalk"; | |
| import fs from "fs"; | |
| import express from "express"; | |
| // import Endpoint from "./Endpoint.js"; | |
| import config from "./config.js"; | |
| const app = express(); | |
| fs.readdir("./endpoints", (err, files) => { | |
| // get all endpoint files |
OlderNewer