[init] initial commit

This commit is contained in:
2023-06-05 23:04:30 +08:00
commit 66b1dd4d70
72 changed files with 10079 additions and 0 deletions

12
update/jekyll_update.sh Normal file
View File

@ -0,0 +1,12 @@
#!/bin/bash
inotify-hookable \
--watch-directories /opt/apps/blog \
--watch-directories /opt/apps/document/python \
--watch-directories /opt/apps/document/bash \
--ignore-paths /opt/apps/blog/.git/ \
--ignore-paths /opt/apps/blog/img/avatar.jpg \
--on-modify-path-command "(^/opt/apps/blog/.*)=(bash /opt/scripts/update/jekyll_content_update.sh blog)" \
--on-modify-path-command "(^/opt/apps/document/python/.*)=(bash /opt/scripts/update/jekyll_content_update.sh python)" \
--on-modify-path-command "(^/opt/apps/document/bash/.*)=(bash /opt/scripts/update/jekyll_content_update.sh 'bash')"