A place to cache linked articles (think custom and personal wayback machine)
Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

index.html 8.8KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174
  1. <!doctype html><!-- This is a valid HTML5 document. -->
  2. <!-- Screen readers, SEO, extensions and so on. -->
  3. <html lang="fr">
  4. <!-- Has to be within the first 1024 bytes, hence before the `title` element
  5. See: https://www.w3.org/TR/2012/CR-html5-20121217/document-metadata.html#charset -->
  6. <meta charset="utf-8">
  7. <!-- Why no `X-UA-Compatible` meta: https://stackoverflow.com/a/6771584 -->
  8. <!-- The viewport meta is quite crowded and we are responsible for that.
  9. See: https://codepen.io/tigt/post/meta-viewport-for-2015 -->
  10. <meta name="viewport" content="width=device-width,initial-scale=1">
  11. <!-- Required to make a valid HTML5 document. -->
  12. <title>Articles archivés — David Larlet</title>
  13. <meta name="description" content="Lien vers les publications externes mises en cache.">
  14. <!-- That good ol' feed, subscribe :). -->
  15. <link rel="alternate" type="application/atom+xml" title="Feed" href="/david/log/">
  16. <!-- Generated from https://realfavicongenerator.net/ such a mess. -->
  17. <link rel="apple-touch-icon" sizes="180x180" href="/static/david/icons2/apple-touch-icon.png">
  18. <link rel="icon" type="image/png" sizes="32x32" href="/static/david/icons2/favicon-32x32.png">
  19. <link rel="icon" type="image/png" sizes="16x16" href="/static/david/icons2/favicon-16x16.png">
  20. <link rel="manifest" href="/static/david/icons2/site.webmanifest">
  21. <link rel="mask-icon" href="/static/david/icons2/safari-pinned-tab.svg" color="#07486c">
  22. <link rel="shortcut icon" href="/static/david/icons2/favicon.ico">
  23. <meta name="msapplication-TileColor" content="#f7f7f7">
  24. <meta name="msapplication-config" content="/static/david/icons2/browserconfig.xml">
  25. <meta name="theme-color" content="#f7f7f7" media="(prefers-color-scheme: light)">
  26. <meta name="theme-color" content="#272727" media="(prefers-color-scheme: dark)">
  27. <!-- Documented, feel free to shoot an email. -->
  28. <link rel="stylesheet" href="/static/david/css/style_2021-01-20.css">
  29. <!-- See https://www.zachleat.com/web/comprehensive-webfonts/ for the trade-off. -->
  30. <link rel="preload" href="/static/david/css/fonts/triplicate_t4_poly_regular.woff2" as="font" type="font/woff2" media="(prefers-color-scheme: light), (prefers-color-scheme: no-preference)" crossorigin>
  31. <link rel="preload" href="/static/david/css/fonts/triplicate_t4_poly_bold.woff2" as="font" type="font/woff2" media="(prefers-color-scheme: light), (prefers-color-scheme: no-preference)" crossorigin>
  32. <link rel="preload" href="/static/david/css/fonts/triplicate_t4_poly_italic.woff2" as="font" type="font/woff2" media="(prefers-color-scheme: light), (prefers-color-scheme: no-preference)" crossorigin>
  33. <link rel="preload" href="/static/david/css/fonts/triplicate_t3_regular.woff2" as="font" type="font/woff2" media="(prefers-color-scheme: dark)" crossorigin>
  34. <link rel="preload" href="/static/david/css/fonts/triplicate_t3_bold.woff2" as="font" type="font/woff2" media="(prefers-color-scheme: dark)" crossorigin>
  35. <link rel="preload" href="/static/david/css/fonts/triplicate_t3_italic.woff2" as="font" type="font/woff2" media="(prefers-color-scheme: dark)" crossorigin>
  36. <script>
  37. function toggleTheme(themeName) {
  38. document.documentElement.classList.toggle(
  39. 'forced-dark',
  40. themeName === 'dark'
  41. )
  42. document.documentElement.classList.toggle(
  43. 'forced-light',
  44. themeName === 'light'
  45. )
  46. }
  47. const selectedTheme = localStorage.getItem('theme')
  48. if (selectedTheme !== 'undefined') {
  49. toggleTheme(selectedTheme)
  50. }
  51. </script>
  52. <body class="remarkdown h1-underline h2-underline h3-underline em-underscore hr-center ul-star pre-tick" data-instant-intensity="viewport-all">
  53. <header>
  54. <h1>Articles archivés</h1>
  55. </header>
  56. <nav>
  57. <p class="center">
  58. <a href="/david/" title="Aller à l’accueil"><svg class="icon icon-home">
  59. <use xlink:href="/static/david/icons2/symbol-defs-2021-12.svg#icon-home"></use>
  60. </svg> Accueil</a>
  61. </p>
  62. </nav>
  63. <hr>
  64. <main>
  65. <ul>
  66. <li><a href="/david/cache/2022/3ca10b945c7517c2f234e3b9534bfb6d/" title="Accès à l’article dans le cache local : Software Maxims">Software Maxims</a> (<a href="https://www.softwaremaxims.com/blog/not-a-supplier" title="Accès à l’article original distant : Software Maxims">original</a>)</li>
  67. <li><a href="/david/cache/2022/63654b08ad9eda03b6bea8d1f82e2843/" title="Accès à l’article dans le cache local : Yearnotes #3 • détour.studio">Yearnotes #3 • détour.studio</a> (<a href="https://détour.studio/yearnotes/3/" title="Accès à l’article original distant : Yearnotes #3 • détour.studio">original</a>)</li>
  68. <li><a href="/david/cache/2022/42b4db67c4daf075941dc387d6be4aaf/" title="Accès à l’article dans le cache local : ETC-ISTE : Bonne année">ETC-ISTE : Bonne année</a> (<a href="http://etc-iste.blogspot.com/2022/12/bonne-annee.html" title="Accès à l’article original distant : ETC-ISTE : Bonne année">original</a>)</li>
  69. </ul>
  70. </main>
  71. <hr>
  72. <footer>
  73. <p>
  74. <a href="/david/" title="Aller à l’accueil"><svg class="icon icon-home">
  75. <use xlink:href="/static/david/icons2/symbol-defs-2021-12.svg#icon-home"></use>
  76. </svg> Accueil</a> •
  77. <a href="/david/log/" title="Accès au flux RSS"><svg class="icon icon-rss2">
  78. <use xlink:href="/static/david/icons2/symbol-defs-2021-12.svg#icon-rss2"></use>
  79. </svg> Suivre</a> •
  80. <a href="http://larlet.com" title="Go to my English profile" data-instant><svg class="icon icon-user-tie">
  81. <use xlink:href="/static/david/icons2/symbol-defs-2021-12.svg#icon-user-tie"></use>
  82. </svg> Pro</a> •
  83. <a href="mailto:david%40larlet.fr" title="Envoyer un courriel"><svg class="icon icon-mail">
  84. <use xlink:href="/static/david/icons2/symbol-defs-2021-12.svg#icon-mail"></use>
  85. </svg> Email</a> •
  86. <abbr class="nowrap" title="Hébergeur : Alwaysdata, 62 rue Tiquetonne 75002 Paris, +33184162340"><svg class="icon icon-hammer2">
  87. <use xlink:href="/static/david/icons2/symbol-defs-2021-12.svg#icon-hammer2"></use>
  88. </svg> Légal</abbr>
  89. </p>
  90. <template id="theme-selector">
  91. <form>
  92. <fieldset>
  93. <legend><svg class="icon icon-brightness-contrast">
  94. <use xlink:href="/static/david/icons2/symbol-defs-2021-12.svg#icon-brightness-contrast"></use>
  95. </svg> Thème</legend>
  96. <label>
  97. <input type="radio" value="auto" name="chosen-color-scheme" checked> Auto
  98. </label>
  99. <label>
  100. <input type="radio" value="dark" name="chosen-color-scheme"> Foncé
  101. </label>
  102. <label>
  103. <input type="radio" value="light" name="chosen-color-scheme"> Clair
  104. </label>
  105. </fieldset>
  106. </form>
  107. </template>
  108. </footer>
  109. <script src="/static/david/js/instantpage-5.1.0.min.js" type="module"></script>
  110. <script>
  111. function loadThemeForm(templateName) {
  112. const themeSelectorTemplate = document.querySelector(templateName)
  113. const form = themeSelectorTemplate.content.firstElementChild
  114. themeSelectorTemplate.replaceWith(form)
  115. form.addEventListener('change', (e) => {
  116. const chosenColorScheme = e.target.value
  117. localStorage.setItem('theme', chosenColorScheme)
  118. toggleTheme(chosenColorScheme)
  119. })
  120. const selectedTheme = localStorage.getItem('theme')
  121. if (selectedTheme && selectedTheme !== 'undefined') {
  122. form.querySelector(`[value="${selectedTheme}"]`).checked = true
  123. }
  124. }
  125. const prefersColorSchemeDark = '(prefers-color-scheme: dark)'
  126. window.addEventListener('load', () => {
  127. let hasDarkRules = false
  128. for (const styleSheet of Array.from(document.styleSheets)) {
  129. let mediaRules = []
  130. for (const cssRule of styleSheet.cssRules) {
  131. if (cssRule.type !== CSSRule.MEDIA_RULE) {
  132. continue
  133. }
  134. // WARNING: Safari does not have/supports `conditionText`.
  135. if (cssRule.conditionText) {
  136. if (cssRule.conditionText !== prefersColorSchemeDark) {
  137. continue
  138. }
  139. } else {
  140. if (cssRule.cssText.startsWith(prefersColorSchemeDark)) {
  141. continue
  142. }
  143. }
  144. mediaRules = mediaRules.concat(Array.from(cssRule.cssRules))
  145. }
  146. // WARNING: do not try to insert a Rule to a styleSheet you are
  147. // currently iterating on, otherwise the browser will be stuck
  148. // in a infinite loop…
  149. for (const mediaRule of mediaRules) {
  150. styleSheet.insertRule(mediaRule.cssText)
  151. hasDarkRules = true
  152. }
  153. }
  154. if (hasDarkRules) {
  155. loadThemeForm('#theme-selector')
  156. }
  157. })
  158. </script>
  159. </body>
  160. </html>