Skip to content

Instantly share code, notes, and snippets.

View kaiserkiwi's full-sized avatar

Marco Kaiser kaiserkiwi

View GitHub Profile
@velzie
velzie / manifest-v2-chrome.md
Last active October 30, 2024 23:26
How to keep using adblockers on chrome and chromium

How to keep using adblockers on chrome and chromium

  1. google's manifest v3 has no analouge to the webRequestBlocking API, which is neccesary for (effective) adblockers to work
  2. starting in chrome version 127, the transition to mv3 will start cutting off the use of mv2 extensions alltogether
  3. this will inevitably piss of enterprises when their extensions don't work, so the ExtensionManifestV2Availability key was added and will presumably stay forever after enterprises complain enough

You can use this as a regular user, which will let you keep your mv2 extensions even after they're supposed to stop working

Linux

In a terminal, run:

@cassidyjames
cassidyjames / temp-chart.yaml
Created November 27, 2023 18:06
Temperature chart for Home Assistant
type: custom:mini-graph-card
name: Living Room
entities:
- entity: sensor.living_room_avg_temperature
- entity: sensor.living_room_thermostat_living_room_temperature
show_fill: false
- entity: sensor.closet_door_temperature
show_fill: false
animate: true
decimals: 0
@jlpouffier
jlpouffier / script.yaml
Created August 22, 2023 17:56
Home Assistant Hot Tip: Dynamic Scene
alias: Flash Ceiling lights Red
sequence:
- service: scene.create
data:
scene_id: previous_ceiling_lights_state
snapshot_entities:
- light.ceiling_lights
- service: light.turn_on
data:
rgb_color:
@juanbrujo
juanbrujo / PlayStationBIOSFilesNAEUJP.md
Last active October 30, 2024 13:02
Files for PlayStation BIOS Files NA-EU-JP
@repodevs
repodevs / macOS.sh
Created December 12, 2018 14:56
gpg: signing failed: Inappropriate ioctl for device macOS
❱ git config user.signingKey 38AF394C
❱ git config commit.gpgSign true
❱ echo "test" | gpg --clearsign
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
test
gpg: signing failed: Inappropriate ioctl for device
gpg: [stdin]: clear-sign failed: Inappropriate ioctl for device