hugosoucycc

[ARCHIVED] Another old source code of <hugo.soucy.cc>.
Log | Files | Refs | Submodules

commit 02c02465577ad97a8396cdaa995b86070a848547
parent d28a9dbb5a19799e5366dc408f745c1c032a3e30
Author: Hugo Soucy <hugo@soucy.cc>
Date:   Tue,  9 Aug 2016 08:10:45 -0400

Merge branch 'master' of github.com:hs0ucy/hugosoucycc

Diffstat:
M.gitmodules | 3+++
Mconfig/config.sh | 3++-
Acontent/note/snowden-pardon-petition-on-facebook.md | 12++++++++++++
Acontent/note/ssh-chat-server-written-ingo.md | 9+++++++++
Mfunctions/create-html-pages | 4++--
Mpublic_html/note/2016/05/firefox-print-background-color.html | 5++++-
Mpublic_html/note/2016/05/jeunes-liberaux-ringards.html | 5++++-
Mpublic_html/note/2016/05/justin-jackson-is-a-fucking-webmaster.html | 5++++-
Mpublic_html/note/2016/06/nous-sommes-eduques-a-croire.html | 5++++-
Mpublic_html/note/index.html | 47++++++++++++++++++++++++++++++++++-------------
Mpublic_html/txt/2014/02/les-partis-politiques-nuisent-ils-a-la-democratie.html | 2+-
Mpublic_html/txt/2014/04/bronto-politiciens-de-silos.html | 2+-
Mpublic_html/txt/2014/09/mes-logiciels-libres-preferes.html | 2+-
Mpublic_html/txt/emacs/2015/06/emacs-101-l-introduction.html | 2+-
Mpublic_html/txt/emacs/2015/06/emacs-101-la-configuration.html | 2+-
Astatic/dev/js/vendor/atomic | 1+
Astatic/prod/js/script.js | 5+++++
Astatic/prod/js/vendor/atomic.min.js | 3+++
Mtemplates/mustache/note-index.inc.mustache | 2+-
Mtemplates/mustache/note.mustache | 3+++
20 files changed, 96 insertions(+), 26 deletions(-)

