This is an OpenPGP proof that connects my OpenPGP key to this Github account. For details check out https://keyoxide.org/guides/openpgp-proofs
[Verifying my OpenPGP key: openpgp4fpr:A9036A1979593292CC5B7BBCCCF49B90CAF707C1]
#!/bin/bash | |
(($# == 0)) \ | |
&& set "." | |
find "$@" -type d -exec chmod 755 {} + | |
find "$@" -type f -exec chmod 644 {} + |
#!/bin/bash | |
if (( $# != 3 )); then | |
echo "usage: $(basename "$0") type hash filename" | |
exit 1 | |
fi | |
type="$1" | |
hash="$2" | |
filename="$3" |
#!/bin/bash | |
A="$(ip addr show dev eth0)" | |
A="${A##*inet }" | |
echo "${A%%/*}" |
#!/bin/bash | |
numeric_or_default() { | |
local -i val="$1" | |
local -i default="$2" | |
if [[ "$1" == "$val" ]]; then | |
echo "$val" | |
else | |
echo "$default" | |
fi |
/* | |
primes = filterPrime [2..] | |
where filterPrime (p:xs) = | |
p : filterPrime [x | x <- xs, x `mod` p /= 0] | |
main = print $ take 10 primes | |
*/ | |
#include <iostream> |
CC := gcc | |
CXX := g++ | |
CPPFLAGS := | |
CXXFLAGS := -std=c++14 -O2 -Wall -Wextra | |
LDFLAGS := | |
LDLIBS := -lstdc++ | |
OBJS := main.o | |
EXE := main | |
all: $(EXE) |
CC := gcc | |
CXX := g++ | |
CPPFLAGS := | |
CFLAGS := -std=c11 -O2 -Wall -Wextra | |
CXXFLAGS := -std=c++14 -O2 -Wall -Wextra | |
LDFLAGS := | |
LDLIBS := -lstdc++ | |
COBJS := | |
CXXOBJS := main.o | |
OBJS := $(COBJS) $(CXXOBJS) |
#!/bin/bash | |
# usage: _docker_wrapper [--root] image command | |
user="--user=${UID}" | |
if [[ "$1" == "--root" ]]; then | |
user="--user=root" | |
shift | |
fi |
This is an OpenPGP proof that connects my OpenPGP key to this Github account. For details check out https://keyoxide.org/guides/openpgp-proofs
[Verifying my OpenPGP key: openpgp4fpr:A9036A1979593292CC5B7BBCCCF49B90CAF707C1]
{ | |
"$schema": "https://lnav.org/schemas/format-v1.schema.json", | |
"yagna_log" : { | |
"title" : "Yagna Log Format", | |
"regex" : { | |
"basic" : { | |
"pattern" : "^\\[(?<timestamp>\\d{4}-\\d{2}-\\d{2}(T| )\\d{2}:\\d{2}:\\d{2}(Z|,\\d{3})) (?<level>\\w+) +(?<component>[\\w:.]+)\\] (?<body>.*)$" | |
} | |
}, | |
"level" : { |