Example repo for 11ty/eleventy#2248.
This gist was created by @pspeter3!
Example repo for 11ty/eleventy#2248.
This gist was created by @pspeter3!
// ==UserScript== | |
// @name noVNC Paste for Proxmox | |
// @namespace http://tampermonkey.net/ | |
// @version 0.2a | |
// @description Pastes text into a noVNC window (for use with Proxmox specifically) | |
// @author Chester Enright | |
// @match https://* | |
// @include /^.*novnc.*/ | |
// @require http://code.jquery.com/jquery-3.3.1.min.js | |
// @grant none |
git rebase --exec 'git commit --amend --no-edit -n -S' -i <previous-commit> | |
make a branch from your branch with unsigned commits (git checkout -b ...) | |
use git log --show-signature to see which are not signed | |
use the commit BEFORE the first one you want to fix in the above command (as <previous-commit>) | |
accept the generated file (don't change it) | |
save the file | |
use git log --show-signature to show the commits are now signed | |
push up |
This service will use the same remote name you specified when using rclone config create
. If you haven't done that yet, do so now.
Next, create the mountpoint for your remote. The service uses the location ~/mnt/<remote>
by default.
mkdir ~/mnt/dropbox
#include "esp_system.h" | |
#include "esp_adc_cal.h" | |
#include "driver/adc.h" | |
#define ADC_BAT_PIN 34 | |
#define NO_OF_SAMPLES 64 //Multisampling | |
#define REF_VOLTAGE 1100 | |
#define LIN_COEFF_A_SCALE 65536 |
Modern OpenSSH has native support for FIDO Authentication. Its much simpler and should also be more stable with less moving parts. OpenSSH also now has support for signing arbitary files witch can be used as replacement of gnupg. Git also supports signing commits/tags with ssh keys.
ssh
, ssh-add
and ssh-keygen
on most computers# Install/update SOPS to latest on Fedora - https://github.com/getsops/sops | |
# This script requires jq installed to parse the API return from GitHub | |
echo "[+] Install/upgrade SOPS" | |
which jq | grep -o jq > /dev/null && : || dnf install -y jq | |
SOPS_VERSION=$(curl -s https://api.github.com/repos/getsops/sops/releases/latest | jq .tag_name | tr -d '"') | |
dnf install -y https://github.com/getsops/sops/releases/download/${SOPS_VERSION}/sops-${SOPS_VERSION:1}-1.x86_64.rpm | |
sops --version | |
# sops 3.7.3 (latest) |