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 url(http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul); | |
/*---------------------------------------------------------- | |
Firefox proton theme tweaks | |
references: https://gist.github.com/tung/439935f55cc83af20defd7867ec89c82; | |
*/ | |
/* remove radius from buttons and tabs */ | |
*|*:root { | |
--toolbarbutton-border-radius: 0 !important; | |
--tab-border-radius: 0 !important; |
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
"editor.tokenColorCustomizations": { | |
"[Material Theme Darker]": { // replace with your dark theme | |
"textMateRules":[ | |
{ | |
"scope": [ | |
"markup.italic.markdown", | |
"punctuation.definition.italic.markdown", | |
"punctuation.definition.bold.markdown", | |
"markup.bold.markdown", | |
"string.other.link.title.markdown", |
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
#NoEnv | |
#persistent | |
#KeyHistory 0 | |
;BETTER TYPOGRAPHY - shortcuts | |
$^!-:: SendUnicode("2014") ;— em dash | |
$^!+-:: SendUnicode("2013") ;– en dash | |
$^!.:: SendUnicode("2026") ;… | |
$^!+.:: SendUnicode("2022") ;• | |
$^+.:: SendUnicode("2E0C") ;⸌ “list character” (left raised omission bracket) |
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
// static/scripts/fixedsearch/fixedsearch.js | |
/*-------------------------------------------------------------- | |
fixedsearch — Super fast, client side search for Hugo.io with Fusejs.io | |
based on https://gist.github.com/cmod/5410eae147e4318164258742dd053993 | |
--------------------------------------------------------------*/ | |
if (typeof variable !== 'undefined') { | |
console.log('fixedsearch.js already loaded'); | |
} else { | |
fixedsearch = function(){ |
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 script has moved to https://github.com/Arty2/userstyles |
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
/* | |
* test stachybotrys for QOwnNotes | |
* how to style the UI https://github.com/pbek/QOwnNotes/issues/2187 | |
* styles and icons https://github.com/pbek/QOwnNotes/tree/develop/src/libraries/qdarkstyle | |
* how to make a plugin: https://github.com/qownnotes/scripts/tree/master/black-mode | |
* https://het.as.utexas.edu/HET/Software/html/stylesheet-examples.html | |
* https://doc.qt.io/qt-6/stylesheet-reference.html | |
*/ | |
/* |
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
/* | |
Instructions for Firefox: | |
1. On Firefox, open http://gis.ktimanet.gr/wms/ktbasemap/default.aspx and zoom to your area of interest | |
2. Hit Shift + F4 to open the Scratchpad and paste the code below, then click on “Run” (Ctrl + R). | |
You may close the Scratchpad. There’s no need to save anything. | |
3. Input your desired image size on the prompt window (height equals width) | |
4. Refine your position, eg: zoom with the scrollbar or pad by click and drag | |
5. Capture a screenshot of the full page with Firefox’s built-in tools: https://screenshots.firefox.com/ | |
Also works in Chrome but there’s no built-in way to capture the screenshot. |
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
/* | |
Makes text a bit blurry due to ClearType being disabled when CSS Filters are used. Should probably use a less *naive* way. | |
*/ | |
#hyperbaseContainer { | |
filter: invert(100%); | |
} | |
#hyperbaseContainer img, | |
#hyperbaseContainer button { /* revert images back to normal */ |
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
ESC quit | |
r cycle_values video-rotate 90 180 270 0 | |
l cycle_values loop-file inf yes |
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
; An AutoHotKey script to mute/unmute all microphones on a system level. Toggle with Caps Lock. | |
; Emits a single beep on mute, double on unmute. Tray icon changes accordingly. | |
; Requires https://www.nirsoft.net/articles/mute_microphone_command_line.html | |
; Note: SoundSet doesn't work as intented | |
; TODO: detect tap and hold to speak, based on https://github.com/YoYo-Pete/AutoHotKeys/blob/master/PushToTalk.ahk | |
; https://www.howtogeek.com/446418/how-to-use-caps-lock-as-a-modifier-key-on-windows/ | |
; also https://stackoverflow.com/questions/1794258/detect-a-double-key-press-in-autohotkey | |
$Capslock:: |
NewerOlder