Skip to content

Instantly share code, notes, and snippets.

View tmpbook's full-sized avatar
😇
aha

临书 tmpbook

😇
aha
View GitHub Profile
@tmpbook
tmpbook / touch.sh
Created December 27, 2018 15:30
touch a file with bash
#!/bin/bash
set -ex
mkdir -p /data0/xxxx-access-api/data
chown -R go:go /data0/xxxx-access-api/data
rm -f /etc/supervisord.d/xxxx-access.ini
cat << EOF > /etc/supervisord.d/xxxx-access-api.ini

Keybase proof

I hereby claim:

  • I am tmpbook on github.
  • I am tmpbook (https://keybase.io/tmpbook) on keybase.
  • I have a public key ASC9HobDwyVVRTVVuiR7Yo0vdrXxiz_fmNI82Zasrs8_3Qo

To claim this, I am signing this object: