A collection of music APIs, databases, and related tools.
Discover gists
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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>Z-Index Example</title> | |
<style> | |
@font-face { | |
font-family: 'Win95F'; | |
src: url('data:application/font-woff2;base64,d09GMk9UVE8AAB7IAAoAAAAAfLQAAB54AAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAADYHcRQZgAIpcATYCJAOFAAQGP21ldGGCBAWHeQcgG/17FeyYl7gdUKg+MzYSIWwchCaAJ1GUTdZM2f+fEtQxhLpXsjlMOBl1rtM5kVqBMp1XeGh4M/bhm1fyGODBICrJYyX3cIpIfVYz8+zf7k/1poo76F5SyxV35u42RuK58Pyzv//2ufiSI5FINEWNWcddrlPZZr353F4vNRtmfpL6FyCmfDO+2gEHHHZoxKaa7jrsXaZOHea+XXQOfP8/9vs9cxcVqniikQnZQ7JE62SzSFJJlfXTq1/snkEVLh3bgX9wrpvZrHU6h4r8an+wJ/mf+G0eKltj8Y0CE6MTzFphsWCV6tY3xQxWaSyijN4a1jYsZYEPgty2j1NBvFO5ztS8L7nCE3R9JjsC1hSKoT3X3uY/v7/vz137WW3kOP6K38nIPwlujGIbNkGXOwLg//99U20JOQ0Yh4DD0LlU0bhPcFDIsBzy6t0Td7+5d9mjCFAJA0VwEQ4h4M07M9/hM0P5S4sBznkkVa5S5dxVIbUt2bl0SRWdWndyVbjrtXoXfWko9Ixf8mAlKsgL1qjQb5oCz6Y4siXFEeB8+MN2upYd8LuBdoR/31iLxhoVBZhAB3bnZRRIIKn3s59aH/bm9DqFEgRElDEz/m5qk9vHmEbteKX0j35isACCAoJ0hS2/QNAEEf |
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
// Run in Google Chrome Console. MIT Licence. | |
// For "http://byond.com/games/Exadv1/SpaceStation13?format=text" | |
function main(_input = false) { | |
if ((_input === false) || (_input === null) || (_input == '')) {return console.error("User cancelled the prompt.");} | |
console.clear(); | |
if (verbose) console.debug(['PROCESSING START']); | |
let current_entry = '', _data = {}; // let tabbed = [], notTabbed = []; | |
//_input = _input.split('\r\n'); | |
//if (debug) console.log('_input:', _input); | |
for (var i = 0; i < _input.length; i++) { |
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
let buttLoot, buttLeave, _debug = Boolean(1); | |
let _store = Array.from(document.querySelectorAll('*')).find(e => e.__vue__).__vue__.$store; | |
// Seach for buttons to click | |
// https://stackoverflow.com/a/67398903/8175291 | |
function querySelectorIncludesText(selector, text) { | |
if ((!selector) || (!text)) return console.error('querySelectorIncludesText error!'); | |
return Array.from(document.querySelectorAll(selector)) | |
.find(el => el.textContent.includes(text)); | |
} | |
// Run away if player can be killed in two successfully hits. |
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
// https://stackoverflow.com/questions/6991494/ | |
javascript: (function() { | |
console.clear(); | |
let unique_only = Boolean(1); | |
let arr = new Array(); | |
let messages = document.querySelectorAll('[id ^= "chat-messages-"]'); | |
Array.prototype.forEach.call(messages, callback); | |
function callback(element, i) { | |
let avatar = element.querySelector('[class ^= "avatar-"]'); // [aria-hidden ^= "true"]; | |
// ('[src ^= "https://cdn.discordapp.com/avatars/*]'); |
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 Open in WBM (v5) | |
// @namespace https://gist.github.com/Gesugao-san/5d6b5d791dc941d80b5837e83e57b963 | |
// @version 0.1 | |
// @description try to take over the world! | |
// @author Gesugao-san | |
// @match *//*/* | |
// @include * | |
// @exclude file://* | |
// @icon https://www.google.com/s2/favicons?sz=64&domain=stackoverflow.com |
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 Open in WBM (v4) | |
// @namespace https://gist.github.com/Gesugao-san/aa6c84ba16d01fc12b176e7e03799de9 | |
// @version 0.1 | |
// @description try to take over the world! | |
// @author Gesugao-san | |
// @match https://stackoverflow.com/questions/28833403/jquery-ajax-sending-post-with-values-from-inputs-with-tampermonkey | |
// @icon https://www.google.com/s2/favicons?sz=64&domain=stackoverflow.com | |
// @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
(function() { | |
'use strict'; | |
var settings = {"tags": ["href", "src"], "protocols": ["http:", "https:"]}; | |
var data = {"detectedLinks": [], "thisProtocolIsOk": false}; | |
for (var i = 0; i < settings['tags'].length; i++) { | |
var srcNodeList = document.querySelectorAll('[' + settings['tags'][i] + ']'); /* srcTags.join('],[') */ | |
for (var ii = 0; ii < srcNodeList.length; ++ii) { | |
data['thisProtocolIsOk'] = false; | |
var item = srcNodeList[ii].getAttribute(settings['tags'][i]); | |
if (item === null) continue; |
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
this.document.querySelectorAll('[class^="member"],[class^="container"],[class^="clickable"],[data-list-item-id^="members"]')[0]; | |
this.document.querySelectorAll('[class^="userInfoBody"]')[0].innerText.split('\n'); |
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
(() => { | |
return console.log("Moved to https://github.com/GesuDatasGContactsProject/dump_html_table"); | |
})(); |
NewerOlder