Skip to content

Instantly share code, notes, and snippets.

@sbrunner
sbrunner / README-add-pre-commit-hooks.md
Last active March 16, 2023 12:20
Add precommit hooks to your repository

To use this script, run:

   pip install pre-commit multi-repo-automation
   curl https://gist.githubusercontent.com/sbrunner/b0897996c0b475c97b0aef97b7849883/raw/add-pre-commit-hooks add-pre-commit-hooks
   chmod +x add-pre-commit-hooks
   ./add-pre-commit-hooks --help
   ./add-pre-commit-hooks --local
@sbrunner
sbrunner / extensions
Last active March 7, 2024 19:29
Extensions Sync
{"SettingsCenter@xesnet.fr":{"/org/gnome/shell/extensions/SettingsCenter/":""},"alternate-tab@gnome-shell-extensions.gcampax.github.com":{},"hplip-menu@grizzlysmit.smit.id.au":{"/org/gnome/shell/extensions/hplip-menu/":""},"notifications-alert-on-user-menu@hackedbellini.gmail.com":{"/org/gnome/shell/extensions/notifications-alert/":""},"permanent-notifications@bonzini.gnu.org":{},"resize-half-tiled@rliang.github.com":{},"system-monitor@paradoxxx.zero.gmail.com":{"/org/gnome/shell/extensions/system-monitor/":"[/]\nfan-sensor-file='/sys/class/hwmon/hwmon5/fan1_input'"},"tiling-assistant@leleat-on-github":{"/org/gnome/shell/extensions/tiling-assistant/":"[/]\nactivate-layout0=@as []\nactivate-layout1=@as []\nactivate-layout2=@as []\nactivate-layout3=@as []\nauto-tile=@as []\ncenter-window=@as []\nchangelog-version=33\ndebugging-free-rects=@as []\ndebugging-show-tiled-rects=@as []\ndefault-move-mode=0\ndynamic-keybinding-behaviour=0\nenable-tiling-popup=false\nimport-layout-examples=false\nmaximize-with-gap=true\
@sbrunner
sbrunner / gist:8aa5b83141ea01b75e6a0f37637c3202
Last active October 27, 2021 07:16
Session on Paperless-ng (django with SCRF)
import subprocess
import urllib.parse
from typing import Any, Dict
import requests
class PaperlessClient:
"""
Example of usage:
@sbrunner
sbrunner / keybase.md
Created February 13, 2020 09:45
Keybase

Keybase proof

I hereby claim:

  • I am sbrunner on github.
  • I am sbrunner (https://keybase.io/sbrunner) on keybase.
  • I have a public key whose fingerprint is 5E02 6E27 C9F7 8F65 223C B546 B39F C793 D1D6 A94C

To claim this, I am signing this object:

@sbrunner
sbrunner / map.geojson
Created September 3, 2013 06:54
via:geojson.io
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.