Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
Dec 30 18:04:51 box systemd[1736]: Started cortile.service - window tiling manager. | |
Dec 30 18:04:52 box cortile[82796]: LOAD /home/hub/.config/cortile/config.toml [cortile v2.3.1-f7d514e, built on 2023-12-10T19:35:52Z] | |
Dec 30 18:05:13 box systemd[1736]: Stopping cortile.service - window tiling manager... | |
Dec 30 18:05:13 box systemd[1736]: cortile.service: Main process exited, code=exited, status=1/FAILURE | |
Dec 30 18:05:13 box systemd[1736]: cortile.service: Failed with result 'exit-code'. | |
Dec 30 18:05:13 box systemd[1736]: Stopped cortile.service - window tiling manager. | |
Dec 30 18:05:13 box systemd[1736]: Started cortile.service - window tiling manager. | |
Dec 30 18:05:14 box cortile[83153]: LOAD /home/hub/.config/cortile/config.toml [cortile v2.3.1-f7d514e, built on 2023-12-10T19:35:52Z] | |
Dec 30 18:05:38 box cortile[83153]: panic: runtime error: invalid memory address or nil pointer dereference | |
Dec 30 18:05:38 box cortile[83153]: [signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x73762e] |
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 | |
IFS=$'\n' read -rd '' -a services <<<"$(find "/opt/services" -mindepth 1 -maxdepth 1 -type d -printf '%f\n')" | |
for service in "${services[@]}"; do | |
echo "rendering ${service}" | |
sudo docker run --rm -it \ | |
-v "/opt/services/${service}:/input:ro" \ | |
-v "${PWD}:/output" \ | |
pmsipilot/docker-compose-viz render -f -m image -o "/output/${service}.png" -- "docker-compose.yaml" | |
done |
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
{ | |
"createdBy": "Redirector v3.5.3", | |
"createdAt": "2023-08-02T15:27:37.166Z", | |
"redirects": [ | |
{ | |
"description": "twitter.com -> nitter.net", | |
"exampleUrl": "https://twitter.com/foo", | |
"exampleResult": "https://nitter.net/foo", | |
"error": null, | |
"includePattern": "https://twitter.com/*", |
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 sh | |
set -ex | |
cat > Dockerfile << "EOF" | |
FROM scratch | |
COPY deathstar.com /deathstar | |
CMD ["/deathstar"] | |
EOF |
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 | |
set -o errexit | |
set -o nounset | |
set -o pipefail | |
log() { | |
echo >&2 "$*" | |
} |
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 | |
set -euo pipefail | |
output=${1:-"config/server-banlist.json"} | |
dl() { | |
local arr | |
arr=("$(curl --silent --show-error --fail --location "${1}" | jq "${2}")") | |
echo "${arr[@]}" |
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
This project has moved to: https://github.com/nothub/asciiquarium |
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 | |
# Github is a big meanie disabling your scheduled workflows? | |
# Not a problem, just schedule ci jobs by pushing git tags! | |
# echo git@github.com:user/repo-c.git git@github.com:user/repo-d.git | ./citag.sh git@github.com:user/repo-a.git https://github.com/user/repo-b.git | |
# 42 */12 * * * /foo/bar/citag git@github.com:user/repo.git | |
set -o errexit | |
set -o nounset |
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
[Unit] | |
# curl -L -O https://github.com/tracer4b/nomi-ceu/releases/download/1.3.5/nomi-ceu-server-1.3.5.zip \ | |
# && mkdir -p /opt/server \ | |
# && unzip nomi-ceu-server-1.3.5.zip -d /opt/server \ | |
# && rm -f nomi-ceu-server-1.3.5.zip \ | |
# && echo "eula=true" > /opt/server/eula.txt \ | |
# && chown -R mc:mc /opt/server \ | |
# && systemctl daemon-reload \ | |
# && systemctl start nomi.service \ |
NewerOlder