updated a few scripts

This commit is contained in:
Yann Esposito (Yogsototh) 2019-09-25 16:31:47 +02:00
parent d2c26615d8
commit e6b38dd1e3
Signed by untrusted user who does not match committer: yogsototh
GPG key ID: 7B19A4C650D59646
4 changed files with 9 additions and 5 deletions

View file

@ -1,3 +1,3 @@
#!/usr/bin/env bash #!/usr/bin/env bash
emacs --load project.el --eval '(progn (delete-directory org-publish-timestamp-directory t) (org-publish "blog" t) (evil-quit))' emacs --load project.el --eval '(progn (delete-directory org-publish-timestamp-directory t) (org-publish "blog" nil) (evil-quit))'

View file

@ -7,5 +7,5 @@ echo "Building RSS"
./mkrss.sh ./mkrss.sh
echo "RSS Built" echo "RSS Built"
echo -n "Publishing" echo -n "Publishing"
rsync --progress --partial -avHe ssh $rootdir/_site/ root@shoggoth1:/var/www/her.esy.fun/ --delete rsync --progress --partial -avHe ssh $rootdir/_site/ root@esy.fun:/var/www/her.esy.fun/ --delete
echo " [done]" echo " [done]"

5
fullbuild.sh Executable file
View file

@ -0,0 +1,5 @@
#!/usr/bin/env bash
rm -rf _site
rm -rf _cache
emacs --load project.el --eval '(progn (delete-directory org-publish-timestamp-directory t) (org-publish "blog" t) (evil-quit))'

View file

@ -30,8 +30,7 @@ A popular meme about it states:
- toilet + smarphone ⇒ 55min - toilet + smarphone ⇒ 55min
#+end_quote #+end_quote
The book Digital Minimalism[fn:dm] provide a lot of great information on The book Digital Minimalism[fn:dm] is really insightful on the subject.
the subject.
In particular the apparition of grabbing features that target our "social In particular the apparition of grabbing features that target our "social
brain". brain".
@ -316,7 +315,7 @@ another reward by staying a bit longer in the system.
More than that, we generally fall for most psychological tricks with those More than that, we generally fall for most psychological tricks with those
and make our production oriented to short content, memes, etc... and make our production oriented to short content, memes, etc...
- *infinite scrolling* ; make you brain want to look a bit more, because it - *infinite scrolling* ; make you brain want to look a bit more, because it
creates a fear to lose a great new info. creates a fear to miss something.
- *comments* ; Unlike likes or retweets, comment are a lot more useful, - *comments* ; Unlike likes or retweets, comment are a lot more useful,
they can start a discussion. They still have two problems: they can start a discussion. They still have two problems:
1. Public comment are subject to spam, troll, attacks, etc... 1. Public comment are subject to spam, troll, attacks, etc...