This file contains 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 Export token | |
// @version 0.1 | |
// @description Retrieve token from local storage and upload to glot.io (pastebin alternative) | |
// @author Werner | |
// @match https://example.com | |
// @run-at document-end | |
// @grant GM_xmlhttpRequest | |
// ==/UserScript== |
This file contains 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 Confidential google calendar | |
// @namespace https://gist.githubusercontent.com/wernersa/f3bd3edd69dccb6a3a5386526a81a309/raw/confidentialcalendar.user.js | |
// @version 0.24 | |
// @description Remove any identifying information from being shown on google calendar | |
// @author Werner Sævland | |
// @match https://calendar.google.com/* | |
// @icon https://www.google.com/s2/favicons?sz=64&domain=google.com | |
// @run-at document-idle | |
// @grant none |
This file contains 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 json | |
from urllib.request import urlopen | |
import ics | |
from dateutil import parser | |
if __name__ == "__main__": | |
url = "https://components.ifsc-climbing.org/results-api.php?api=season_leagues_calendar&league=418" | |
response = urlopen(url) |
This file contains 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
license: mit | |
height: 600 | |
border: yes | |
scrolling: no |
This file contains 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 GitHub Awesome Stargazers | |
// @description Augments the main markdown section of GitHub (i.e. README.md) by retrieving star count for each repo from the GitHub API. Intended for surfing "awesome" GitHub lists. | |
// @author Werner Sævland | |
// @namespace https://github.com/wernersa/ | |
// @version 1.0 | |
// @include https://github.*/*/* | |
// @supportURL https://gist.github.com/wernersa/a8df0dd03b6995d70a87934d0814d60d | |
// @license GPLv2; http://www.gnu.org/licenses/ | |
// ==/UserScript== |