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
{ | |
"author": "", | |
"category": "Advanced", | |
"description": "Adapted from https://github.com/Canees/qrcode-base64 and \"Import Image Using URL\" example.", | |
"extensionNamespace": "", | |
"fullName": "QR Code Utils", | |
"helpPath": "", | |
"iconUrl": "data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz48IURPQ1RZUEUgc3ZnIFBVQkxJQyAiLS8vVzNDLy9EVEQgU1ZHIDEuMS8vRU4iICJodHRwOi8vd3d3LnczLm9yZy9HcmFwaGljcy9TVkcvMS4xL0RURC9zdmcxMS5kdGQiPjxzdmcgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgdmVyc2lvbj0iMS4xIiBpZD0ibWRpLWRhdGEtbWF0cml4LXNjYW4iIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0Ij48cGF0aCBkPSJNMiAySDZWMEgyQy45IDAgMCAuOSAwIDJWNkgyVjJNMjIgMEgxOFYySDIyVjZIMjRWMkMyNCAuOSAyMy4xIDAgMjIgME0yIDE4SDBWMjJDMCAyMy4xIC45IDI0IDIgMjRINlYyMkgyVjE4TTIyIDIySDE4VjI0SDIyQzIzLjEgMjQgMjQgMjMuMSAyNCAyMlYxOEgyMlYyMk04IDZWNEgxMFY2SDhNMTAgMTRWMTJIMTJWMTRIMTBNMTYgNEgxOFY2SDE2VjRNMTggNkgyMFY4SDE4VjZNMTggMTRIMjBWMTZIMThWMTRNMjAgMTJIMTZWMThIMjBWMjBINF |
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
# | |
# Noita auto-backup script and restore capability | |
# | |
Function close($msg, $rc) { | |
Write-Host $msg | |
Read-Host -Prompt 'Press [ENTER] to exit' | |
exit $rc | |
} |
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
var hash = {}; | |
$('div.panel.panel-default').each(function(index, obj){ | |
var cardName = $(this).find('span')[0].innerHTML; | |
if (! /\s(Swamp|Plains|Forest|Ocean|Mountain)\s?/.test(cardName)) { | |
console.log(cardName); | |
$(this).find('strong').each(function(index, obj){ | |
var setData = $(this)[0].innerHTML; | |
var setName = setData.split(/\s+\(|\)/)[0]; | |
var rarity = setData.split(/\s+\(|\)/)[1]; | |
if (! hash.hasOwnProperty(setName)) { |