sysctl -a | grep swap
$ sudo pkill -HUP -u _windowserver
; alt+esc -> switch | |
!Esc:: ; Next window | |
WinGetClass, ActiveClass, A | |
WinSet, Bottom,, A | |
WinActivate, ahk_class %ActiveClass% | |
return |
TCN5GLIWHR-eyJsaWNlbnNlSWQiOiJUQ041R0xJV0hSIiwibGljZW5zZWVOYW1lIjoiamV0IGpldCIsImFzc2lnbmVlTmFtZSI6IiIsImFzc2lnbmVlRW1haWwiOiIiLCJsaWNlbnNlUmVzdHJpY3Rpb24iOiIiLCJjaGVja0NvbmN1cnJlbnRVc2UiOmZhbHNlLCJwcm9kdWN0cyI6W3siY29kZSI6IkRDIiwicGFpZFVwVG8iOiIyMDIxLTAxLTAzIn0seyJjb2RlIjoiSUkiLCJwYWlkVXBUbyI6IjIwMjEtMDEtMDMifSx7ImNvZGUiOiJEQiIsInBhaWRVcFRvIjoiMjAyMS0wMS0wMyJ9LHsiY29kZSI6IlJNIiwicGFpZFVwVG8iOiIyMDIxLTAxLTAzIn0seyJjb2RlIjoiV1MiLCJwYWlkVXBUbyI6IjIwMjEtMDEtMDMifSx7ImNvZGUiOiJSU1YiLCJwYWlkVXBUbyI6IjIwMjEtMDEtMDMifSx7ImNvZGUiOiJSU1UiLCJwYWlkVXBUbyI6IjIwMjEtMDEtMDMifSx7ImNvZGUiOiJQQyIsInBhaWRVcFRvIjoiMjAyMS0wMS0wMyJ9LHsiY29kZSI6IlJDIiwicGFpZFVwVG8iOiIyMDIxLTAxLTAzIn0seyJjb2RlIjoiUkQiLCJwYWlkVXBUbyI6IjIwMjEtMDEtMDMifSx7ImNvZGUiOiJETSIsInBhaWRVcFRvIjoiMjAyMS0wMS0wMyJ9LHsiY29kZSI6IkNMIiwicGFpZFVwVG8iOiIyMDIxLTAxLTAzIn0seyJjb2RlIjoiUlMwIiwicGFpZFVwVG8iOiIyMDIxLTAxLTAzIn0seyJjb2RlIjoiUlNDIiwicGFpZFVwVG8iOiIyMDIxLTAxLTAzIn0seyJjb2RlIjoiR08iLCJwYWlkVXBUbyI6IjIwMjEtMDEtMDMifSx7ImNvZGUiOiJSU0YiLCJwYWlkVXBUbyI6IjIwMjEtMDEtM |
#!/usr/local/bin/zsh | |
apt install curl zip unzip -y | |
curl -s "https://get.sdkman.io" | bash | |
source "/root/.sdkman/bin/sdkman-init.sh" | |
while : | |
do | |
echo "try download java..." |
#buf
#!/usr/bin/env bash | |
for f in /etc/apt/sources.list.d/*.list; do | |
grep -Po "(?<=^deb\s).*?(?=#|$)" "$f" | while read -r ENTRY ; do | |
echo "ENTRY: $ENTRY" | |
# Sanitize entry line by removing stuff between square brackets | |
ENTRY=$(echo "$ENTRY" | sed 's/\[.*\] //') | |
HOST=$(cut -d/ -f3 <<< "$ENTRY") |
root@shtx ~# su - dodsserver | |
-su: dircolors: command not found | |
-su: ls: command not found | |
dodsserver@shtx:~$ echo | |
dodsserver@shtx:~$ echo $PATH | |
{M2_HOME}/bin:{PATH} | |
dodsserver@shtx:~$ exit | |
logout | |
root@shtx ~# sudo su - postgres |
#!/bin/bash | |
# remove yourself | |
rm $0 | |
if [ "$1" == "" ]; then | |
JAVA_VERSION="11" | |
else | |
JAVA_VERSION="$1" | |
fi |
su - dodsserver | |
./dodsserver restart | |
./dodsserver debug | |
root@shtx /home/dodsserver/serverfiles# chown -R dodsserver:dodsserver ./**/** |
sudo apt-add-repository ppa:fish-shell/release-3 | |
sudo apt-get update | |
sudo apt-get install fish |