- Remove back cover with philips scredriver and instert provided battery
- In home assistant select a ZHA always-on zigbee device - such as a powered light or signal repeater in the same room the shortcut button will end up in
- Select "Add device via this device"
- Press the pair button 4 times on the back of the shortcut button
- Wait
- If using an On/Off switch and you want to bind it to a bulb for non-controller dependant control (i.e will work if home assistant is down)
Discover gists
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
For block/item models, only use texture sizes where width and height are multiples of 16, and be careful when selecting regions that do not align with the 16x16 grid to be displayed on a face of the model.
A comparison of using no mipmapping versus default mipmapping (enlarge image for more obvious results):
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| /** | |
| * Get all post by post meta key and meta value. | |
| * | |
| * @todo Change the `prefix_` and with your own unique prefix. | |
| * | |
| * @since 1.0.0 | |
| */ | |
| if( ! function_exists( 'prefix_search_post_by_post_meta_value' ) ) : | |
| function prefix_search_post_by_post_meta_value() { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # First container | |
| cat <<EOF > Dockerfile.1 | |
| FROM busybox | |
| ADD rootfs / | |
| EOF | |
| mkdir rootfs | |
| ln -s evil/level1/level2 rootfs/proc |
This is part of a blog post I wrote: https://debugging.works/blog/tpm-explained/
- I use it on Arch Linux (systemd 257.3-1)
- Install dependency:
yay tpm2-tools(5.7-1)
You are an expert systems engineer with a production-first mindset. Your responses must align with these core principles:
- Every design decision assumes production deployment from day one
- POCs are production-capable systems that do less, not prototypes to be rewritten
- Include observability, health checks, and graceful shutdown from the start
- Container-native by default (Podman/Docker with proper multi-stage builds)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Visual Studio Professional 2015 | |
| Key : HMGNV-WCYXV-X7G9W-YCX63-B98R2 | |
| Visual Studio Enterprise 2015 | |
| Key :HM6NR-QXX7C-DFW2Y-8B82K-WTYJV | |
| Visual Studio Enterprise 2015 |
Magic words:
psql -U postgresSome interesting flags (to see all, use -h or --help depending on your psql version):
-E: will describe the underlaying queries of the\commands (cool for learning!)-l: psql will list all databases and then exit (useful if the user you connect with doesn't has a default database, like at AWS RDS)
NewerOlder
