Create a sublime-text-option.reg
, save it and execute it:
Windows Registry Editor Version 5.00
; Option will appear when you right click on a file
[HKEY_CLASSES_ROOT\*\shell\sublime]
@="Open with &Sublime"
The purpose of this ESPHome config is to be able to use the Raspiaudio Muse Luxe as a voice assistant satellite in Home Assistant.
My work requires us to have full-disk encryption, so these are the steps I use.
The basic idea is to create a LUKS-encrypted partition which is used as an LVM Physical Volume.
The GRUB boot partition isn't encrypted, but everything else is.
These steps tested and working on 22.04 (jammy) and 20.04 (focal).
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Threading; | |
using Microsoft.Diagnostics.Runtime; | |
namespace ClrmdAsyncLocal | |
{ | |
internal class Program | |
{ |
This documents an example of how to offer both PhotoSwipe v5 and Lightbox2 in one project.
PhotoSwipe helps to make the photo clickable, and then it'll zoom for the user and create a gallery, you can call the photo _include
:
{ | |
"mode": "patterns", | |
"proxySettings": [ | |
{ | |
"address": "127.0.0.1", | |
"port": 8080, | |
"username": "", | |
"password": "", | |
"type": 1, | |
"title": "127.0.0.1:8080", |
Use your text editor of choice or if you don't have one use Windows Notepad
Opening with Notepad may or may not result in a fancy mess
%appdata%/Spotify
¤storage.size=1024
#!/usr/bin/env python3 | |
""" | |
This script recovers the RSA public key that was used to make signatures, given | |
any two such signatures in X.509 certificates. Python 3 is required, along with | |
recent versions of pyasn1, pyasn1-modules, and pyprimes. Runtime is nearly | |
instantaneous when the public key uses e=3, and 3+ hours when the public key | |
uses e=65537. (This could be vastly improved by using a more efficient GCD | |
library function) To recover a public key, run this script with the file names | |
of two certificates as command line arguments. Certificates can be in PEM or | |
DER format. |
## AWS | |
# from http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-metadata.html#instancedata-data-categories | |
http://169.254.169.254/latest/user-data | |
http://169.254.169.254/latest/user-data/iam/security-credentials/[ROLE NAME] | |
http://169.254.169.254/latest/meta-data/iam/security-credentials/[ROLE NAME] | |
http://169.254.169.254/latest/meta-data/ami-id | |
http://169.254.169.254/latest/meta-data/reservation-id | |
http://169.254.169.254/latest/meta-data/hostname | |
http://169.254.169.254/latest/meta-data/public-keys/0/openssh-key |