Install Dafang Hacks on the Wyze Cam.
Once running and all is functional, continue. Set video bitrate to 1500, VBR, 30fps.
| # All commands will be executed on a Proxmox host | |
| sudo apt update -y && sudo apt install libguestfs-tools -y | |
| wget https://cloud-images.ubuntu.com/jammy/current/jammy-server-cloudimg-amd64.img | |
| # Install qemu-guest-agent on the image. Additional packages can be specified by separating with a comma. | |
| sudo virt-customize -a jammy-server-cloudimg-amd64.img --install qemu-guest-agent | |
| # Read and set root user password from file. | |
| sudo virt-customize -a jammy-server-cloudimg-amd64.img --root-password file:password_root.txt | |
| # Create an additional user. | |
| sudo virt-customize -a jammy-server-cloudimg-amd64.img --run-command "useradd -m -s /bin/bash myuser" | |
| # Set password for that user. |
| javascript: Promise.all([import('https://unpkg.com/turndown@6.0.0?module'), import('https://unpkg.com/@tehshrike/readability@0.2.0'), ]).then(async ([{ | |
| default: Turndown | |
| }, { | |
| default: Readability | |
| }]) => { | |
| /* Optional vault name */ | |
| const vault = ""; | |
| /* Optional folder name such as "Clippings/" */ |
| apt-get install fio -y | |
| mkdir /usr/share/agnostics/ | |
| curl https://raw.githubusercontent.com/raspberrypi-ui/agnostics/master/data/sd_bench.fio -o /usr/share/agnostics/sd_bench.fio | |
| curl https://raw.githubusercontent.com/raspberrypi-ui/agnostics/master/data/sdtest.sh -o /usr/share/agnostics/sdtest.sh | |
| chmod +x /usr/share/agnostics/sdtest.sh | |
| /usr/share/agnostics/sdtest.sh |
| apiVersion: v1 | |
| kind: Namespace | |
| metadata: | |
| labels: | |
| app: metallb | |
| name: metallb-system | |
| --- | |
| apiVersion: policy/v1beta1 | |
| kind: PodSecurityPolicy | |
| metadata: |
Install Dafang Hacks on the Wyze Cam.
Once running and all is functional, continue. Set video bitrate to 1500, VBR, 30fps.
| // ==UserScript== | |
| // @name AWS UI scrubber | |
| // @namespace https://github.com/jamesinc | |
| // @version 1.0 | |
| // @description Make AWS Console shortcuts take up less space | |
| // @author James Ducker | |
| // @match https://*.console.aws.amazon.com/* | |
| // @grant none | |
| // @run-at document-end | |
| // ==/UserScript== |
| #!/bin/bash | |
| # | |
| # Script to remove GPG key from git-crypt | |
| # | |
| # It will re-initialize git-crypt for the repository and re-add all keys except | |
| # the one requested for removal. | |
| # | |
| # Note: You still need to change all your secrets to fully protect yourself. | |
| # Removing a user will prevent them from reading future changes but they will | |
| # still have a copy of the data up to the point of their removal. |
| import datetime | |
| import logging | |
| import socket | |
| import ssl | |
| YOUR_DOMAIN = 'serverlesscode.com' | |
| WARNING_BUFFER = 14 | |
| logger = logging.getLogger() | |
| logger.setLevel(logging.INFO) |
| # input: fullchain.pem and privkey.pem as generated by the "letsencrypt-auto" script when run with | |
| # the "auth" aka "certonly" subcommand | |
| # convert certificate chain + private key to the PKCS#12 file format | |
| openssl pkcs12 -export -out keystore.pkcs12 -in fullchain.pem -inkey privkey.pem | |
| # convert PKCS#12 file into Java keystore format | |
| keytool -importkeystore -srckeystore keystore.pkcs12 -srcstoretype PKCS12 -destkeystore keystore.jks | |
| # don't need the PKCS#12 file anymore |
| # On slow systems, checking the cached .zcompdump file to see if it must be | |
| # regenerated adds a noticable delay to zsh startup. This little hack restricts | |
| # it to once a day. It should be pasted into your own completion file. | |
| # | |
| # The globbing is a little complicated here: | |
| # - '#q' is an explicit glob qualifier that makes globbing work within zsh's [[ ]] construct. | |
| # - 'N' makes the glob pattern evaluate to nothing when it doesn't match (rather than throw a globbing error) | |
| # - '.' matches "regular files" | |
| # - 'mh+24' matches files (or directories or whatever) that are older than 24 hours. | |
| autoload -Uz compinit |