% git clone --depth 1 https://github.com/home-assistant/core
% grep -l climate */const.py | awk -F/ '{print $1}' | xargs -n1 sh -c 'jq .iot_class $1/manifest.json | grep -q local && echo "* https://www.home-assistant.io/integrations/$1"' -
# All my gist code is licensed under the terms of the MIT license. | |
# Video demo: https://www.youtube.com/shorts/0zx4uSBUt_k | |
# Add this somewhere in your ~/.bashrc | |
# Use bash-preexec.sh (https://github.com/rcaloras/bash-preexec) to: | |
# - disable the Ctrl-Z keybinding before printing the prompt | |
# - enable the Ctrl-Z keybinding before executing a command | |
# |
# All my gist code is licensed under the terms of the MIT license. | |
# Video demo: https://www.youtube.com/shorts/0zx4uSBUt_k | |
# Add this somewhere in your ~/.bashrc | |
# Use bash-preexec.sh (https://github.com/rcaloras/bash-preexec) to: | |
# - disable the Ctrl-Z keybinding before printing the prompt | |
# - enable the Ctrl-Z keybinding before executing a command | |
# |
#!/bin/bash | |
gdb -p "$1" -batch -ex 'set {short}$rip = 0x050f' -ex 'set $rax=231' -ex 'set $rdi=0' -ex 'cont' |
% git clone --depth 1 https://github.com/home-assistant/core
% grep -l climate */const.py | awk -F/ '{print $1}' | xargs -n1 sh -c 'jq .iot_class $1/manifest.json | grep -q local && echo "* https://www.home-assistant.io/integrations/$1"' -
#!/usr/bin/env python3 | |
# | |
# Simple Intel x520 EEPROM patcher | |
# Modifies the EEPROM to unlock the card for non-intel branded SFP modules. | |
# | |
# Copyright 2020,2021,2022 Andreas Thienemann <[email protected]> | |
# | |
# Licensed under the GPLv3 | |
# | |
# Based on research described at https://forums.servethehome.com/index.php?threads/patching-intel-x520-eeprom-to-unlock-all-sfp-transceivers.24634/ |
This work is released under a Creative Commons Attribution-NoDerivatives 4.0 International License.
"OpenPGP" refers to the OpenPGP protocol, in much the same way that HTML refers to the protocol that specifies how to write a web page. "GnuPG", "SequoiaPGP", "OpenPGP.js", and others are implementations of the OpenPGP protocol in the same way that Mozilla Firefox, Google Chromium, and Microsoft Edge refer to software packages that process HTML data.
I use separate Firefox profiles for work and personal stuff. To distinguish those I place them on different workspaces.
firefox --no-remote -P MyJob
firefox --no-remote -P default
I have also company Slack on Workspace 0. Which usually contains links to some work stuff.
// +build linux | |
package main | |
import ( | |
"flag" | |
"log" | |
"os" | |
"runtime" | |
"time" |
389 native translations | |
320 failed translations | |
226 unsupported resources | |
226x User[...] the managehome parameter is not supported | |
226x User[...] cannot be translated natively, falling back to 'exec puppet resource' | |
208x Ssh_authorized_key[...] cannot be translated natively, falling back to 'exec puppet resource' | |
78x User[...] cannot translate attribute 'shell', failing resource translation | |
78x User[...] cannot translate attribute 'groups', failing resource translation | |
41x Exec[...] cannot translate attribute 'path', failing resource translation | |
41x Exec[...] cannot be translated natively, falling back to 'exec puppet resource' |