Skip to content

Instantly share code, notes, and snippets.

Avatar

Jeremy Wong navhaxs

View GitHub Profile
@navhaxs
navhaxs / add-context-menu.reg
Created October 4, 2022 12:14
Convert HEIC to JPG context menu Windows 10
View add-context-menu.reg
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\SystemFileAssociations\.heic\Shell\convert-to-jpg\command]
@="C:\\Program Files\\ImageMagick-7.1.0-Q16-HDRI\\magick.exe mogrify -format jpg %1"
View how-to-mount-efi-system-partition.bat
mountvol v: /s
taskkill /im explorer.exe /f
explorer /nouaccheck
REM unmount
mountvol v: /d
@navhaxs
navhaxs / my-config.json
Created September 6, 2021 06:28
Jeremy's mac binding for karabiner-elements
View my-config.json
{
"title": "[macOS] Use Caps Lock + Arrows to Navigate Tabs (Jeremy)",
"rules": [
{
"description": "Navigate Tabs with CapsLock + Any Arrows",
"manipulators": [
{
"type": "basic",
"from": {
"modifiers": {
@navhaxs
navhaxs / mac-disk-cleanup.md
Last active June 1, 2021 02:24
Mac disk cleanup
View mac-disk-cleanup.md
@navhaxs
navhaxs / gist:ab284f1609b03c2dfa61a6497ea6b65c
Created August 1, 2020 01:00
Block Windows 10 Bing search outgoing firewall
View gist:ab284f1609b03c2dfa61a6497ea6b65c
%windir%\SystemApps\Microsoft.Windows.Search_cw5n1h2txyewy\SearchApp.exe
@navhaxs
navhaxs / gist:ff1f46b83bba726046cb750c6e7ccc7d
Last active July 13, 2020 12:07
Hide personal details from Elvanto People view - Userstyle
View gist:ff1f46b83bba726046cb750c6e7ccc7d
@-moz-document url-prefix("https://swec.elvanto.com.au/admin/people/person/") {
body > div.app-admin-legacy > div.content-sidebar-wrapper > form > section > div:nth-child(2) > div:nth-child(2) > div.form-group.date-picker-member_birthday-age,
body > div.app-admin-legacy > div.content-sidebar-wrapper > form > section > div:nth-child(2) > div:nth-child(2) > div:nth-child(2),
body > div.app-admin-legacy > div.content-sidebar-wrapper > form > section > div:nth-child(4), body > div.app-admin-legacy > div.content-sidebar-wrapper > form > section > div:nth-child(8), body > div.app-admin-legacy > div.content-sidebar-wrapper > form > section > div:nth-child(7), body > div.app-admin-legacy > div.content-sidebar-wrapper > form > section > div:nth-child(3) > div, body > div.app-admin-legacy > div.content-sidebar-wrapper > form > section > div:nth-child(5), body > div.app-admin-legacy > div.content-sidebar-wrapper > form > section > div:nth-child(6), body > div.app-admin-legacy > div.content-sidebar-wrapper > form > secti
View gist:7634639239147a9dee3587b991c08048
The TP Link Archer 5e is just a repackaged Intel AC 7265. Just so you know. Including the drivers. Same Blueooth version.
View ffmpeg_extract_audio.sh
ffmpeg -i input.mp4 -vn -c:a copy output.m4a
View disablecompateltunner.reg
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\compattelrunner.exe]
"Debugger"="systray.exe"
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\wsqmcons.exe]
"Debugger"="systray.exe"