Replace the appalling default Windows scrollbars with these good ones.
They are thin and unobtrusive but by using border: 5px solid transparent
they are just as easy to hit.
No need to change width on hover and reflow contents!
; Taskbar Quick Close | |
; Quick closing windows from the taskbar with Middle-click. | |
; Ctrl + Middle-click for original action (new window) | |
#If ShouldActivateMButton() | |
; Control + Middle-click does the middle-click action (new window) | |
^MButton::MButton | |
; Middle-click to close, for quicker one-handed use | |
MButton:: | |
MouseClick, Right |
/* eslint-disable */ | |
// YouTube Music Uploader Hall of Shame | |
// Trying to grok the range of malformed input in song title strings | |
[ | |
'BPC335 - Maxime Iko "Concilium"', // wrong order (catalog number before everything else), extra info (catalog number), bad separator `"`, bad extra separator `-` | |
'"Pollution" by Tom Lehrer', // wrong order (`Artist - Title` reversed), quotes, bad separator `by` | |
'DIS IZ WHY I\'M HOT (zef remix) - Die Antwoord', // `Artist - Title` reversed, bad case | |
'Man with no name - Teleport (Original mix). HQ', // bad case, noisy `(Original mix)`, extra info `HQ`, bad extra separator `.` | |
'Varg — Under Beige Nylon', // uneven spaces, bad separator `—` | |
'varg - under beige nylon - 46bpm', // bad case, bad extra separator `-`, extra info `46bpm` |
#!/usr/bin/sh | |
# Requires OpenSCAD on $PATH | |
# Automatically re-exports all changed .scad files pre-commit | |
git diff --cached --name-only | grep ".scad$" | while read -r file; do | |
basename="${file%.*}" | |
echo "Exporting $file to $basename.stl..." | |
openscad -o "$basename.stl" "$file" | |
done |
; Movable blank | |
; Blank fullscren GUI window that's click-through | |
; It's not power-saving but allows you to peek through when you need it. | |
; For power saving consider just switching (native Windows shortcut Win + P) | |
; Move it from screen to screen (native Windows shortcut Win + Shift + Left/Right) | |
; Make it translucent (Helpers enhancement Win + PgUp/PgDn or Win + WheelUp/WheelDn) | |
; Close it like a regular window (native Windows Alt + F4) | |
; Start multiple instances for multiple monitors |
d3.js v3 + tinker10/D3-Labeler: D3 plug-in for automatic label placement using simulated annealing.
Trying to get good auto-placing of labels on a map.
Am I doing something wrong? It doesn't completely avoid overlaps...
I don't want to have to manually go in and fix overlaps. That way these SVGs can be exported automatically by a build system.
I didn't take the time to fix orchestration here because I have Montserrat v5 installed, I don't care about running it on the web.
; Listens for display connected and checks its name against TARGET_DISPLAYS | |
; then automates "disable for fullscreen apps" option | |
; CONFIGURE your projector/TV here. Use the names from Screen resolution control panel | |
global TARGET_DISPLAYS := "MP-CL1A,SONY TV XV" ; MatchList | |
; [Beginner question and script for dual monitors](https://autohotkey.com/boards/viewtopic.php?t=6035) | |
OnMessage(0x7E, "onDisplayChange") | |
onDisplayChange() { |
whenover 7zG.exe "shutdown -s -t 60"
DemoThis will wait for the 7zip archival process to finish and execute system shutdown in 60 seconds
javascript: (function() { | |
// var thumb = document.querySelector("meta[property='og:image']").content; | |
// var t = document.querySelector("link[itemprop='thumbnailUrl']").href; | |
const thumbnailUrl = `https://i.ytimg.com/vi/${ytplayer.config.args.video_id}/hqdefault.jpg`; | |
const imageSearchUrl = 'https://images.google.com/searchbyimage?site=search&image_url=' + thumbnailUrl; | |
const thumbnailWindow = window.open(thumbnailUrl, 'thumbnailWindow'); | |
const imageSearchWindow = window.open(imageSearchUrl, 'imageSearchWindow'); | |
setTimeout(function() { | |
newWindow.focus(); | |
}, 250); |