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
apiVersion: networking.k8s.io/v1 | |
kind: Ingress | |
metadata: | |
annotations: | |
kubectl.kubernetes.io/last-applied-configuration: | | |
{"apiVersion":"networking.k8s.io/v1","kind":"Ingress","metadata":{"annotations":{"kubernetes.io/ingress.class":"nginx","meta.helm.sh/release-name":"budibase","meta.helm.sh/release-namespace":"budibase"},"creationTimestamp":"2022-04-16T19:54:40Z","generation":1,"labels":{"app.kubernetes.io/instance":"budibase","app.kubernetes.io/managed-by":"Helm","app.kubernetes.io/name":"budibase","app.kubernetes.io/version":"1.0.48","helm.sh/chart":"budibase-0.2.8"},"name":"budibase-budibase","namespace":"budibase","resourceVersion":"4231","selfLink":"/apis/networking.k8s.io/v1/namespaces/budibase/ingresses/budibase-budibase","uid":"2c2c849b-6707-4c97-9c0d-f9b8d71d9f55"},"spec":{"rules":[{"host":"budibase.cloud.yaasita.net","http":{"paths":[{"backend":{"service":{"name":"proxy-service","port":{"number":10000}}},"path":"/","pathType":"Prefix"}]}}],"tls":[{"hosts":["budibase.cloud.yaasita.net"] |
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 node | |
"use strict"; | |
const fs = require("fs"); | |
const path = require("path"); | |
const simpleParser = require("mailparser").simpleParser; | |
const zlib = require("zlib"); | |
(async () => { | |
const targetDir = process.argv[2]; | |
const dirents = fs.readdirSync(targetDir, { withFileTypes: 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
library(dplyr) | |
bandori <- read.csv("~/rwork/bandori.csv") | |
bandori <- bandori %>% | |
mutate(MISS = (FAST + SLOW) / (PERFECT + FAST + SLOW) * 100) | |
hist(bandori$MISS, breaks = seq(0, 20, 1)) | |
dens <- density(bandori$MISS) |
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
PERFECT | FAST | SLOW | |
---|---|---|---|
453 | 17 | 13 | |
509 | 6 | 9 | |
284 | 40 | 2 | |
463 | 30 | 12 | |
460 | 15 | 9 | |
406 | 14 | 24 | |
665 | 21 | 29 | |
306 | 16 | 4 | |
566 | 18 | 23 |
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/perl | |
use strict; | |
use warnings; | |
use feature qw(:5.10); | |
use utf8; | |
my ($A, $B, $C, $D) = (1, 3, 3, 7); | |
my @r = pattern(3); |
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/perl | |
use strict; | |
use warnings; | |
use feature qw(:5.10); | |
use utf8; | |
my ($A, $B, $C, $D) = (1, 3, 3, 7); | |
my @r = pattern(3); |
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
--ignore-file=is:tags | |
--follow |
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
[Match] | |
Name=br0 | |
[Network] | |
Address=192.168.0.1/24 | |
Gateway=192.168.0.1 |
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
#!/bin/bash | |
set -eu | |
function power-on-hours { | |
echo -n "$1: " | |
smartctl -A $1 | grep -i power_on_hours | perl -nlE '/\d+(\s\(.*\))?$/;say $&' | |
} | |
power-on-hours /dev/sda | |
power-on-hours /dev/sdb | |
power-on-hours /dev/sdc |
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/perl | |
use strict; | |
use warnings; | |
use feature qw(:5.10); | |
use utf8; | |
use bigint; | |
my @combination; | |
my ($A, $B, $K); |