Skip to content

Instantly share code, notes, and snippets.

View aielwaste's full-sized avatar

Andrew Bell aielwaste

  • The Aiel Waste
  • Iowa, United States
View GitHub Profile
@aielwaste
aielwaste / google_search_urls.md
Last active August 24, 2019 14:39
Google Search Engine URLS
@aielwaste
aielwaste / printdir.cmd
Last active October 3, 2018 17:45
Print Directory in Sublime Text
@echo off
dir %1 /-p /o:gn > "%temp%\Listing"
start /w "%ProgramFiles%\Sublime Text 3\sublime_text.exe" /p "%temp%\Listing"
del "%temp%\Listing"
exit
@aielwaste
aielwaste / open_all_unknown_files_with_sublime_text.cmd
Created August 28, 2018 07:02
Open all unknown file extensions with Sublime Text
@Echo Off
Title Reg Converter v1.0 & Color 1A
cd %systemroot%\system32
call :IsAdmin
Reg.exe add "HKCR\Unknown" /v "AlwaysShowExt" /t REG_SZ /d "" /f
Reg.exe add "HKCR\Unknown" /v "QueryClassStore" /t REG_SZ /d "" /f
Reg.exe add "HKCR\Unknown" /v "TypeOverlay" /t REG_SZ /d "" /f
Reg.exe add "HKCR\Unknown\DefaultIcon" /ve /t REG_EXPAND_SZ /d "%ProgramFiles%\Sublime Text 3\sublime_text.exe,0" /f
Reg.exe add "HKCR\Unknown\shell" /ve /t REG_SZ /d "Sublime" /f

Keybase proof

I hereby claim:

  • I am aielwaste on github.
  • I am fr1v (https://keybase.io/fr1v) on keybase.
  • I have a public key ASAaK_htQPdN_KWAXnMQDx-GYD-5qD0t53XNUom8YxLbVQo

To claim this, I am signing this object:

@aielwaste
aielwaste / filebot_presets_windows.md
Last active May 22, 2019 05:24
Filebot Presets [Windows 10]

FILEBOT PRESETS WINDOWS

Movies

Files Section

  • Input Folder: D:\Downloads\qBittorrent\Movies
  • Includes: minutes > 60 && !file.isEpisode() && ext =~ /(?i)mp4|(?i)m4v|(?i)mkv|(?i)avi|(?i)wmv/

Keybase proof

I hereby claim:

  • I am ajb3ll on github.
  • I am fr1v (https://keybase.io/fr1v) on keybase.
  • I have a public key ASCdDonpdS50Qw2cg6EuilcHL1jWmoPhMQ5glfQCOQFvlAo

To claim this, I am signing this object:

@aielwaste
aielwaste / DisplayAutoAdjust.scpt
Last active March 18, 2018 08:38
Automatically Resize Mac App Window
(* This AppleScript will resize the current application window to the height specified below and center it in the screen. Compiled with code from Natanial Wools and Amit Agarwal *)
set the_application to (path to frontmost application as Unicode text)
set appHeight to 1440
set appWidth to 900
tell application "Finder"
set screenResolution to bounds of window of desktop
end tell
@aielwaste
aielwaste / add_permanently_delete_context_menu.reg
Last active October 5, 2017 22:49
Add Permanently Delete to Windows Explorer Context Menu
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\*\shell\Permanently Delete]
"CommandStateSync"=""
"ExplorerCommandHandler"="{E9571AB2-AD92-4ec6-8924-4E5AD33790F5}
"Icon"="shell32.dll,-240"
@aielwaste
aielwaste / ahk_tray_info.ahk
Created October 5, 2017 20:48
Autohotkey Tray Info
test := TrayIcon_GetInfo()
Loop % test.MaxIndex()
MsgBox, % test[A_Index].process
@aielwaste
aielwaste / toggle_permasprint.lua
Created September 23, 2017 23:59
PermaSprint Hotkey Toggle for ffxiv_shortcut_mgr
-- PermaSprint Hotkey Toggle for ffxiv_shortcut_mgr.lua
{
label = "Toggle PermaSprint",
mod1 = "SCK_gPermaSprint_Mod1",
mod2 = "SCK_gPermaSprint_Mod2",
key = "SCK_gPermaSprint_Key",
mouse = "SCK_gPermaSprint_Mouse",
event = function ()
gPermaSprint = not gPermaSprint
Settings.FFXIVMINION["gPermaSprint"] = gPermaSprint