Skip to content

Instantly share code, notes, and snippets.

View milroneth's full-sized avatar
🦄
Distracted

Iris Nebula milroneth

🦄
Distracted
View GitHub Profile
@milroneth
milroneth / vdf-controller.DM.udl.xml
Last active April 18, 2022 14:35
Notepad++ UDL syntax highlighting for Steam Contoller Config VDF files
<NotepadPlus>
<UserLang name="VDF: Controller (dark mode)" ext="vdf" udlVersion="2.1">
<Settings>
<Global caseIgnored="yes" allowFoldOfComments="yes" foldCompact="no" forcePureLC="0" decimalSeparator="0" />
<Prefix Keywords1="no" Keywords2="no" Keywords3="no" Keywords4="no" Keywords5="no" Keywords6="yes" Keywords7="no" Keywords8="no" />
</Settings>
<KeywordLists>
<Keywords name="Comments">00// 01 02 03/* 04*/</Keywords>
<Keywords name="Numbers, prefix1"></Keywords>
<Keywords name="Numbers, prefix2"></Keywords>
@steelywing
steelywing / EnableSSH.js
Created January 31, 2021 05:51
Enable RedMi 2100 SSH access
// Work for RedMi 2100 firmware 2.0.23
// http://cdn.cnbj1.fds.api.mi-img.com/xiaoqiang/rom/rm2100/miwifi_rm2100_all_fb720_2.0.23.bin
function getSTOK() {
let match = location.href.match(/;stok=(.*?)\//);
if (!match) {
return null;
}
return match[1];
}
If you are reading this and I've said/done anything to you that was disrespectful, made you uncomfortable, or was otherwise hurtful, I invite you to tell me (but you are in no way obligated to). Even if you don't fault me for what I did, please don't feel bad about telling me if it would make you feel better to get it off your chest. I commit to listening and not being defensive, dismissive or judgmental.
If you are worried that this might re-open a wound, you can request in your note to me that I not reply to you and I will of course honor that.
If you don't want to say anything I totally respect that too. Please know that I'm sorry, I messed up and it's my fault. The door is always open to talk to me about it should you change your mind.
@LazyMammal
LazyMammal / hide_live_chat.js
Created September 20, 2017 11:54
Hide live chat by default on YouTube live streams
// ==UserScript==
// @name YouTube - Hide Live Chat
// @namespace http://tampermonkey.net/
// @version 0.1
// @description Hide live chat by default on live streams
// @author LM
// @match https://www.youtube.com/watch*
// @run-at document-end
// @grant none
// ==/UserScript==