Skip to content

Instantly share code, notes, and snippets.

View navhaxs's full-sized avatar

Jeremy Wong navhaxs

View GitHub Profile
@navhaxs
navhaxs / move_cursor_to_primary_monitor_center.ahk
Created March 28, 2024 07:12
move_cursor_to_primary_monitor_center.ahk
#Requires AutoHotkey 2.0+
#SingleInstance Force
CoordMode("Mouse")
;Alt+M
!M::MouseMove(A_ScreenWidth/2,A_ScreenHeight/2,0) ;Primary
;F5::Try MonitorGet(2,&L,&T,&R,&B),MouseMove((L+R)/2,(T+B)/2,0) ;Secondary
@navhaxs
navhaxs / add-context-menu.reg
Created October 4, 2022 12:14
Convert HEIC to JPG context menu Windows 10
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"
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
{
"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
@navhaxs
navhaxs / gist:ab284f1609b03c2dfa61a6497ea6b65c
Created August 1, 2020 01:00
Block Windows 10 Bing search outgoing firewall
%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
@-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
The TP Link Archer 5e is just a repackaged Intel AC 7265. Just so you know. Including the drivers. Same Blueooth version.
ffmpeg -i input.mp4 -vn -c:a copy output.m4a