Skip to content

Instantly share code, notes, and snippets.

@akaleeroy
akaleeroy / MovableBlank.ahk
Last active November 10, 2019 12:25
Movable Blank - Blank fullscren GUI window that's click-through
; 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
@akaleeroy
akaleeroy / Internet-Connection.ps1
Created May 12, 2017 16:20
PowerShell Internet Connection helper functions: Test-InternetAccess, Go-Offline, Go-Online
#Requires -Version 2.0
function Test-InternetAccess {
<#
.SYNOPSIS
Tests connectivity by pinging Google DNS servers once
.DESCRIPTION
Uses Test-Connection to ping a host, with -Quiet for returning a boolean. The default is a highly available Google DNS server (8.8.4.4)
.EXAMPLE
Test-InternetAccess
@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 April 2, 2024 03:55
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 / 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 / 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 / redditp-feature-collect.user.js
Last active March 30, 2018 00:04
RedditP Collect feature userscript
// ==UserScript==
// @name RedditP Collect
// @namespace http://tampermonkey.net/
// @version 0.4
// @description Collect cool stuff while staying in the flow. Download them at the end.
// @author Leeroy
// @match http://redditp.com/*
// @grant GM_addStyle
// @grant GM_download
// @noframes
@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 / 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 / Configure-Blender-STL.md
Last active April 4, 2016 19:34
Configure Blender STL Import/Export default settings

Configure Blender STL default settings

Blender STL default settings aren't what I like to have by default. Working in millimeters inside Blender makes the STLs come out tiny, so I tried to find a way to change these defaults and keep it that way.

Turns out they're baked into the io_mesh_stl script. This gist is a Windows PowerShell script to make the necessary adjustments. They are:
ImportSTL global_scale at _init_.py#L102 becomes default=0.1

ExportSTL use_selection below at _init_.py#L166 becomes default=True.