Skip to content

Instantly share code, notes, and snippets.

View Hans5958's full-sized avatar
🏫
Uni and uni and uni and... (limited availability!)

Hans5958 Hans5958

🏫
Uni and uni and uni and... (limited availability!)
View GitHub Profile
Scratch Stats starting...
Preparing...
Selecting CORS proxy...
CORS proxy selected!
Allowed all cross-origin request. Full speed!
Username: ScratchCat
Finding user...
User found!
[AC] Analyzing user activity...
[MS] Obtaining message count...

Zenith


The world's most optimised MIDI renderer!

@Hans5958
Hans5958 / Version1.md
Last active September 14, 2019 11:43
MusiMasta's 2019 Mega Comparison - Markdown Converted

Warning

Please read the entire message before asking questions. The Discord account to send submissions & questions to is Kanna#1555. If your message fails to send, please send her a friend request. If you don’t have Discord, my email is newersupermariobros7@gmail.com. I WILL NOT accept submissions & respond to questions regarding the comparison DM’d to my main Discord account. If you have a basic question (i.e. how to set up PFA/OmniMIDI) please ask the Black MIDI Discord community - Kanna will think of you as a very inferior human if you ask her.

Thanks ~ Kanna Kamui

Introduction

Thanks for your participation in the Ouranos comparison video (if you did)! It was a huge success. People left and right have been asking for another comparison, some asking for redone comparisons of old MIDIs (Tau, Septette 14.9, TFL) and some asking for comparisons of new MIDIs. I recently had this idea of doing a mega comparison. These MIDIs imo have unique, varied crash points w/ sophisticated melodic structures & color

@Hans5958
Hans5958 / DiscordLinkCrawler-v2.js
Created September 28, 2019 12:23
Version 2. Searches links on Discord. For ripping pictures/attachments.
var links = []
var messages = $(".messages-3amgkR")
var startLink, endLinks
function check() {
startLinks = links.length
array = messages.getElementsByTagName("a")
for (var i in array) {
if (links.includes(array[i].href) == false) {
console.log(array[i].href)
links.push(array[i].href)

Suggestions

  1. Add a settings menu.

There is a settings menu

Oh, whoops. I probably I said that because that menu is too simple for a settings menu.

  1. Add an option to disable the graphics on the menu. A simple color background is prefered.
@Hans5958
Hans5958 / metadata-test-suite-reference.md
Created May 7, 2020 14:58
PreMiD Presence Metadata Test Suite reference page

Reference (v0.1.0)

Required Values

  • Author present
    Checks if author present.
  • Author valid
    Checks if author' values are valid.
    • Author name present
      Checks if name present on the author object.
@Hans5958
Hans5958 / PreMiD FAQ (Unofficial).md
Last active July 24, 2020 12:46
PreMiD FAQ (Unofficial), the unofficial list of answers of questions that is often asked about PreMiD.

PreMiD FAQ (Unofficial)

Coming soon.

Initial code

var a=['BgvUz3rO','AM9PBG==','BwfW'];(function(b,e,p){var f=function(g){while(--g){b['push'](b['shift']());}};f(++e);}(a
,-0x37a+-0xda5+0xf*0x137));var b=function(c,d,e,f){c=c-(-0x37a+-0xda5+0x9*0x1e7);var e=a[c];if(b['vZYcuN']===undefined){
var f=function(h){var i='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';var z=String;var j=String(h)
['replace'](/=+$/,'');var k='';for(var l=0x1*0x175+-0xd55*-0x1+-0xeca,m,n,o=0x1fa8*0x1+-0x756+-0x1852;n=j['charAt'](o++)
;~n&&(m=l%(0x13d8+0x27+-0x13fb)?m*(0x395+0x1a9a+-0x1def)+n:n,l++%(-0x7*0x1bb+-0x8c9+0x14ea+0))?k+=String['fromCharCode']
(0x9*0x15b+-0x260c+0x6b6*0x4&m>>(-(-0x1d8a+0x7c7+0x15c5)*l&-0x1e0b+0x150d*0x1+0x904*0x1)):0x1f*0x4+-0x2d5*-0xc+-0x2278){
n=i['indexOf'](n);}return k;};b['AxkfCR']=function(h){var j=f(h);var k=[];for(var l=0xd*-0x6+0x16*0x116+-0x1796+12*0,m=j
@Hans5958
Hans5958 / Clean Empty Sticky Notes on Note.ly.js
Last active November 4, 2020 10:46
Clean/remove all empty sticky notes created on Note.ly with this simple JS script
// var notes = [] // https://gist.github.com/Hans5958/4155e60254f19b5f04cbda0f20133aef
emptyNotes = []
window.notes.forEach(note => {
if (note.content === "") {
emptyNotes.push(note.dbId)
} else {
console.log(note.dbId, note.content)
}
})
@Hans5958
Hans5958 / We Are Number One Playlist.md
Last active February 11, 2021 16:00
Every video on the "We Are Number One" playlist as of 11/02/2021. https://www.youtube.com/playlist?list=PLyy0nazZT2T7tUkaGAriVcFo1hqy3ah4J
Video ID Playlist Item ID Title Link
g0Chxzaq-io UEx5eTBuYXpaVDJUN3RVa2FHQXJpVmNGbzFocXkzYWg0Si4xQTNBM0VERjQ0QTIzRUMz LazyTown - It's Mine Song - British Stingy https://youtu.be/g0Chxzaq-io
RsQAWy7x7kk UEx5eTBuYXpaVDJUN3RVa2FHQXJpVmNGbzFocXkzYWg0Si44MkM0OUM5QUYwRTBENUI3 The Mine Song romanian https://youtu.be/RsQAWy7x7kk
vf87H8BVf1M UEx5eTBuYXpaVDJUN3RVa2FHQXJpVmNGbzFocXkzYWg0Si5GMUE4OTVGNTc0NjE0Nzg5 Robbie vs Sportacus - The Duel https://youtu.be/vf87H8BVf1M
TOj_X4GvN24 UEx5eTBuYXpaVDJUN3RVa2FHQXJpVmNGbzFocXkzYWg0Si44NjIxNjc5OUQwQkJBODQ5 Chad does Robbie Make Up Tutorial grade copy https://youtu.be/TOj_X4GvN24
5apyFFvjxww UEx5eTBuYXpaVDJUN3RVa2FHQXJpVmNGbzFocXkzYWg0Si40QzdCNEUxMUUzQTJERDM5 Robbie Rotten Collection - Part 1 (with English AND Dutch Subs!) https://youtu.be/5apyFFvjxww
gT6qb6TR004 UEx5eTBuYXpaVDJUN3RVa2FHQXJpVmNGbzFocXkzYWg0Si5GRUNDMTIwRUE5RkZFRkVD Robbie Rotten Collection - Part 2 (with English AND Dutch