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 * as moment from "moment-timezone"; | |
/** | |
* @description | |
* @param {Date | string | moment} date Date to transform. | |
* @param {string} originTZ Timezone in which the date to transform is currently. I.E. "UTC". Defaults to client PC TZ. | |
* @param {string} destinationTZ Timezone to which to convert the date. I.E. "America/Los Angeles". Defaults to "UTC". | |
* @return {string} Date converted to destination timezone in string. | |
* | |
*/ |
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 Vimm's Lair Download Button | |
// @homepage https://gist.github.com/devwolf75/8ea522aa06aefa22ae1e8cdda810c722 | |
// @version 0.1 | |
// @description Vimm's Lair script to add a 'Download URL' button on the page, copies URL to clipboard. | |
// @icon https://www.google.com/s2/favicons?sz=64&domain=vimm.net | |
// @author devwolf75 | |
// @match https://vimm.net/vault/* | |
// @include https://vimm.net/vault/* | |
// @grant none |
OlderNewer