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
  • 00:03 (UTC +09:00)
View GitHub Profile
[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"
@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

@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 / 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 / sources.list
Created August 20, 2023 09:36
Debian 12 (Bookworm) -- Full sources.list and debian.sources
deb http://deb.debian.org/debian/ bookworm main contrib non-free non-free-firmware
deb http://deb.debian.org/debian/ bookworm-updates main contrib non-free non-free-firmware
deb http://deb.debian.org/debian/ bookworm-backports main contrib non-free non-free-firmware
deb http://security.debian.org/debian-security/ bookworm-security main contrib non-free non-free-firmware
@ishad0w
ishad0w / README.md
Last active December 17, 2024 19:36
Debian 12 on Oracle Cloud (Free Tier) - (AMD64/ARM64)

Requirements:

⚠️ Only FRESH and CLEAN instances are supported. Ubuntu 22.04 (Minimal) images ONLY ⚠️

⚠️ Also you NEED to temporarily open the connection to the 1022 port in Security List / Ingress Rules for your VCN ⚠️

⚠️ After transformation YOU get a clean Debian 12 instance. All other data will be lost. ⚠️

The tmpfs partition is limited to 700m for x86_64 (free tier) compatibility.

@ishad0w
ishad0w / aveyo_edge_removal.bat
Last active December 14, 2024 23:05
AveYo (Microsoft Edge Removal)
@(set "0=%~f0"^)#) & powershell -nop -c iex([io.file]::ReadAllText($env:0)) & exit /b
#:: just copy-paste into powershell - it's a standalone hybrid script
sp 'HKCU:\Volatile Environment' 'Edge_Removal' @'
$also_remove_webview = 1
## why also remove webview? because it is 2 copies of edge, not a slimmed down CEF, and is driving bloated web apps
$also_remove_widgets = 1
## why also remove widgets? because it is a webview glorified ad portal on msn and bing news cathering to stupid people
$also_remove_xsocial = 1
## why also remove xsocial? because it starts webview setup every boot - xbox gamebar will still work without the social crap
@ishad0w
ishad0w / microsoft_edge_uninstaller_21h1_ltsc.bat
Last active November 14, 2024 15:23
Microsoft Edge Uninstaller [Windows 10 LTSC 2021/21H1 Edition]
@echo off
@title Microsoft Edge Uninstaller [Windows 10 LTSC 2021/21H1 Edition]
ver
echo+
goto check_admin_permissions
:check_admin_permissions
echo Script must Run as Administrator! Detecting permissions...
net session >nul 2>&1
if %errorLevel% == 0 (
@ishad0w
ishad0w / sources.list
Created December 14, 2021 09:52
Ubuntu 22.04 LTS (i386/amd64) (Jammy Jellyfish) -- Full sources.list
deb http://archive.ubuntu.com/ubuntu/ jammy main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu/ jammy main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ jammy-updates main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu/ jammy-updates main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ jammy-security main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu/ jammy-security main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ jammy-backports main restricted universe multiverse
@ishad0w
ishad0w / sources.list
Created December 10, 2021 16:36
Ubuntu 22.04 LTS (ARM/RISC-V) (Jammy Jellyfish) -- Full sources.list
deb http://ports.ubuntu.com/ubuntu-ports jammy main restricted universe multiverse
deb-src http://ports.ubuntu.com/ubuntu-ports jammy main restricted universe multiverse
deb http://ports.ubuntu.com/ubuntu-ports jammy-updates main restricted universe multiverse
deb-src http://ports.ubuntu.com/ubuntu-ports jammy-updates main restricted universe multiverse
deb http://ports.ubuntu.com/ubuntu-ports jammy-backports main restricted universe multiverse
deb-src http://ports.ubuntu.com/ubuntu-ports jammy-backports main restricted universe multiverse
deb http://ports.ubuntu.com/ubuntu-ports jammy-security main restricted universe multiverse