Draw the short straw? Getting paid to kill the time with strangers? Need to heal some relationships to get some work done?
Maybe you need a team building exercise.
#!/bin/bash | |
NEW_USER="someuser" | |
USER_PUBLIC_KEY="some public key" | |
mkdir -p /home/${NEW_USER}/.ssh | |
echo "${NEW_USER_PUBLIC_KEY}" >> /home/${NEW_USER}/authorized_keys | |
chown -R ${NEW_USER} /home/${NEW_USER}/.ssh | |
chmod 700 /home/${NEW_USER}/.ssh/ |
#!/bin/bash | |
brew install xz pyenv ninja cmake gettext curl npm wget ripgrep lazygit wget | |
git --single-branch --branch stable clone https://github.com/neovim/neovim | |
pushd neovim | |
git checkout stable | |
export LDFLAGS="-L/opt/homebrew/opt/curl/lib" | |
export CPPFLAGS="-I/opt/homebrew/opt/curl/include" |
Sometimes you just need an easy way to have a private git repo. Put it on your favorite VPS, SBC, linux box, etc
creates a folder and git repo via relative path of user directory
GIT_REMOTE_DIR=GIT/hosted/example
GIT_REMOTE_HOST=myhost.example.com
ssh ${GIT_REMOTE_HOST} "mkdir -p ${GIT_REMOTE_DIR} && git init --bare ${GIT_REMOTE_DIR}"
!/usr/bin/env bash | |
# Examples: | |
# linx hello.txt # paste file (name/ext will be set). | |
# echo Hello world. | linx # read from STDIN (won't set name/ext). | |
# linx -n 1 self_destruct.txt # paste will be deleted after one read. | |
# linx -i ID hello.txt # replace ID, if you have permission. | |
# linx -d ID | |
fastly_headers() { | |
curl -I -X GET https://mirrors.fossho.st/armbian/apt/ |
job "grafana" { | |
datacenters = ["example_datacenter"] | |
type = "service" | |
constraint { | |
attribute = "${attr.kernel.name}" | |
value = "linux" | |
} |
#!/bin/bash | |
diskpath=/ | |
echo before | |
btrfs filesystem usage ${diskpath} | |
for i in 0 5 10 15 20 25 30 40 50 60 70 80 90 100 | |
do | |
echo "${0}: Running with ${i}%" | |
btrfs filesystem usage ${diskpath} |
we need mirrors.
can they replcate rsync.armbian.com::apt
- 150G and rsync.armbian.com::dl
760GB-1TB ?
http://mirrors.gigenet.com
This hardware and bandwidth for this mirror is donated by GigeNET as a service to the open-source community. If you are interested in having us mirror your open-source project, please reach out to mirrors@gigenet.com.
http://plug-mirror.rcac.purdue.edu/info.html
The mirror is hosted on an Isilon box (dual Xeon L5410s, 28GB ram, 111TB disk [71TB usable], 10G network, running Debian) generously donated by Purdue's research computing group.