Compare commits
No commits in common. "70091eca8c920231dcc7a065cfc81f77466b1af9" and "ccc54b53a57c66d062b7716da44ca544645f1de2" have entirely different histories.
70091eca8c
...
ccc54b53a5
2 changed files with 21 additions and 26 deletions
|
@ -1,6 +1,4 @@
|
|||
export PATH=~/.bin:$PATH
|
||||
export PATH=~/.cargo/bin:$PATH
|
||||
|
||||
export ZSH=~/.zsh/oh-my-zsh
|
||||
ZSH_THEME="ckn"
|
||||
HIST_STAMPS="yyyy/mm/dd"
|
||||
|
@ -12,6 +10,13 @@ source $ZSH/oh-my-zsh.sh
|
|||
|
||||
ulimit -S -n 24000
|
||||
|
||||
sshn() {
|
||||
ssh "$(tr '.' ' ' <<< "$1" | tac -s ' ' | xargs | tr ' ' '.').smhss.de"
|
||||
}
|
||||
pingn() {
|
||||
ping "$(tr '.' ' ' <<< "$1" | tac -s ' ' | xargs | tr ' ' '.').smhss.de"
|
||||
}
|
||||
|
||||
antivir() {
|
||||
printf 'scanning for viruses' && sleep 1 && printf '.' && sleep 1 && printf '.' && sleep 1 && printf '.' &&
|
||||
sleep 1 && echo '\nyour computer is safe!'
|
||||
|
@ -21,12 +26,3 @@ eval "$(rbenv init -)"
|
|||
eval "$(pyenv init -)"
|
||||
eval "$(direnv hook zsh)"
|
||||
eval "$(op completion zsh)"; compdef _op op
|
||||
|
||||
# //S/M
|
||||
|
||||
sshn() {
|
||||
ssh "$(tr '.' ' ' <<< "$1" | tac -s ' ' | xargs | tr ' ' '.').smhss.de"
|
||||
}
|
||||
pingn() {
|
||||
ping "$(tr '.' ' ' <<< "$1" | tac -s ' ' | xargs | tr ' ' '.').smhss.de"
|
||||
}
|
||||
|
|
|
@ -34,19 +34,18 @@ defaults = {
|
|||
)
|
||||
def systemd_timer(metadata):
|
||||
return {
|
||||
# steam python login is broken: https://github.com/ValvePython/steam/issues/442
|
||||
# 'systemd-timers': {
|
||||
# f'steam-chat-logger': {
|
||||
# 'command': '/opt/steam_chat_logger/steam_chat_logger.py',
|
||||
# 'when': 'hourly',
|
||||
# 'user': 'steam_chat_logger',
|
||||
# 'env': {
|
||||
# 'DB_NAME': 'steam_chat_logger',
|
||||
# 'DB_USER': 'steam_chat_logger',
|
||||
# 'DB_PASSWORD': metadata.get('postgresql/roles/steam_chat_logger/password'),
|
||||
# **metadata.get('steam_chat_logger'),
|
||||
# },
|
||||
# 'working_dir': '/var/lib/steam_chat_logger',
|
||||
# },
|
||||
# },
|
||||
'systemd-timers': {
|
||||
f'steam-chat-logger': {
|
||||
'command': '/opt/steam_chat_logger/steam_chat_logger.py',
|
||||
'when': 'hourly',
|
||||
'user': 'steam_chat_logger',
|
||||
'env': {
|
||||
'DB_NAME': 'steam_chat_logger',
|
||||
'DB_USER': 'steam_chat_logger',
|
||||
'DB_PASSWORD': metadata.get('postgresql/roles/steam_chat_logger/password'),
|
||||
**metadata.get('steam_chat_logger'),
|
||||
},
|
||||
'working_dir': '/var/lib/steam_chat_logger',
|
||||
},
|
||||
},
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue