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
/* Lazy?, the JS "Library" is (c) Jeremy Wilhelm, licensed MIT */ | |
window.doc = document | |
window.head = document.head | |
window.body = document.body | |
window.$ = document.querySelector.bind(document) | |
window.$$ = document.querySelectorAll.bind(document) | |
Element.prototype.byId = Element.prototype.getElementById | |
Element.prototype.byClass = Element.prototype.getElementsByClassName |
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
<OpenSearchDescription xmlns="http://a9.com/-/spec/opensearch/1.1/" | |
xmlns:moz="http://www.mozilla.org/2006/browser/search/"> | |
<ShortName>Euphoria</ShortName> | |
<Description>Visit Euphoria Rooms</Description> | |
<InputEncoding>UTF-8</InputEncoding> | |
<Image width="32" height="32" type="image/png">https://euphoria.io/static/favicon.png</Image> | |
<Url type="text/html" method="get" template="https://euphoria.io/room/{searchTerms}/" /> | |
<moz:SearchForm>https://euphoria.io/room/list/</moz:SearchForm> | |
</OpenSearchDescription> |
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
@namespace xul url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); | |
/* Hide disabled page actions: | |
from <https://www.reddit.com/r/firefox/comments/7usqtm/about_extensions_in_address_bar/dtog5qh/> */ | |
#pageActionPanelMainView > .panel-subview-body > toolbarbutton[disabled="true"] { | |
display: none !important; | |
} | |
/* Hide extraneous page action toolbar separators */ | |
#pageAction-panel-builtInSeparator ~ [disabled="true"] ~ toolbarseparator { |
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
=begin title | |
EXCESSIVELY ANNOTATED WORK IN PROGRESS RUBY CODE FOR EVENTUAL USE IN A HOMEMADE MARKDOWN PARSER | |
=end # title | |
# half-baked WIP for a markdown generator i am fixin' to write | |
# (for personal use, this thing will make orignal markdown.pl look clean :P) | |
class Element | |
# attr_* methods are library helpers, | |
# they create setters & getters which correspond to a @ClassVar of the same name |
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 WP Changelog Parser | |
// @version 0.1 | |
// @match *://*/*/changelog.txt | |
// @match file:///*/*/changelog.txt | |
// @grant none | |
// ==/UserScript== | |
var doc = document | |
var btnText, btnHTML |
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
$wifiUrl = 'http://192.168.1.254/cgi-bin/wmacauth.ha' | |
$deviceCode = ';)' # in plaint sight... ah well | |
function hex_md5($str) { | |
$md5 = New-Object -TypeName System.Security.Cryptography.MD5CryptoServiceProvider | |
$utf8 = New-Object -TypeName System.Text.UTF8Encoding | |
$hash = [System.BitConverter]::ToString($md5.ComputeHash($utf8.GetBytes($str))) | |
return $hash.Replace('-', '').ToLower() | |
} |
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
According to Stylus, I "installed" (wrote) this user css on September 23, 2019, | |
and last updated it December 23, 2019 (noice). | |
But I recall that I had come up with the idea and written a earlier version sometime before that. | |
Alas, I lost my user styles without having a backup (like several times iirc), | |
so I lost the original version (which didn't use css variables iirc). | |
It should really say @version 2.0.0! | |
Anyway, I'll get screenshots up eventually. maybe. (or not) |
This is code which should allow one to unlock all badges in StackEdit, in order to prevent them from distracting you. The code is still a mess, apologies, but I will work on it. This seemed to work but some more testing should probably be done first.
Run this in the JS console (or some such):
- run this code as instructed in
stackedit-badges-gen.js
- then run
minimal-utils.js
notstackedit-badges-gen.js
- then run
stackedit-badges-gen.js
- you'll want to copy the string produced, and paste it into the "approprate location" in localStorage browsers vary in this area... // TODO: write better instructions of where to put the string produced
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 Hide/Toggle YouTube Player Controls/UI | |
// @description Hide/Toggle YT Player Controls & UI with the "H" key | |
// @version 0.1 | |
// @match https://www.youtube.com/watch?* | |
// ==/UserScript== | |
var css = "#movie_player > :not(.html5-video-container) { display: none !important }" | |
var style = document.createElement('style') |
OlderNewer