-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Deploy deadbaed/blog to deadbaed/blog:gh-pages
- Loading branch information
GitHub Actions
committed
Jul 3, 2024
0 parents
commit 9cae211
Showing
70 changed files
with
4,689 additions
and
0 deletions.
There are no files selected for viewing
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.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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'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'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'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>·</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> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
blog.x4m3.rocks |
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.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 · deadbaed</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="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'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>·</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> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 · deadbaed</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="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'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 "/ installed $1/{s/].*/]/p;q}" /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>·</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> | ||
|
Oops, something went wrong.