diff --git a/.gitmodules b/.gitmodules @@ -1,3 +1,6 @@ [submodule "lib/mo"] path = lib/mo url = git@github.com:tests-always-included/mo.git +[submodule "static/dev/js/vendor/atomic"] + path = static/dev/js/vendor/atomic + url = git@github.com:toddmotto/atomic.git diff --git a/config/config.sh b/config/config.sh @@ -51,7 +51,8 @@ export BASE_URL=$SITE_URL arg1=$1 if [[ -n "$arg1" ]] && [[ "$arg1" == "dev" ]]; then - export BASE_URL=$PUBLICHTML_PATH + # export BASE_URL=$PUBLICHTML_PATH + export BASE_URL="http://localhost:8181" fi # Metas diff --git a/content/note/snowden-pardon-petition-on-facebook.md b/content/note/snowden-pardon-petition-on-facebook.md @@ -0,0 +1,12 @@ +--- +title: Snowden pardon petition on facebook +date: 2016-08-08 +datetime: 10:48:25 +bridgy: true +--- + +[&commat;renoirb](https://twitter.com/renoirb) We need a facebook account to sign the petition, isn't it +ironic? + +<blockquote class="twitter-tweet" data-lang="fr"><p lang="en" dir="ltr">SIGN: Tell Obama to Pardon Edward Snowden Before He Leaves Office <a href="https://t.co/XgKkRnq4FL">https://t.co/XgKkRnq4FL</a></p>&mdash; Renoir Boulanger (@renoirb) <a href="https://twitter.com/renoirb/status/762632425344159745">8 août 2016</a></blockquote> +<script async src="//platform.twitter.com/widgets.js" charset="utf-8"></script> diff --git a/content/note/ssh-chat-server-written-ingo.md b/content/note/ssh-chat-server-written-ingo.md @@ -0,0 +1,9 @@ +--- +title: SSH chat server written in Go +date: 2016-08-08 +datetime: 09:03:28 +bridgy: true +--- + +Chat over #SSH: «Why aren't we using SSH for everything?» ~ +<http://x.soucy.cc/cc> #Golang diff --git a/functions/create-html-pages b/functions/create-html-pages @@ -8,13 +8,13 @@ create_html_pages () { echo "- Create all the HTML pages with pandoc" get_pandoc_templates - + # Create the homepage pandoc --template="$TPL_PANDOC_PATH/index.html" \ -o "$CONTENT_PATH/index.html" "$CONTENT_PATH/index.md" # Then create others - for markdown in $(find "$CONTENT_PATH/" -mindepth 2 -type f -name \*.md); do + for markdown in $(find "$CONTENT_PATH/" -mindepth 2 -type f -name \*.md -mtime -1); do # Parent folder name without path page_section=$(basename "$(dirname "$markdown")") diff --git a/public_html/note/2016/05/firefox-print-background-color.html b/public_html/note/2016/05/firefox-print-background-color.html @@ -43,7 +43,7 @@ Publié le <time class="dt-published" datetime="2016-05-18T23:33:01">2016-05-18</time> par <a class="p-author author" href="http://hugo.soucy.cc#hs" rel="author"><i>Hugo Soucy</i></a>. - Modifié le <time class="dt-updated">2016-07-26T19:53:14</time>. + Modifié le <time class="dt-updated">2016-07-27T09:21:53</time>. <br/>&crarr; <a href="http://hugo.soucy.cc/note">Retourner aux notes</a>. </footer> </div> @@ -90,5 +90,8 @@ </a> </div> </nav> + + <!-- <script src="http://hugo.soucy.cc/js/vendor/atomic.min.js"></script> + <script src="http://hugo.soucy.cc/js/script.js"></script> --> </body> </html> diff --git a/public_html/note/2016/05/jeunes-liberaux-ringards.html b/public_html/note/2016/05/jeunes-liberaux-ringards.html @@ -43,7 +43,7 @@ Publié le <time class="dt-published" datetime="2016-05-16T12:49:12">2016-05-16</time> par <a class="p-author author" href="http://hugo.soucy.cc#hs" rel="author"><i>Hugo Soucy</i></a>. - Modifié le <time class="dt-updated">2016-07-26T19:54:07</time>. + Modifié le <time class="dt-updated">2016-07-27T09:21:53</time>. <br/>&crarr; <a href="http://hugo.soucy.cc/note">Retourner aux notes</a>. </footer> </div> @@ -90,5 +90,8 @@ </a> </div> </nav> + + <!-- <script src="http://hugo.soucy.cc/js/vendor/atomic.min.js"></script> + <script src="http://hugo.soucy.cc/js/script.js"></script> --> </body> </html> diff --git a/public_html/note/2016/05/justin-jackson-is-a-fucking-webmaster.html b/public_html/note/2016/05/justin-jackson-is-a-fucking-webmaster.html @@ -51,7 +51,7 @@ Publié le <time class="dt-published" datetime="2016-05-17T16:13:12">2016-05-17</time> par <a class="p-author author" href="http://hugo.soucy.cc#hs" rel="author"><i>Hugo Soucy</i></a>. - Modifié le <time class="dt-updated">2016-08-04T21:55:51</time>. + Modifié le <time class="dt-updated">2016-08-05T08:48:39</time>. <br/>&crarr; <a href="http://hugo.soucy.cc/note">Retourner aux notes</a>. </footer> </div> @@ -98,5 +98,8 @@ </a> </div> </nav> + + <!-- <script src="http://hugo.soucy.cc/js/vendor/atomic.min.js"></script> + <script src="http://hugo.soucy.cc/js/script.js"></script> --> </body> </html> diff --git a/public_html/note/2016/06/nous-sommes-eduques-a-croire.html b/public_html/note/2016/06/nous-sommes-eduques-a-croire.html @@ -51,7 +51,7 @@ Publié le <time class="dt-published" datetime="2016-06-09T22:51:04">2016-06-09</time> par <a class="p-author author" href="http://hugo.soucy.cc#hs" rel="author"><i>Hugo Soucy</i></a>. - Modifié le <time class="dt-updated">2016-08-04T21:54:36</time>. + Modifié le <time class="dt-updated">2016-08-05T08:48:39</time>. <br/>&crarr; <a href="http://hugo.soucy.cc/note">Retourner aux notes</a>. </footer> </div> @@ -98,5 +98,8 @@ </a> </div> </nav> + + <!-- <script src="http://hugo.soucy.cc/js/vendor/atomic.min.js"></script> + <script src="http://hugo.soucy.cc/js/script.js"></script> --> </body> </html> diff --git a/public_html/note/index.html b/public_html/note/index.html @@ -48,10 +48,31 @@ <ol class="note__list"> <li class="note__item h-entry hentry as-note"> <div class="note__blocknote p-name e-content"> + <p><a href="https://twitter.com/renoirb">@renoirb</a> We need a facebook account to sign the petition, isn't it ironic?</p> + <blockquote> + <p>SIGN: Tell Obama to Pardon Edward Snowden Before He Leaves Office <a href="https://t.co/XgKkRnq4FL" class="uri">https://t.co/XgKkRnq4FL</a></p> + <p>— Renoir Boulanger (<span class="citation" data-cites="renoirb">@renoirb</span>) <a href="https://twitter.com/renoirb/status/762632425344159745">8 août 2016</a></p> + </blockquote> + <script async src="//platform.twitter.com/widgets.js" charset="utf-8"></script> + </div> + <footer class="note__footer"> + <p>Publié le <a href="http://hugo.soucy.cc/note/2016/08/snowden-pardon-petition-on-facebook.html" class="note__link u-url u-uid u-syndication"><time class="dt-published dt-updated" datetime="2016-08-08T10:48:25">2016-08-08</time></a> <span class="visuallyhidden">par <em>Hugo Soucy</em></span></p> + </footer> + </li> + <li class="note__item h-entry hentry as-note"> + <div class="note__blocknote p-name e-content"> + <p>Chat over #SSH: «Why aren't we using SSH for everything?» ~ <a href="http://x.soucy.cc/cc" class="uri" class="uri">http://x.soucy.cc/cc</a> #Golang</p> + </div> + <footer class="note__footer"> + <p>Publié le <a href="http://hugo.soucy.cc/note/2016/08/ssh-chat-server-written-ingo.html" class="note__link u-url u-uid u-syndication"><time class="dt-published dt-updated" datetime="2016-08-08T09:03:28">2016-08-08</time></a> <span class="visuallyhidden">par <em>Hugo Soucy</em></span></p> + </footer> + </li> + <li class="note__item h-entry hentry as-note"> + <div class="note__blocknote p-name e-content"> <p>Nathalie Normandeau a trouvée un employeur qui partagent ses standards moraux. ~ <a href="http://x.soucy.cc/cb" class="uri" class="uri">http://x.soucy.cc/cb</a> #upac</p> </div> <footer class="note__footer"> - <p>Publié le <a href="http://hugo.soucy.cc/note/2016/08/nathalie-normandeau-et-la-radio-de-quebec.html" class="note__link u-url u-uid u-syndication"><time class="dt-published dt-updated" datetime="2016-08-06T17:08:28">2016-08-06</time></a> par <em>Hugo Soucy</em></p> + <p>Publié le <a href="http://hugo.soucy.cc/note/2016/08/nathalie-normandeau-et-la-radio-de-quebec.html" class="note__link u-url u-uid u-syndication"><time class="dt-published dt-updated" datetime="2016-08-06T17:08:28">2016-08-06</time></a> <span class="visuallyhidden">par <em>Hugo Soucy</em></span></p> </footer> </li> <li class="note__item h-entry hentry as-note"> @@ -59,7 +80,7 @@ <p>Vimgifs <a href="https://vimgifs.com/" class="uri" class="uri">https://vimgifs.com/</a> pour les pour les aficionados de #Vim. Sinon dans le monde de #Emacs nous avons le compte twitter <a href="https://twitter.com/emacs_gifs">@emacs_gifs</a>.</p> </div> <footer class="note__footer"> - <p>Publié le <a href="http://hugo.soucy.cc/note/2016/08/vimgifs-et-emacs_gifs.html" class="note__link u-url u-uid u-syndication"><time class="dt-published dt-updated" datetime="2016-08-05T14:50:26">2016-08-05</time></a> par <em>Hugo Soucy</em></p> + <p>Publié le <a href="http://hugo.soucy.cc/note/2016/08/vimgifs-et-emacs_gifs.html" class="note__link u-url u-uid u-syndication"><time class="dt-published dt-updated" datetime="2016-08-05T14:50:26">2016-08-05</time></a> <span class="visuallyhidden">par <em>Hugo Soucy</em></span></p> </footer> </li> <li class="note__item h-entry hentry as-note"> @@ -67,7 +88,7 @@ <p>«Programming Languages Hyperpolyglot: commonly used features in a side-by-side format» ~ <a href="http://hyperpolyglot.org/" class="uri" class="uri">http://hyperpolyglot.org/</a></p> </div> <footer class="note__footer"> - <p>Publié le <a href="http://hugo.soucy.cc/note/2016/08/programming-languages-hyperpolyglot.html" class="note__link u-url u-uid u-syndication"><time class="dt-published dt-updated" datetime="2016-08-05T11:48:05">2016-08-05</time></a> par <em>Hugo Soucy</em></p> + <p>Publié le <a href="http://hugo.soucy.cc/note/2016/08/programming-languages-hyperpolyglot.html" class="note__link u-url u-uid u-syndication"><time class="dt-published dt-updated" datetime="2016-08-05T11:48:05">2016-08-05</time></a> <span class="visuallyhidden">par <em>Hugo Soucy</em></span></p> </footer> </li> <li class="note__item h-entry hentry as-note"> @@ -82,7 +103,7 @@ <script async src="//platform.twitter.com/widgets.js" charset="utf-8"></script> </div> <footer class="note__footer"> - <p>Publié le <a href="http://hugo.soucy.cc/note/2016/08/everybody-should-be-twitter-verified.html" class="note__link u-url u-uid u-syndication"><time class="dt-published dt-updated" datetime="2016-08-05T08:49:51">2016-08-05</time></a> par <em>Hugo Soucy</em></p> + <p>Publié le <a href="http://hugo.soucy.cc/note/2016/08/everybody-should-be-twitter-verified.html" class="note__link u-url u-uid u-syndication"><time class="dt-published dt-updated" datetime="2016-08-05T08:49:51">2016-08-05</time></a> <span class="visuallyhidden">par <em>Hugo Soucy</em></span></p> </footer> </li> <li class="note__item h-entry hentry as-note"> @@ -95,7 +116,7 @@ </footer> </blockquote> <footer class="note__footer"> - <p>Publié le <a href="http://hugo.soucy.cc/note/2016/08/shipping-is-a-feature.html" class="note__link u-url u-uid u-syndication"><time class="dt-published dt-updated" datetime="2016-08-04T16:18:47">2016-08-04</time></a> par <em>Hugo Soucy</em></p> + <p>Publié le <a href="http://hugo.soucy.cc/note/2016/08/shipping-is-a-feature.html" class="note__link u-url u-uid u-syndication"><time class="dt-published dt-updated" datetime="2016-08-04T16:18:47">2016-08-04</time></a> <span class="visuallyhidden">par <em>Hugo Soucy</em></span></p> </footer> </li> <li class="note__item h-entry hentry as-note"> @@ -108,7 +129,7 @@ <script async src="//platform.twitter.com/widgets.js" charset="utf-8"></script> </div> <footer class="note__footer"> - <p>Publié le <a href="http://hugo.soucy.cc/note/2016/08/matane-budget-participatif.html" class="note__link u-url u-uid u-syndication"><time class="dt-published dt-updated" datetime="2016-08-03T12:25:29">2016-08-03</time></a> par <em>Hugo Soucy</em></p> + <p>Publié le <a href="http://hugo.soucy.cc/note/2016/08/matane-budget-participatif.html" class="note__link u-url u-uid u-syndication"><time class="dt-published dt-updated" datetime="2016-08-03T12:25:29">2016-08-03</time></a> <span class="visuallyhidden">par <em>Hugo Soucy</em></span></p> </footer> </li> <li class="note__item h-entry hentry as-note"> @@ -116,7 +137,7 @@ <p>«Use the Unix: m4 as a CSS pre-processor» ~ <a href="http://x.soucy.cc/ca" class="uri" class="uri">http://x.soucy.cc/ca</a>.</p> </div> <footer class="note__footer"> - <p>Publié le <a href="http://hugo.soucy.cc/note/2016/08/m4-as-css-pre-processor.html" class="note__link u-url u-uid u-syndication"><time class="dt-published dt-updated" datetime="2016-08-03T12:15:45">2016-08-03</time></a> par <em>Hugo Soucy</em></p> + <p>Publié le <a href="http://hugo.soucy.cc/note/2016/08/m4-as-css-pre-processor.html" class="note__link u-url u-uid u-syndication"><time class="dt-published dt-updated" datetime="2016-08-03T12:15:45">2016-08-03</time></a> <span class="visuallyhidden">par <em>Hugo Soucy</em></span></p> </footer> </li> <li class="note__item h-entry hentry as-note"> @@ -124,7 +145,7 @@ <p><strong>Txti</strong>: Fast web pages for everybody ~ <a href="http://txti.es/" class="uri" class="uri">http://txti.es/</a>.</p> </div> <footer class="note__footer"> - <p>Publié le <a href="http://hugo.soucy.cc/note/2016/08/txti.html" class="note__link u-url u-uid u-syndication"><time class="dt-published dt-updated" datetime="2016-08-03T11:47:44">2016-08-03</time></a> par <em>Hugo Soucy</em></p> + <p>Publié le <a href="http://hugo.soucy.cc/note/2016/08/txti.html" class="note__link u-url u-uid u-syndication"><time class="dt-published dt-updated" datetime="2016-08-03T11:47:44">2016-08-03</time></a> <span class="visuallyhidden">par <em>Hugo Soucy</em></span></p> </footer> </li> <li class="note__item h-entry hentry as-note"> @@ -138,7 +159,7 @@ </ul> </div> <footer class="note__footer"> - <p>Publié le <a href="http://hugo.soucy.cc/note/2016/07/emacs-sort-delete-matching-duplicate-lines.html" class="note__link u-url u-uid u-syndication"><time class="dt-published dt-updated" datetime="2016-07-13T21:49:21">2016-07-13</time></a> par <em>Hugo Soucy</em></p> + <p>Publié le <a href="http://hugo.soucy.cc/note/2016/07/emacs-sort-delete-matching-duplicate-lines.html" class="note__link u-url u-uid u-syndication"><time class="dt-published dt-updated" datetime="2016-07-13T21:49:21">2016-07-13</time></a> <span class="visuallyhidden">par <em>Hugo Soucy</em></span></p> </footer> </li> <li class="note__item h-entry hentry as-note"> @@ -151,7 +172,7 @@ </footer> </blockquote> <footer class="note__footer"> - <p>Publié le <a href="http://hugo.soucy.cc/note/2016/06/nous-sommes-eduques-a-croire.html" class="note__link u-url u-uid u-syndication"><time class="dt-published dt-updated" datetime="2016-06-09T22:51:04">2016-06-09</time></a> par <em>Hugo Soucy</em></p> + <p>Publié le <a href="http://hugo.soucy.cc/note/2016/06/nous-sommes-eduques-a-croire.html" class="note__link u-url u-uid u-syndication"><time class="dt-published dt-updated" datetime="2016-06-09T22:51:04">2016-06-09</time></a> <span class="visuallyhidden">par <em>Hugo Soucy</em></span></p> </footer> </li> <li class="note__item h-entry hentry as-note"> @@ -159,7 +180,7 @@ <p>Firefox ne veut pas imprimer les <code>background-color</code>, tant pis! Pour hacker le problème, il suffit d'ajouter un <code>::before</code> en <code>position:absolute</code>, puis mettre un <code>box-shadow</code> <code>inset</code> avec un <code>spread-radius</code> de <code>100em</code> et la couleur désirée. Voilà!</p> </div> <footer class="note__footer"> - <p>Publié le <a href="http://hugo.soucy.cc/note/2016/05/firefox-print-background-color.html" class="note__link u-url u-uid u-syndication"><time class="dt-published dt-updated" datetime="2016-05-18T23:33:01">2016-05-18</time></a> par <em>Hugo Soucy</em></p> + <p>Publié le <a href="http://hugo.soucy.cc/note/2016/05/firefox-print-background-color.html" class="note__link u-url u-uid u-syndication"><time class="dt-published dt-updated" datetime="2016-05-18T23:33:01">2016-05-18</time></a> <span class="visuallyhidden">par <em>Hugo Soucy</em></span></p> </footer> </li> <li class="note__item h-entry hentry as-note"> @@ -172,7 +193,7 @@ </footer> </blockquote> <footer class="note__footer"> - <p>Publié le <a href="http://hugo.soucy.cc/note/2016/05/justin-jackson-is-a-fucking-webmaster.html" class="note__link u-url u-uid u-syndication"><time class="dt-published dt-updated" datetime="2016-05-17T16:13:12">2016-05-17</time></a> par <em>Hugo Soucy</em></p> + <p>Publié le <a href="http://hugo.soucy.cc/note/2016/05/justin-jackson-is-a-fucking-webmaster.html" class="note__link u-url u-uid u-syndication"><time class="dt-published dt-updated" datetime="2016-05-17T16:13:12">2016-05-17</time></a> <span class="visuallyhidden">par <em>Hugo Soucy</em></span></p> </footer> </li> <li class="note__item h-entry hentry as-note"> @@ -180,7 +201,7 @@ <p>Il n'y a rien de plus ringard qu'un «jeune» politicien; dire que #Uber fait de l'économie de partage c'est bêler ringarement la propagande de cette entreprise. Ils ajoutent leurs voix aux médias de masse, qui déjà braient en coeur cette expression sans essayer de comprendre et d'analyser ce qu'elle signifie... Encore une fois, la machine à saucisse broie et reforge la réalité en vidant de son sens un concept qui pourrait faire une brèche dans l'idéologie dominante. Si miner un marché avec une application qui concentre les données et les communications dans le but de créer un monopole c'est de l'économie de partage? Alors la liberté est vraiment une marque de yogourt!</p> </div> <footer class="note__footer"> - <p>Publié le <a href="http://hugo.soucy.cc/note/2016/05/jeunes-liberaux-ringards.html" class="note__link u-url u-uid u-syndication"><time class="dt-published dt-updated" datetime="2016-05-16T12:49:12">2016-05-16</time></a> par <em>Hugo Soucy</em></p> + <p>Publié le <a href="http://hugo.soucy.cc/note/2016/05/jeunes-liberaux-ringards.html" class="note__link u-url u-uid u-syndication"><time class="dt-published dt-updated" datetime="2016-05-16T12:49:12">2016-05-16</time></a> <span class="visuallyhidden">par <em>Hugo Soucy</em></span></p> </footer> </li> </ol> diff --git a/public_html/txt/2014/02/les-partis-politiques-nuisent-ils-a-la-democratie.html b/public_html/txt/2014/02/les-partis-politiques-nuisent-ils-a-la-democratie.html @@ -102,7 +102,7 @@ <address class="layout"> <hr/> - <p><a class="note__link u-url u-uid u-syndication" href="#" rel="bookmark">#</a> Créé à Québec le <time class="dt-published" datetime="2014-02-19T18:00:11">2014-02-19</time> par <a class="p-author author" href="http://hugo.soucy.cc#hs" rel="author"><i>Hugo Soucy</i></a>. Modifié le <time class="dt-updated">2016-07-26T20:03:37</time>. + <p><a class="note__link u-url u-uid u-syndication" href="#" rel="bookmark">#</a> Créé à Québec le <time class="dt-published" datetime="2014-02-19T18:00:11">2014-02-19</time> par <a class="p-author author" href="http://hugo.soucy.cc#hs" rel="author"><i>Hugo Soucy</i></a>. Modifié le <time class="dt-updated">2016-07-27T09:21:53</time>. </p> </address> </footer> diff --git a/public_html/txt/2014/04/bronto-politiciens-de-silos.html b/public_html/txt/2014/04/bronto-politiciens-de-silos.html @@ -95,7 +95,7 @@ <address class="layout"> <hr/> - <p><a class="note__link u-url u-uid u-syndication" href="#" rel="bookmark">#</a> Créé à Québec le <time class="dt-published" datetime="2014-04-03T20:00:00">2014-04-03</time> par <a class="p-author author" href="http://hugo.soucy.cc#hs" rel="author"><i>Hugo Soucy</i></a>. Modifié le <time class="dt-updated">2016-07-26T20:03:25</time>. + <p><a class="note__link u-url u-uid u-syndication" href="#" rel="bookmark">#</a> Créé à Québec le <time class="dt-published" datetime="2014-04-03T20:00:00">2014-04-03</time> par <a class="p-author author" href="http://hugo.soucy.cc#hs" rel="author"><i>Hugo Soucy</i></a>. Modifié le <time class="dt-updated">2016-07-27T09:21:53</time>. </p> </address> </footer> diff --git a/public_html/txt/2014/09/mes-logiciels-libres-preferes.html b/public_html/txt/2014/09/mes-logiciels-libres-preferes.html @@ -103,7 +103,7 @@ <address class="layout"> <hr/> - <p><a class="note__link u-url u-uid u-syndication" href="#" rel="bookmark">#</a> Créé à Québec le <time class="dt-published" datetime="2014-09-24T09:10:55">2014-09-24</time> par <a class="p-author author" href="http://hugo.soucy.cc#hs" rel="author"><i>Hugo Soucy</i></a>. Modifié le <time class="dt-updated">2016-07-26T20:02:52</time>. + <p><a class="note__link u-url u-uid u-syndication" href="#" rel="bookmark">#</a> Créé à Québec le <time class="dt-published" datetime="2014-09-24T09:10:55">2014-09-24</time> par <a class="p-author author" href="http://hugo.soucy.cc#hs" rel="author"><i>Hugo Soucy</i></a>. Modifié le <time class="dt-updated">2016-07-27T09:21:53</time>. </p> </address> </footer> diff --git a/public_html/txt/emacs/2015/06/emacs-101-l-introduction.html b/public_html/txt/emacs/2015/06/emacs-101-l-introduction.html @@ -235,7 +235,7 @@ <address class="layout"> <hr/> - <p><a class="note__link u-url u-uid u-syndication" href="#" rel="bookmark">#</a> Créé à Québec le <time class="dt-published" datetime="2015-06-28T19:12:02">2015-06-28</time> par <a class="p-author author" href="http://hugo.soucy.cc#hs" rel="author"><i>Hugo Soucy</i></a>. Modifié le <time class="dt-updated">2016-07-26T20:02:23</time>. + <p><a class="note__link u-url u-uid u-syndication" href="#" rel="bookmark">#</a> Créé à Québec le <time class="dt-published" datetime="2015-06-28T19:12:02">2015-06-28</time> par <a class="p-author author" href="http://hugo.soucy.cc#hs" rel="author"><i>Hugo Soucy</i></a>. Modifié le <time class="dt-updated">2016-07-27T09:21:53</time>. </p> </address> </footer> diff --git a/public_html/txt/emacs/2015/06/emacs-101-la-configuration.html b/public_html/txt/emacs/2015/06/emacs-101-la-configuration.html @@ -165,7 +165,7 @@ Archive">ELPA</abbr>. Pour avoir la description complète d'un paquet déplacez <address class="layout"> <hr/> - <p><a class="note__link u-url u-uid u-syndication" href="#" rel="bookmark">#</a> Créé à Québec le <time class="dt-published" datetime="2015-06-30T12:22:16">2015-06-30</time> par <a class="p-author author" href="http://hugo.soucy.cc#hs" rel="author"><i>Hugo Soucy</i></a>. Modifié le <time class="dt-updated">2016-07-26T20:02:38</time>. + <p><a class="note__link u-url u-uid u-syndication" href="#" rel="bookmark">#</a> Créé à Québec le <time class="dt-published" datetime="2015-06-30T12:22:16">2015-06-30</time> par <a class="p-author author" href="http://hugo.soucy.cc#hs" rel="author"><i>Hugo Soucy</i></a>. Modifié le <time class="dt-updated">2016-07-27T09:21:53</time>. </p> </address> </footer> diff --git a/static/dev/js/vendor/atomic b/static/dev/js/vendor/atomic @@ -0,0 +1 @@ +Subproject commit 133e2a96c190113c61a878e94910bdc82bb2ee82 diff --git a/static/prod/js/script.js b/static/prod/js/script.js @@ -0,0 +1,5 @@ +atomic.setContentType('application/json'); +atomic.get('http://webmention.io/api/mentions?jsonp=?') // this request will use application/json as Content-type + .success(function (data, xhr) { + console.log(data); + }); diff --git a/static/prod/js/vendor/atomic.min.js b/static/prod/js/vendor/atomic.min.js @@ -0,0 +1,2 @@ +/*! atomic v1.0.0 | (c) 2015 @toddmotto | https://github.com/toddmotto/atomic */ +!function(a,b){"function"==typeof define&&define.amd?define(b):"object"==typeof exports?module.exports=b:a.atomic=b(a)}(this,function(a){"use strict";var b={},c={contentType:"application/x-www-form-urlencoded"},d=function(a){var b;try{b=JSON.parse(a.responseText)}catch(c){b=a.responseText}return[b,a]},e=function(b,e,f){var g={success:function(){},error:function(){},always:function(){}},h=a.XMLHttpRequest||ActiveXObject,i=new h("MSXML2.XMLHTTP.3.0");i.open(b,e,!0),i.setRequestHeader("Content-type",c.contentType),i.onreadystatechange=function(){var a;4===i.readyState&&(a=d(i),i.status>=200&&i.status<300?g.success.apply(g,a):g.error.apply(g,a),g.always.apply(g,a))},i.send(f);var j={success:function(a){return g.success=a,j},error:function(a){return g.error=a,j},always:function(a){return g.always=a,j}};return j};return b.get=function(a){return e("GET",a)},b.put=function(a,b){return e("PUT",a,b)},b.post=function(a,b){return e("POST",a,b)},b["delete"]=function(a){return e("DELETE",a)},b.setContentType=function(a){c.contentType=a},b});+ \ No newline at end of file diff --git a/templates/mustache/note-index.inc.mustache b/templates/mustache/note-index.inc.mustache @@ -27,6 +27,6 @@ rel="syndication"> <time class="dt-published dt-updated" $if(datetime)$datetime="$date$T$datetime$"$endif$>$date$</time> </a> - par <em class="p-author author">{{ SITE_AUTHOR }}</em> + <span class="visuallyhidden">par <em class="p-author author">{{ SITE_AUTHOR }}</em></span> </footer> </li> diff --git a/templates/mustache/note.mustache b/templates/mustache/note.mustache @@ -46,5 +46,8 @@ </main> {{> partials/nav.mustache }} + + <!-- <script src="{{ BASE_URL }}/js/vendor/atomic.min.js"></script> + <script src="{{ BASE_URL }}/js/script.js"></script> --> </body> </html>