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 Stack Overflow - Sort By Votes | |
// @version 1.0.0 | |
// @description Ignores accepted answer and sorts answers by most votes | |
// @author https://github.com/jasonandmonte | |
// @match https://stackoverflow.com/questions/* | |
// @grant none | |
// ==/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
{ | |
"const": { | |
"prefix": "c", | |
"body": "const $0", | |
"description": "const" | |
}, | |
"let": { | |
"prefix": "l", | |
"body": "let $0", | |
"description": "let" |
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
<mvt:comment> | |
| Lookup Categories each product is assigned to and output them as a single | |
| pipe (|) seperated list | |
</mvt:comment> | |
<mvt:assign name="g.assigned_categories" value="''" /> | |
<mvt:assign name="g.category_list" value="''" /> | |
<mvt:do name="l.result" file="g.Module_Library_DB" value="CategoryList_Load_Offset_Product_Assigned(l.settings:record:id,0,'','',0,l.null, g.assigned_categories )" /> | |
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
<mvt:eval expr="decodeattribute(glosub(miva_array_serialize(l.settings:record), ',', '<br>'))" /> |
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
'Testing if can commit' | |
'Test 2' | |
'Test 3' | |
// ref: how I saved the edit: https://stackoverflow.com/questions/5299526/github-committing-push-gist | |
// ref: commit history https://git-scm.com/book/en/v2/Git-Basics-Viewing-the-Commit-History | |
// ref: https://gist.github.com/eduncan911/7c7ddb02b16ed83478e22aa4d209b17f |
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 inputs = document.getElementsByTagName("input"); | |
for(var i = 0; i < inputs.length; i++) { | |
if(inputs[i].type == "checkbox") { | |
inputs[i].checked = true; | |
} | |
} |