Skip to content

Instantly share code, notes, and snippets.

@akaleeroy
akaleeroy / Gulp-Replace-Only-Relevant-Files.md
Last active May 6, 2021 10:34
Gulp replace only relevant files

gulp-replace only relevant files

gulp replace only relevant files demo

Piping to gulp.dest would re-write all input files. This checks for the pattern first and only passes along files that actually need to be processed, avoiding unnecessary overwriting with the same content. A benefit is that your files' timestamps stay meaningful.

@akaleeroy
akaleeroy / Subreddit-to-YouTube-Source-Bookmarklet.md
Last active August 14, 2021 05:06
Subreddit to YouTube Source Bookmarklet - Play YouTube music from subreddits in Foobar with foo_youtube

Subreddit to YouTube Source Bookmarklet

No Maintenance Intended

Generates .M3U playlist of all YouTube videos in current subreddit listing for use in foobar2000 with the foo_youtube component.

This isn't maintained, look into R2YS - a foo_jscript_panel script for foobar2000.
Its use of the Reddit API requires an account though.

Preview of Subreddit to YouTubeSource. Creating an M3U playlist from posted YouTube videos

@akaleeroy
akaleeroy / Connect-to-Android-WebDAV-Server.md
Last active October 14, 2021 16:31
Access phone storage over WiFi with WebDAV Server for Android

Access phone storage over WiFi

Batch file to map your Android phone as network drive in Windows.

Preview of Phone.cmd usage

Requirements

@akaleeroy
akaleeroy / Flatten Black.md
Last active October 17, 2021 04:54
Flatten Black - Illustrator script to batch convert rich blacks to 100%K

Flatten Black

Convert rich blacks to flat black

Flatten Black.jsx Demo

Description

Finds all items with enhanced blacks in the artwork and changes their color to flat black.

@akaleeroy
akaleeroy / Conjoined-Twins.md
Last active July 3, 2022 19:22
Conjoined Twins - IFTTT-style application actions using auditing and scheduled tasks under Windows

Conjoined Twins

IFTTT-style application actions using auditing and scheduled tasks under Windows

Conjoined Twins IFTTT-style application actions PowerShell script demo

How it works

The script audits a trigger application to make it raise an event when it's executed, then schedules a task to run an action command on that event. For example an automation script, or a batch file, or another app.

Advantages

@akaleeroy
akaleeroy / Goto-Registry-Key.md
Last active August 6, 2023 20:48 — forked from thekingofspain/GotoRegistryEntry.vbs
Go to registry entry

Go to registry key

Go to registry key


Opens regedit at your specified location. Copied registry paths will automatically populate the input box (like in the above image).

You may use these formats:

@akaleeroy
akaleeroy / Readable-Bookmarklet.md
Last active August 30, 2023 08:11
Readable Bookmarklet

Readable Bookmarklet

Bookmarklet Browser Enhancement Readability

Readable dark theme

rdbl.us

Readable is an application that helps you read more of the web. It reformats text — on any website — according to your exact specifications.

@akaleeroy
akaleeroy / Currently-Opened-Folders.md
Last active February 9, 2024 15:58
Easy Access to Currently Opened Folders

Easy Access to Currently Opened Folders

Windows Enhancement Productivity

Enhance Open... or Save As... dialogs with a quick way to navigate to currently opened folders.

Easy Access to Currently Opened Folders - Demo

This is an AutoHotkey script that gives common file selection dialogs an extra feature: middle-clicking invokes a menu of currently opened folders. Say you want to save or upload something to/from a folder you've got open in Windows Explorer. The dialog box pops up with the last folder (from another project) or My Documents, and now you have to manually navigate to the folder you want, or copy-paste its path from the open Explorer window. I wanted to get to the active locations quicker. Recent Items wasn't exactly helping, so I made this by forking FavoriteFolders.ahk by Savage. Tested

@akaleeroy
akaleeroy / Cursor-Language-Indicator.md
Last active March 23, 2024 09:48
Cursor Language Indicator - Reflect keyboard layout changes in mouse pointer look.

Cursor Language Indicator

Windows AutoHotkey Usability

Reflect keyboard layout changes in mouse pointer look.

Cursor Language Indicator Demo

Description