Skip to content

Instantly share code, notes, and snippets.

View emirkmo's full-sized avatar

Emir Karamehmetoglu emirkmo

  • Axis Communications
  • Lund
View GitHub Profile
@jprenken
jprenken / install-chrome.sh
Created July 2, 2022 04:37
Install Chrome on Debian / Ubuntu the pedantic way
sudo mkdir /etc/apt/keyrings
curl --fail --silent --show-error --location https://dl.google.com/linux/linux_signing_key.pub \
| gpg --dearmor \
| sudo tee /etc/apt/keyrings/google.gpg
echo "deb [arch=amd64 signed-by=/etc/apt/keyrings/google.gpg] https://dl.google.com/linux/chrome/deb/ stable main" \
| sudo tee /etc/apt/sources.list.d/google-chrome.list
# We want to manage the Google Chrome repository manually, so that we can use
@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