Skip to content

Commit

Permalink
Deploy deadbaed/blog to deadbaed/blog:gh-pages
Browse files Browse the repository at this point in the history
  • Loading branch information
GitHub Actions committed Jul 3, 2024
0 parents commit 9cae211
Show file tree
Hide file tree
Showing 70 changed files with 4,689 additions and 0 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
91 changes: 91 additions & 0 deletions 404.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,91 @@
<!DOCTYPE html>
<html lang="en">

<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />

<title>404 not found</title>
<meta name="description" content="broke my bed now it&#x27;s dead" />
<link rel="shortcut icon" href="https://blog.x4m3.rocks/favicon.ico" />
<link rel="apple-touch-icon" sizes="180x180" href="https://blog.x4m3.rocks/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="https://blog.x4m3.rocks/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="https://blog.x4m3.rocks/favicon-16x16.png">
<link rel="mask-icon" href="https://blog.x4m3.rocks/safari-pinned-tab.svg" color="#5bbad5">

<link rel="alternate" type="application/atom+xml" title="RSS" href="https://blog.x4m3.rocks/atom.xml">

<style>html,body{background:#fffaf7;color:#2d2d2d;font:16px/1.5 -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"}a,a:visited{color:darkred;text-decoration:none}a:hover{text-decoration:underline}main{margin:auto;max-width:38rem;padding:.8rem}pre{background:#fff;overflow:scroll;padding:1rem}td{border:1px solid #2d2d2d;padding:10px}img{height:auto;max-width:100%}.homepage-list{list-style:none;padding:1rem 0}.homepage-list li{align-items:center;display:flex;flex-wrap:wrap;justify-content:space-between;margin-bottom:10px}@media (max-width: 38rem){.homepage-list li a{width:100%}}</style>

<meta property="og:site_name" content="deadbaed">

<meta property="og:title" content="deadbaed">
<meta property="og:description" content="broke my bed now it&#x27;s dead">
<meta property="og:url" content="https://blog.x4m3.rocks">
<meta property="og:image" content="">







<script defer data-domain="blog.x4m3.rocks" src="https://plausible.y.z.x4m3.rocks/js/script.js"></script>
</head>


<body>
<main id="main" role="main">


<header role="banner">
<h3 style="margin-top:0;">
<a href="https://blog.x4m3.rocks" title="Home">deadbaed</a>
<br /><small>broke my bed now it&#x27;s dead</small>
</h3>

<div class="search-container">
<input type="text" id="search" placeholder="Search..." style="width: 100%;">
<div class="search-results">
<div class="search-results__items"></div>
</div>
</div>
</header>
<hr />



<h1>404 not found</h1>
<p>Maybe the page you are looking for changed its url, <a href="https://blog.x4m3.rocks/">go home</a> to try finding it again?</p>



<footer role="contentinfo">
<hr />

<nav style="margin-bottom:1rem;" role="navigation">

<a href="https://blog.x4m3.rocks/atom.xml">RSS</a>

<span>&middot;</span>


<a href="https://philippeloctaux.com">Website</a>


</nav>



</footer>


</main>



<script type="text/javascript" src="https://blog.x4m3.rocks/elasticlunr.min.js"></script>
<script type="text/javascript" src="https://blog.x4m3.rocks/search.js"></script>
</body>
</html>

1 change: 1 addition & 0 deletions CNAME
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
blog.x4m3.rocks
Binary file added android-chrome-192x192.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added android-chrome-512x512.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added apple-touch-icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
116 changes: 116 additions & 0 deletions archivebox-setup/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,116 @@
<!DOCTYPE html>
<html lang="en">

<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />

<title>First setup of Archivebox &middot; deadbaed</title>
<meta name="description" content="broke my bed now it&amp;#x27;s dead" />
<link rel="shortcut icon" href="https://blog.x4m3.rocks/favicon.ico" />
<link rel="apple-touch-icon" sizes="180x180" href="https://blog.x4m3.rocks/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="https://blog.x4m3.rocks/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="https://blog.x4m3.rocks/favicon-16x16.png">
<link rel="mask-icon" href="https://blog.x4m3.rocks/safari-pinned-tab.svg" color="#5bbad5">

<link rel="alternate" type="application/atom+xml" title="RSS" href="https://blog.x4m3.rocks/atom.xml">

<style>html,body{background:#fffaf7;color:#2d2d2d;font:16px/1.5 -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"}a,a:visited{color:darkred;text-decoration:none}a:hover{text-decoration:underline}main{margin:auto;max-width:38rem;padding:.8rem}pre{background:#fff;overflow:scroll;padding:1rem}td{border:1px solid #2d2d2d;padding:10px}img{height:auto;max-width:100%}.homepage-list{list-style:none;padding:1rem 0}.homepage-list li{align-items:center;display:flex;flex-wrap:wrap;justify-content:space-between;margin-bottom:10px}@media (max-width: 38rem){.homepage-list li a{width:100%}}</style>

<meta property="og:site_name" content="deadbaed">

<meta property="og:title" content="First setup of Archivebox">
<meta property="og:description" content="">
<meta property="og:url" content="https://blog.x4m3.rocks/archivebox-setup/">
<meta property="og:image" content="">

<meta property="og:type" content="article" />
<meta property="article:published_time" content="2024-03-02T00:00:00+00:00" />





<script defer data-domain="blog.x4m3.rocks" src="https://plausible.y.z.x4m3.rocks/js/script.js"></script>
</head>


<body>
<main id="main" role="main">


<header role="banner">
<h3 style="margin-top:0;">
<a href="https://blog.x4m3.rocks" title="Home">deadbaed</a>
<br /><small>broke my bed now it&#x27;s dead</small>
</h3>

<div class="search-container">
<input type="text" id="search" placeholder="Search..." style="width: 100%;">
<div class="search-results">
<div class="search-results__items"></div>
</div>
</div>
</header>
<hr />



<article>
<h1>First setup of Archivebox</h1>


<p style="font-size:90%;">Posted on <time datetime="2024-03-02T00:00:00+00:00">March 02, 2024</time></p>


<p>I discovered <a href="https://archivebox.io">Archivebox</a> and decided to install it on my server using containers.</p>
<p>I just had to make a couple of adjustements, because all the content on the instance is publically available. I do not want that, I want to restrict access with user accounts.</p>
<p>To do so, start by finding out the container name, and open a shell:</p>
<pre data-lang="shell" style="background-color:#fcf0ca;color:#282828aa;" class="language-shell "><code class="language-shell" data-lang="shell"><span>docker exec --user=archivebox -it container-name-goes-here bash
</span></code></pre>
<p>Go into the directory where Archivebox data is stored, and you will be able to run command to manage the instance.</p>
<h2 id="hide-everything-from-the-public">Hide everything from the public</h2>
<pre data-lang="shell" style="background-color:#fcf0ca;color:#282828aa;" class="language-shell "><code class="language-shell" data-lang="shell"><span>archivebox config --set SAVE_ARCHIVE_DOT_ORG=False
</span><span>archivebox config --set PUBLIC_INDEX=False
</span><span>archivebox config --set PUBLIC_SNAPSHOTS=False
</span><span>archivebox config --set PUBLIC_ADD_VIEW=False
</span></code></pre>
<h2 id="create-first-user-account">Create first user account</h2>
<p>Now that you cut outside world access to your instance, create an admin user to access and add new content:</p>
<pre data-lang="shell" style="background-color:#fcf0ca;color:#282828aa;" class="language-shell "><code class="language-shell" data-lang="shell"><span>archivebox manage createsuperuser
</span></code></pre>
<p>Once finished, exit the shell and restart Archivebox.</p>

</article>



<footer role="contentinfo">
<hr />

<nav style="margin-bottom:1rem;" role="navigation">

<a href="https://blog.x4m3.rocks/atom.xml">RSS</a>

<span>&middot;</span>


<a href="https://philippeloctaux.com">Website</a>


</nav>



</footer>


</main>



<script type="text/javascript" src="https://blog.x4m3.rocks/elasticlunr.min.js"></script>
<script type="text/javascript" src="https://blog.x4m3.rocks/search.js"></script>
</body>
</html>

104 changes: 104 additions & 0 deletions archlinux-how-old-is-your-installation/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,104 @@
<!DOCTYPE html>
<html lang="en">

<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />

<title>archlinux how old is your installation &middot; deadbaed</title>
<meta name="description" content="broke my bed now it&amp;#x27;s dead" />
<link rel="shortcut icon" href="https://blog.x4m3.rocks/favicon.ico" />
<link rel="apple-touch-icon" sizes="180x180" href="https://blog.x4m3.rocks/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="https://blog.x4m3.rocks/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="https://blog.x4m3.rocks/favicon-16x16.png">
<link rel="mask-icon" href="https://blog.x4m3.rocks/safari-pinned-tab.svg" color="#5bbad5">

<link rel="alternate" type="application/atom+xml" title="RSS" href="https://blog.x4m3.rocks/atom.xml">

<style>html,body{background:#fffaf7;color:#2d2d2d;font:16px/1.5 -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"}a,a:visited{color:darkred;text-decoration:none}a:hover{text-decoration:underline}main{margin:auto;max-width:38rem;padding:.8rem}pre{background:#fff;overflow:scroll;padding:1rem}td{border:1px solid #2d2d2d;padding:10px}img{height:auto;max-width:100%}.homepage-list{list-style:none;padding:1rem 0}.homepage-list li{align-items:center;display:flex;flex-wrap:wrap;justify-content:space-between;margin-bottom:10px}@media (max-width: 38rem){.homepage-list li a{width:100%}}</style>

<meta property="og:site_name" content="deadbaed">

<meta property="og:title" content="archlinux how old is your installation">
<meta property="og:description" content="">
<meta property="og:url" content="https://blog.x4m3.rocks/archlinux-how-old-is-your-installation/">
<meta property="og:image" content="">

<meta property="og:type" content="article" />
<meta property="article:published_time" content="2019-04-18T00:00:00+00:00" />





<script defer data-domain="blog.x4m3.rocks" src="https://plausible.y.z.x4m3.rocks/js/script.js"></script>
</head>


<body>
<main id="main" role="main">


<header role="banner">
<h3 style="margin-top:0;">
<a href="https://blog.x4m3.rocks" title="Home">deadbaed</a>
<br /><small>broke my bed now it&#x27;s dead</small>
</h3>

<div class="search-container">
<input type="text" id="search" placeholder="Search..." style="width: 100%;">
<div class="search-results">
<div class="search-results__items"></div>
</div>
</div>
</header>
<hr />



<article>
<h1>archlinux how old is your installation</h1>


<p style="font-size:90%;">Posted on <time datetime="2019-04-18T00:00:00+00:00">April 18, 2019</time></p>


<p>on archlinux, to see when you installed arch on your computer, run this command</p>
<pre style="background-color:#fcf0ca;color:#282828aa;"><code><span>sed -n &quot;/ installed $1/{s/].*/]/p;q}&quot; /var/log/pacman.log
</span></code></pre>
<p>it will display the date and the time when you ran <code>pacstrap</code> on the live cd to install your system.</p>
<p>on my laptop, i get <strong>[2018-10-21 21:05]</strong>, which is when i switched from fedora back to arch because my school required fedora.</p>

</article>



<footer role="contentinfo">
<hr />

<nav style="margin-bottom:1rem;" role="navigation">

<a href="https://blog.x4m3.rocks/atom.xml">RSS</a>

<span>&middot;</span>


<a href="https://philippeloctaux.com">Website</a>


</nav>



</footer>


</main>



<script type="text/javascript" src="https://blog.x4m3.rocks/elasticlunr.min.js"></script>
<script type="text/javascript" src="https://blog.x4m3.rocks/search.js"></script>
</body>
</html>

Loading

0 comments on commit 9cae211

Please sign in to comment.