These Hetzner boxes can made great remote development machines and/or build-agents/self-hosted runners. https://www.hetzner.com/dedicated-rootserver/matrix-ax
These might help with latency when sshing into servers. I use Eternal Terminal with Tmux.
#!/usr/bin/env bash | |
set -euo pipefail | |
gsettings set org.gnome.desktop.wm.keybindings switch-to-workspace-left "['']" | |
gsettings set org.gnome.desktop.wm.keybindings switch-to-workspace-right "['']" |
active_class = 'jetbrains-goland.jetbrains-goland' | |
if active_class == 'jetbrains-goland.jetbrains-goland': | |
print ("<ctrl>+<shift>+]") | |
else: | |
print("<ctrl>+<page_down>") |
active_class = 'jetbrains-goland.jetbrains-goland' | |
if active_class == 'jetbrains-goland.jetbrains-goland': | |
print ("<ctrl>+<shift>+]") | |
else: | |
print("<ctrl>+<page_down>") |
#if 0 | |
bin=/tmp/a.out.$$ | |
clang -o ${bin} -Weverything "${0%.c}.c" | |
${bin} "$@" | |
status=$? | |
rm -f ${bin} | |
exit $status | |
#endif | |
#include <stdio.h> |
#!/usr/bin/env bash | |
set -euo pipefail | |
# Rename the default Git branch from master to main. | |
# Update remotes. | |
git branch -m master main | |
for remote in $(git remote); do | |
git fetch "${remote}" |
These Hetzner boxes can made great remote development machines and/or build-agents/self-hosted runners. https://www.hetzner.com/dedicated-rootserver/matrix-ax
These might help with latency when sshing into servers. I use Eternal Terminal with Tmux.
#!/usr/bin/env bash | |
set -euo pipefail | |
for commit in $(git log --format=%H); do | |
echo -------------------------------------- | |
echo "Checking ${commit} ..." | |
git checkout "${commit}" | |
if git grep -l BlockchainActions | grep '\.hs$'; then | |
echo |
#!/usr/bin/env bash | |
set -euo pipefail | |
if [[ $# -eq 1 ]]; then | |
pkg_id=$1 | |
elif [[ $# -eq 0 ]]; then | |
# shellcheck disable=SC2034 | |
_pkg='h11icdmp1dl8ra3fp7bllgp9vv4vpnx7-vector-th-unbox-lib-vector-th-unbox-0.2.1.9' | |
pkg_id='h11icdmp1dl8ra3fp7bllgp9vv4vpnx7' |
declare fastcc i32 @tailcallee(i32 inreg %a1, i32 inreg %a2, i32 %a3, i32 %a4) | |
define fastcc i32 @tailcaller(i32 %in1, i32 %in2) { | |
%l1 = add i32 %in1, %in2 | |
%tmp = tail call fastcc i32 @tailcallee(i32 inreg %in1, i32 inreg %in2, i32 %in1, i32 %l1) | |
ret i32 %tmp | |
} |