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
/home/scm/.logrotate.dummy { | |
daily | |
su scm scm | |
rotate 0 | |
create | |
ifempty | |
lastaction | |
cd /home/scm/instance/ | |
/usr/bin/find . -path "*/logs/*old*" -type f -mtime +90 -delete | |
/usr/bin/find . -path "*/logs/*log*" -type f -mtime +90 -delete |
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 | |
export PATH="/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin" | |
export PACK_ROOT="${PACK_ROOT:-/}" | |
export PACK_NAME="${PACK_NAME:-$(shuf -zer -n5 {a..z})}" | |
export PACK_SIZE="${PACK_SIZE:-10000}" | |
export PACK_JOBS="${PACK_JOBS:-16}" | |
while [[ "$#" -gt 1 ]]; do | |
case $1 in |
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
### Keybase proof | |
I hereby claim: | |
* I am s5unty on github. | |
* I am s5unty (https://keybase.io/s5unty) on keybase. | |
* I have a public key ASBD3QCGaxQ9fP9I0DDGtw7UPo1S07dr1rfh29oTXsV4hAo | |
To claim this, I am signing this object: |
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
#!/usr/bin/env elvish | |
## | |
# 生成一份带权重的、单字版的超强快码字典 | |
# | |
# [1]: https://elv.sh/get/ | |
# [2]: (单字字频) https://lingua.mtsu.edu/chinese-computing/statistics/char/list.php?Which=MO | |
# [3]: (五笔字典) https://github.com/rime/rime-wubi/ (wubi86.dict.yaml) | |
#### | |
use str |
OlderNewer