main
1<!DOCTYPE html>
2<html lang="en">
3<head>
4<!-- Sep 03, 2024 -->
5<meta charset="utf-8" />
6<meta name="viewport" content="width=device-width, initial-scale=1" />
7<title>Reinit and Jekyll</title>
8<meta name="author" content="Vincent Demeester" />
9<meta name="generator" content="Org Mode" />
10<link rel='icon' type='image/x-icon' href='/images/favicon.ico'/>
11<meta name='viewport' content='width=device-width, initial-scale=1'>
12<link rel='stylesheet' href='/css/new.css' type='text/css'/>
13<link rel='stylesheet' href='/css/syntax.css' type='text/css'/>
14<link href='/index.xml' rel='alternate' type='application/rss+xml' title='Vincent Demeester' />
15</head>
16<body>
17<main id="content" class="content">
18<header>
19<h1 class="title">Reinit and Jekyll</h1>
20</header><section id="outline-container-Introduction" class="outline-2">
21<h2 id="Introduction">Introduction</h2>
22<div class="outline-text-2" id="text-Introduction">
23<p>
24Two weeks ago, my <i>online</i> personal server has been attacked and,
25somehow, died. I’m in the process of re-installation of it but I’m going
26to hardened a bit the security on it. Anyway, this crash meant that
27every piece of site I maintain has been down. That’s why I moved this
28<i>identity site</i> on the github pages, using a CNAME ; That way I can
29crash as much as I want my server(s), this page should still be up for a
30while.
31</p>
32
33<p>
34And I’m switching on Jekyll for this website as It is supported by
35Github page, easy to use and easy to deploy elsewhere (if one day I want
36to move from Github).
37</p>
38
39<p>
40The rest of the post is going to be used as a <i>sandbox</i> post to test the
41site styles.
42</p>
43
44<blockquote>
45<p>
46This is a blockquote with two paragraphs. Lorem ipsum dolor sit amet,
47consectetuer adipiscing elit. Aliquam hendrerit mi posuere lectus.
48Vestibulum enim wisi, viverra nec, fringilla in, laoreet vitae, risus.
49</p>
50
51<p>
52Donec sit amet nisl. Aliquam semper ipsum sit amet velit. Suspendisse
53id sem consectetuer libero luctus adipiscing.
54</p>
55</blockquote>
56</div>
57<div id="outline-container-highlight" class="outline-3">
58<h3 id="highlight">Highlight</h3>
59<div class="outline-text-3" id="text-highlight">
60<div class="org-src-container">
61<pre class="src src-ruby">def foo puts 'foo' end
62</pre>
63</div>
64
65<p>
66Some bash script…
67</p>
68
69<div class="org-src-container">
70<pre class="src src-bash">#!/bin/bash
71update_gems() {
72 echo "Update gems for all versions ? (y/N)"
73 read UPDATE_GEMS
74 test -z "${UPDATE_GEMS}" && UPDATE_GEMS="n"
75
76 if test "${UPDATE_GEMS}" = "y"; then
77 for version in =ls --color=never $HOME/.rbenv/versions=; do
78 echo "Updating ${version%/}"
79 RBENV_VERSION="${version%/}" rbenv exec gem update
80 RBENV_VERSION="${version%/}" rbenv exec gem install bundler
81 done
82 fi
83}
84
85update_gems
86</pre>
87</div>
88</div>
89</div>
90</section>
91</main>
92<footer id="postamble" class="status">
93<footer>
94 <small><a href="/" rel="history">Index</a> • <a href="/sitemap.html">Sitemap</a> • <a href="https://dl.sbr.pm/">Files</a></small><br/>
95 <small class='questions'>Questions, comments ? Please use my <a href="https://lists.sr.ht/~vdemeester/public-inbox">public inbox</a> by sending a plain-text email to <a href="mailto:~vdemeester/public-inbox@lists.sr.ht">~vdemeester/public-inbox@lists.sr.ht</a>.</small><br/>
96 <small class='copyright'>
97 Content and design by Vincent Demeester
98 (<a rel='licence' href='http://creativecommons.org/licenses/by-nc-sa/3.0/'>Some rights reserved</a>)
99 </small><br />
100</footer>
101</footer>
102</body>
103</html>