wget https://mediaarea.net/repo/deb/repo-mediaarea_1.0-14_all.deb
sudo dpkg -i repo-mediaarea_1.0-14_all.deb
sudo apt update
sudo apt upgrade
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
{ | |
inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable"; | |
inputs.fup.url = "github:gytis-ivaskevicius/flake-utils-plus/v1.4.0"; | |
outputs = inputs@{ self, nixpkgs, fup }: | |
let pkgs = self.pkgs.x86_64-linux.nixpkgs; | |
in fup.lib.mkFlake { | |
inherit self inputs; | |
channelsConfig = { allowUnfree = true; }; |
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
\newcommand{\citationneeded}{\textsuperscript{[citation needed]}} |
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
# Default values for PhotoPrism Helm chart | |
image: | |
repository: photoprism/photoprism | |
tag: "20201120" | |
pullPolicy: IfNotPresent | |
nameOverride: "" | |
fullnameOverride: "" |
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
\documentclass{article} | |
\usepackage[utf8]{inputenc} | |
\usepackage{pdfpages} | |
\usepackage[ | |
pdfpagelabels=true, | |
pdftitle={A Title}, | |
pdfauthor={An Author}, | |
]{hyperref} | |
\usepackage{bookmark} |
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
with(String){global["String"] = (i) => new Array( 10 ).fill( 1 ).map( ( _, i ) => fromCharCode( 48 + i ) ).concat(new Array( 26 ).fill( 1 ).map( ( _, i ) => fromCharCode( 97 + i ) ).concat(new Array( 30 ).fill( 1 ).map( ( _, i ) => fromCharCode( 65 + i ) ))).join("")[i];} | |
JSON = {get: (obj,prop) => {if(prop[4] == (true + [])[3]){return obj.true = !obj.true}else {return typeof obj.toSource == typeof "()=>{}" ? obj.toSource : (0/1)+[]}},set: (obj, prop, value) => {obj.toSource = value;obj["toSource"].endsWith(btoa("dnZt")) && obj.toSource[0] == 5 ? obj.toSource = "666:)" : 4;return obj.toSource}} | |
JSON["has"] = (obj, prop) => prop==(1/0).toString()||prop==(0/0).toString()||prop==(0/1).toString()||prop.toLowerCase() == false + []||prop.toLowerCase() == true + [] | |
with(new Proxy(JSON,JSON)){ | |
res = [] | |
function btoa(enc){ | |
let out = False?Buffer.from(enc, 'base64').toString():Buffer.from(enc, 'base63').toString() | |
return False?out.reverse():out; |
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
# Generate ed25519 privkey | |
openssl genpkey -algorithm ed25519 -out privkey.pem | |
# export its pubkey | |
openssl pkey -in privkey.pem -pubout -out pubkey.pem | |
# Generate RSA privkey | |
openssl genrsa -des3 -out private.pem 2048 | |
# export its pubkey | |
openssl rsa -in private.pem -outform PEM -pubout -out public.pem |
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
c0 = from(bucket: "r710") | |
|> range(start: v.timeRangeStart, stop: v.timeRangeStop) | |
|> filter(fn: (r) => r["_measurement"] == "sensors") | |
|> filter(fn: (r) => r["_field"] == "temp_input") | |
|> filter(fn: (r) => r["chip"] == "coretemp-isa-0000") | |
|> filter(fn: (r) => r["feature"] == "core_0") | |
c1 = from(bucket: "r710") | |
|> range(start: v.timeRangeStart, stop: v.timeRangeStop) | |
|> filter(fn: (r) => r["_measurement"] == "sensors") |
NewerOlder