Skip to content

Instantly share code, notes, and snippets.

unifi

Connect

SSH into a device with ubnt if not adopted

$ ssh ubnt@192.168.1.1
Welcome to EdgeOS
@arbourd
arbourd / invert.md
Created May 9, 2017 23:12
Invert Windows 10 mouse scroll wheel
  1. Open Powershell as an administrator
  2. Run
    Get-ItemProperty HKLM:\SYSTEM\CurrentControlSet\Enum\HID\*\*\Device` Parameters FlipFlopWheel -EA 0 | ForEach-Object { Set-ItemProperty $_.PSPath FlipFlopWheel 1 }
  3. Verify that all mice devices have had their FlipFlopWheel attributes set to 1
    Get-ItemProperty HKLM:\SYSTEM\CurrentControlSet\Enum\HID\*\*\Device` Parameters FlipFlopWheel -EA 0
  4. Reboot
@arbourd
arbourd / iterm-bindings.md
Last active December 10, 2016 05:51
Escape and hex bindings for standard macOS commands inside of iTerm

iTerm bindings for macOS functions


This table contains a list of escape or hex values that can be used to mimic existing key functionality from macOS inside of Iterm. These mappings work in both vim and tmux.

key description type binding
⌥ ← Move one word to the left escape [1;5D
⌥ → Move one word to the right escape [1;5C