In iTerm2, in the menu bar go to Scripts > Manage > New Python Script
Select Basic. Select Long-Running Daemon
Give the script a decent name (I chose auto_dark_mode.py
)
Save and open the script in your editor of choice.
//how to execute: node sign.js <path file> <path private key> | |
//output: signature of file | |
var crypto = require('crypto'); | |
var fs = require('fs'); | |
var args = process.argv.slice(2); | |
var fileName = args[0]; | |
var keyPath = args[1]; | |
//openssl genrsa -out key.pem 1024 |
//how to execute: node verify.js <path file that you want to verify> <certificate path> <hash generate by sign.js> | |
//output: true if files are equal, false otherwise. | |
var crypto = require('crypto'); | |
var fs = require('fs'); | |
var args = process.argv.slice(2); | |
var fileName = args[0]; | |
var certPath = args[1]; | |
var sig = args[2]; |
// ==UserScript== | |
// @name Robin Time Left Printer | |
// @description Violently Butchered Robin Assistant | |
// @namespace com.github.cptasgard | |
// @include https://www.reddit.com/robin/ | |
// @include https://www.reddit.com/robin | |
// @version 1.9 | |
// @author LeoVerto, Wiiplay123, Getnamo, CptAsgard | |
// @grant none | |
// ==/UserScript== |