This file contains 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
#!/usr/bin/env bash | |
# Exit on error | |
set -e | |
# Variables | |
SCRIPT_NAME="$(basename "$0")" | |
DEFAULT_PASSWORD="password" | |
DEFAULT_OUTFILE="store.jks" |
This file contains 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
#!/usr/bin/env bash | |
# Exit on error | |
set -e | |
# Variables | |
SCRIPT_NAME="$(basename "$0")" | |
OUTDIR="$PWD/kcadm" | |
# Color codes |
This file contains 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
// New version courtesy of JCluzet. Thanks! | |
(() => { | |
const STORAGE_KEY = 'lucca_faces_data_v2'; | |
let people = JSON.parse(localStorage.getItem(STORAGE_KEY)) || {}; | |
let currentImageHash = ''; | |
let retryAttempts = 0; | |
const MAX_RETRY_ATTEMPTS = 5; // Adjust max attempts count | |
function getImageHash(imageSrc) { | |
return new Promise((resolve, reject) => { |