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 | |
# you PROBABLY want to use an ssh-key for this, or you'll | |
# be typing your password over and over and over... | |
# you MUST set ORG_NAME and ACCESS_TOKEN below! | |
# if you want to grab private repositories, the | |
# token must have the full "repos" scope selected | |
# | |
# ... note no other scopes are required, and you |
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 | |
echo Results for: $(hostname):$(pwd) > ~/du_sorted.txt | |
sudo nice du -xk --exclude=.snapshot | nice sort -nr | nice \ | |
awk 'BEGIN { | |
split("KB,MB,GB,TB", Units, ","); | |
} | |
{ | |
u = 1; | |
while ($1 >= 1024) { |
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
pinentry-program /usr/bin/pinentry-gtk-2 | |
default-cache-ttl 600 | |
max-cache-ttl 7200 | |
#enable-putty-support | |
enable-ssh-support |
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
# keep contents in sync with .profile (except the .bashrc call) | |
export CONDA_DIR="/opt/${USER}/mamba" | |
export PATH="${CONDA_DIR}/bin:$PATH" | |
export CONFIGURE_OPTS="--enable-optimizations" | |
export PYTHON_CFLAGS="-pipe -m64 -march=generic64 -mtune=native" | |
export PYTHON_MAKE_OPTS="-j$(nproc)" | |
export PYTHON_MAKE_INSTALL_OPTS="$PYTHON_MAKE_OPTS" | |
export PYENV_ROOT="$HOME/.pyenv" | |
export PATH="$PYENV_ROOT/bin:$PATH" |