Skip to content

Instantly share code, notes, and snippets.

View ishad0w's full-sized avatar
:electron:
Rocket science at home!

Alexander ishad0w

:electron:
Rocket science at home!
  • /dev/null
  • 10:52 (UTC +09:00)
View GitHub Profile
@ishad0w
ishad0w / nuphy_air96_v2.layout.customized.json
Last active August 31, 2024 21:23
Nuphy Air96v2 (2.0.6)
{
"name": "NuPhy Air96 V2",
"vendorProductId": 435499622,
"macros": [
"{KC_LGUI,KC_LCTL,KC_Q}",
"",
"{KC_LGUI,KC_L}",
"",
"{KC_LGUI,KC_L}",
"",
@ishad0w
ishad0w / ansible-mitogen.md
Last active November 17, 2024 15:10
Ansible with Mitogen (venv) for macOS / Linux

Ansible with Mitogen (venv) for macOS / Linux

  1. Download the script
wget https://gist.githubusercontent.com/ishad0w/d85eb434be256b9fd90979b593e4630c/raw/ansible-with-mitogen-venv-install.sh
  1. Make it executable
chmod +x ansible-with-mitogen-venv-install.sh
@ishad0w
ishad0w / manifest-v2.md
Created November 17, 2024 02:59
macOS how to Enable Manifest V2 extensions for another year (until June 2025)

Arc

defaults write company.thebrowser.Browser.plist ExtensionManifestV2Availability -int 2

Chrome

defaults write com.google.Chrome.plist ExtensionManifestV2Availability -int 2

Chrome Beta

[Unit]
Description=Surface GO LTE
Before=ModemManager.service
[Service]
Type=oneshot
ExecStart=/bin/bash -c "echo 16383 > /sys/bus/usb/devices/2-3/2-3:1.0/net/wwp0s20f0u3/cdc_ncm/rx_max; \
echo 16383 > /sys/bus/usb/devices/2-3/2-3:1.0/net/wwp0s20f0u3/cdc_ncm/tx_max; \
echo 16384 > /sys/bus/usb/devices/2-3/2-3:1.0/net/wwp0s20f0u3/cdc_ncm/rx_max; \
echo 16384 > /sys/bus/usb/devices/2-3/2-3:1.0/net/wwp0s20f0u3/cdc_ncm/tx_max"