PIO | Value |
---|---|
00 | 5001 |
01 | 5000 |
02 | 6024 |
03 | E |
04 | Alpha3 |
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
#!/bin/bash | |
# Function to display help message | |
show_help() { | |
cat << EOF | |
Usage: ${0##*/} [-h] [PROJECT_NAME] [OUTPUT_PATH] | |
Retrieve secrets for a given project using 'bws' and write them to a .env file. | |
Arguments: |
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
import levenshtein from "fast-levenshtein"; | |
import { useCallback, useEffect, useState } from "react"; | |
import { NavigateOptions, useSearchParams } from "react-router-dom"; | |
export type SearchParamState<T> = [T, (value: T) => void]; | |
/** | |
* Read the value of a search parameter, or return undefined if it does not exist. | |
* This wrapper is necessary because URLSearchParams.get() returns null if the | |
* search parameter does not exist. |
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
defaults write -g NSAutomaticWindowAnimationsEnabled -bool false |
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
/** | |
* Set the data-md-color-scheme property on the body element to "slate" or "default" | |
* depending on the browser's preferred color scheme. | |
*/ | |
window | |
.matchMedia("(prefers-color-scheme: dark)") | |
.addEventListener("change", function (e) { | |
var colorScheme = "default"; | |
if (e.matches) { | |
colorScheme = "slate"; |
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
.theme--dark { | |
--color-main-background: rgb(13, 17, 23); | |
--color-main-background-translucent: rgb(13, 17, 23); | |
--color-background-dark: rgb(13, 17, 23); | |
--color-background-hover: #21262c; | |
--color-primary-light: #21262c; | |
--color-border: #21262d; | |
--input-form-background: #010409; | |
--btn-primary: #238636; | |
--btn-primary-hover: #1b6e2b; |
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
# When [ File created ] and [ File name ] matches [ /[[:ascii:]]+\.mkv/i ] run following script (tested on nc 21.0.1) | |
ffmpeg -i /var/www/nextcloud/data/%n -vcodec copy -acodec aac -strict -2 -ab 320K /var/www/nextcloud/data/$(dirname %n)/$(basename %n .mkv)_temp.mkv; | |
rm /var/www/nextcloud/data/%n; | |
mv /var/www/nextcloud/data/$(dirname %n)/$(basename %n .mkv)_temp.mkv /var/www/nextcloud/data/%n; | |
/var/www/nextcloud/occ files:scan --path="$(dirname %n)"; | |
chown www-data:www-data /var/www/nextcloud/data/%n; |