pages/posts/index.html

377 lines
19 KiB
HTML
Raw Normal View History

2024-02-22 14:42:02 -05:00
<!DOCTYPE html>
<html lang="en" dir="auto">
<head><meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="robots" content="index, follow">
<title>Posts | Mafyuh&#39;s Blog</title>
<meta name="keywords" content="">
<meta name="description" content="Posts - Mafyuh&#39;s Blog">
2024-02-22 17:24:22 -05:00
<meta name="author" content="Matt">
2024-02-22 16:21:00 -05:00
<link rel="canonical" href="https://mafyuh.com/posts/">
2024-02-22 14:42:02 -05:00
<link crossorigin="anonymous" href="/assets/css/stylesheet.b609c58d5c11bb90b1a54e04005d74ad1ddf22165eb79f5533967e57df9c3b50.css" integrity="sha256-tgnFjVwRu5CxpU4EAF10rR3fIhZet59VM5Z&#43;V9&#43;cO1A=" rel="preload stylesheet" as="style">
2024-02-22 16:21:00 -05:00
<link rel="icon" href="https://mafyuh.com/assets/favicon/favicon.ico">
<link rel="icon" type="image/png" sizes="16x16" href="https://mafyuh.com/assets/favicon/favicon-16x16.png">
<link rel="icon" type="image/png" sizes="32x32" href="https://mafyuh.com/assets/favicon/favicon-32x32.png">
<link rel="apple-touch-icon" href="https://mafyuh.com/assets/favicon/apple-touch-icon.png">
<link rel="mask-icon" href="https://mafyuh.com/safari-pinned-tab.svg">
2024-02-22 14:42:02 -05:00
<meta name="theme-color" content="#2e2e33">
<meta name="msapplication-TileColor" content="#2e2e33">
2024-02-22 16:21:00 -05:00
<link rel="alternate" type="application/rss+xml" href="https://mafyuh.com/posts/index.xml">
<link rel="alternate" hreflang="en" href="https://mafyuh.com/posts/">
2024-02-22 14:42:02 -05:00
<noscript>
<style>
#theme-toggle,
.top-link {
display: none;
}
</style>
<style>
@media (prefers-color-scheme: dark) {
:root {
--theme: rgb(29, 30, 32);
--entry: rgb(46, 46, 51);
--primary: rgb(218, 218, 219);
--secondary: rgb(155, 156, 157);
--tertiary: rgb(65, 66, 68);
--content: rgb(196, 196, 197);
--code-block-bg: rgb(46, 46, 51);
--code-bg: rgb(55, 56, 62);
--border: rgb(51, 51, 51);
}
.list {
background: var(--theme);
}
.list:not(.dark)::-webkit-scrollbar-track {
background: 0 0;
}
.list:not(.dark)::-webkit-scrollbar-thumb {
border-color: var(--theme);
}
}
</style>
2024-02-22 18:52:07 -05:00
</noscript><script defer data-domain="mafyuh.com" src="https://stats.mafyuh.com/js/script.js"></script>
2024-02-22 17:57:56 -05:00
<meta property="og:title" content="Posts" />
2024-02-22 14:42:02 -05:00
<meta property="og:description" content="A blog by Mafyuh" />
<meta property="og:type" content="website" />
2024-02-22 16:21:00 -05:00
<meta property="og:url" content="https://mafyuh.com/posts/" /><meta property="og:site_name" content="Mafyuh&#39;s Blog" />
2024-02-22 14:42:02 -05:00
<meta name="twitter:card" content="summary"/>
<meta name="twitter:title" content="Posts"/>
<meta name="twitter:description" content="A blog by Mafyuh"/>
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "BreadcrumbList",
"itemListElement": [
{
"@type": "ListItem",
"position": 1 ,
"name": "Posts",
2024-02-22 16:21:00 -05:00
"item": "https://mafyuh.com/posts/"
2024-02-22 14:42:02 -05:00
}
]
}
</script>
</head>
<body class="list" id="top">
<script>
if (localStorage.getItem("pref-theme") === "dark") {
document.body.classList.add('dark');
} else if (localStorage.getItem("pref-theme") === "light") {
document.body.classList.remove('dark')
} else if (window.matchMedia('(prefers-color-scheme: dark)').matches) {
document.body.classList.add('dark');
}
</script>
<header class="header">
<nav class="nav">
<div class="logo">
2024-02-22 16:21:00 -05:00
<a href="https://mafyuh.com/" accesskey="h" title="Mafyuh&#39;s Blog (Alt + H)">
<img src="https://mafyuh.com/assets/favicon/favicon.svg" alt="" aria-label="logo"
2024-02-22 14:42:02 -05:00
height="35">Mafyuh&#39;s Blog</a>
<div class="logo-switches">
<button id="theme-toggle" accesskey="t" title="(Alt + T)">
<svg id="moon" xmlns="http://www.w3.org/2000/svg" width="24" height="18" viewBox="0 0 24 24"
fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round"
stroke-linejoin="round">
<path d="M21 12.79A9 9 0 1 1 11.21 3 7 7 0 0 0 21 12.79z"></path>
</svg>
<svg id="sun" xmlns="http://www.w3.org/2000/svg" width="24" height="18" viewBox="0 0 24 24"
fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round"
stroke-linejoin="round">
<circle cx="12" cy="12" r="5"></circle>
<line x1="12" y1="1" x2="12" y2="3"></line>
<line x1="12" y1="21" x2="12" y2="23"></line>
<line x1="4.22" y1="4.22" x2="5.64" y2="5.64"></line>
<line x1="18.36" y1="18.36" x2="19.78" y2="19.78"></line>
<line x1="1" y1="12" x2="3" y2="12"></line>
<line x1="21" y1="12" x2="23" y2="12"></line>
<line x1="4.22" y1="19.78" x2="5.64" y2="18.36"></line>
<line x1="18.36" y1="5.64" x2="19.78" y2="4.22"></line>
</svg>
</button>
<ul class="lang-switch"><li>|</li>
</ul>
</div>
</div>
<ul id="menu">
<li>
2024-02-22 21:40:08 -05:00
<a href="https://mafyuh.com/tags/" title="Tags">
<span>Tags</span>
2024-02-22 14:42:02 -05:00
</a>
</li>
<li>
2024-02-22 16:21:00 -05:00
<a href="https://mafyuh.com/archives/" title="Archives">
2024-02-22 14:42:02 -05:00
<span>Archives</span>
</a>
</li>
<li>
2024-02-22 21:40:08 -05:00
<a href="https://mafyuh.com/search/" title="Search (Alt &#43; /)" accesskey=/>
2024-02-22 14:42:02 -05:00
<span>Search</span>
</a>
</li>
</ul>
</nav>
</header>
<main class="main">
2024-02-22 16:21:00 -05:00
<header class="page-header"><div class="breadcrumbs"><a href="https://mafyuh.com/">Home</a></div>
2024-02-22 14:42:02 -05:00
<h1>
Posts
<a href="/posts/index.xml" title="RSS" aria-label="RSS">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"
stroke-linecap="round" stroke-linejoin="round" height="23">
<path d="M4 11a9 9 0 0 1 9 9" />
<path d="M4 4a16 16 0 0 1 16 16" />
<circle cx="5" cy="19" r="1" />
</svg>
</a>
</h1>
</header>
2024-03-15 23:43:34 -04:00
<article class="post-entry">
<header class="entry-header">
<h2 class="entry-hint-parent">How to create a Solana Token (SPL) from CLI with metadata
</h2>
</header>
<div class="entry-content">
2024-03-26 15:17:20 -04:00
<p>I wanted to create an SPL token and after looking online I couldnt find an updated guide. I mainly just found Keyglowmax (SCAM). So I thought I would learn and share. There are much easier ways to create these tokens but they cost $ and spending more $ than needed is no fun. They also have you connect your wallet which is enough of a worry. This guide costs as little SOL as possible as everything is transacted directly on-chain....</p>
2024-03-15 23:43:34 -04:00
</div>
2024-03-27 11:45:33 -04:00
<footer class="entry-footer"><span title='2024-03-15 00:13:40 +0000 UTC'>March 15, 2024</span>&nbsp;·&nbsp;9 min&nbsp;·&nbsp;1713 words&nbsp;·&nbsp;Matt</footer>
2024-03-15 23:43:34 -04:00
<a class="entry-link" aria-label="post link to How to create a Solana Token (SPL) from CLI with metadata" href="https://mafyuh.com/posts/spl-token-cli/"></a>
</article>
2024-03-07 19:49:30 -05:00
<article class="post-entry">
<header class="entry-header">
<h2 class="entry-hint-parent">Docker Compose Arr Stack Guide
</h2>
</header>
<div class="entry-content">
<p>This guide is for someone who is looking to setup an Arr Stack for media organization and downloading. This guide requires no remote path mappings, follows Trash-Guides recommendations and every command needed is copy-pasteable. The VMs in this guide are hosted on Proxmox 8.1.4, but you can use any Ubuntu environment (WSL-2, VirtualBox, etc.)
Arr VM Specs:
2 core host 8GB RAM 100GB Storage Downloader VM Specs:
2 core host 4GB RAM 250GB Storage (can download up to this limit at a time, be careful when mass downloading or give plenty of space) Prerequisites Ubuntu 22....</p>
</div>
<footer class="entry-footer"><span title='2024-02-23 00:13:40 +0000 UTC'>February 23, 2024</span>&nbsp;·&nbsp;7 min&nbsp;·&nbsp;1305 words&nbsp;·&nbsp;Matt</footer>
<a class="entry-link" aria-label="post link to Docker Compose Arr Stack Guide" href="https://mafyuh.com/posts/docker-arr-stack-guide/"></a>
</article>
2024-02-23 11:28:32 -05:00
<article class="post-entry">
<header class="entry-header">
<h2 class="entry-hint-parent">Selfhosted Game Servers
</h2>
</header>
<div class="entry-content">
<p>Something I only got into recently is hosting video game servers for games that support servers. Maybe its just something about having another server, cause these are totally not needed. But they are pretty easy to setup thanks to the open-source community.
Sons of the Forest I wanted to play sons one day and when I looked into multiplayer I seen there were options for servers. This sparked me Googling and finding this repo....</p>
</div>
<footer class="entry-footer"><span title='2024-02-22 00:13:40 +0000 UTC'>February 22, 2024</span>&nbsp;·&nbsp;3 min&nbsp;·&nbsp;478 words&nbsp;·&nbsp;Matt</footer>
<a class="entry-link" aria-label="post link to Selfhosted Game Servers" href="https://mafyuh.com/posts/selfhosted-game-servers/"></a>
</article>
2024-02-22 14:42:02 -05:00
<article class="post-entry">
<header class="entry-header">
<h2 class="entry-hint-parent">Resize Ubuntu VM Disk in Proxmox
</h2>
</header>
<div class="entry-content">
<p>1st step: Increase/resize disk from GUI console 2nd step: Extend physical drive partition and check free space with: sudo growpart /dev/sda 3 sudo pvdisplay sudo pvresize /dev/sda3 sudo pvdisplay 3rd step: Extend Logical volume sudo lvdisplay sudo lvextend -l &#43;100%FREE /dev/ubuntu-vg/ubuntu-lv sudo lvdisplay 4th step: Resize Filesystem sudo resize2fs /dev/ubuntu-vg/ubuntu-lv sudo fdisk -l </p>
</div>
2024-02-22 17:24:22 -05:00
<footer class="entry-footer"><span title='2024-02-06 02:58:07 +0000 UTC'>February 6, 2024</span>&nbsp;·&nbsp;1 min&nbsp;·&nbsp;53 words&nbsp;·&nbsp;Matt</footer>
2024-02-22 16:21:00 -05:00
<a class="entry-link" aria-label="post link to Resize Ubuntu VM Disk in Proxmox" href="https://mafyuh.com/posts/resize-ubuntu-vm-disk/"></a>
2024-02-22 14:42:02 -05:00
</article>
<article class="post-entry">
<header class="entry-header">
<h2 class="entry-hint-parent">Proton Mail - SimpleLogin authentik Social Login Setup
</h2>
</header>
<div class="entry-content">
<p>This is just a quick guide on how to authenticate your authentik users with Proton using SimpleLogin OIDC.
To accomplish this, first create a SimpleLogin acct by logging in with Proton. Once thats done go to https://app.simplelogin.io/developer and create a website. Give it your authentik URL.
Then go to Oauth Settings and copy your client ID and secret for next step. add your authentik URL in redirect URL like this https://auth....</p>
</div>
2024-02-22 17:24:22 -05:00
<footer class="entry-footer"><span title='2023-11-12 16:20:00 +0000 UTC'>November 12, 2023</span>&nbsp;·&nbsp;2 min&nbsp;·&nbsp;227 words&nbsp;·&nbsp;Matt</footer>
2024-02-22 16:21:00 -05:00
<a class="entry-link" aria-label="post link to Proton Mail - SimpleLogin authentik Social Login Setup" href="https://mafyuh.com/posts/proton-mail-authentik-social-login-setup/"></a>
2024-02-22 14:42:02 -05:00
</article>
<article class="post-entry">
<header class="entry-header">
<h2 class="entry-hint-parent">How To Automate Jellyfin Issue Handling
</h2>
</header>
<div class="entry-content">
<p>I wanted a way to automate when users tell me a video on my Jellyfin server has an issue. After alot of trial and error, ChatGPT, Bard and I came up with this automation.
Requirements My only requirements when making this was that it was free and self-hostable. Not even any NPM extensions are required in AP. Actual Software requirements are:
Sonarr Radarr Overseerr/Jellyseerr Optional
SMTP server or ability to send SMTP messages (can also use discord) ActivePieces or any other automation platform that supports TS....</p>
</div>
2024-02-22 17:24:22 -05:00
<footer class="entry-footer"><span title='2023-11-11 16:20:00 +0000 UTC'>November 11, 2023</span>&nbsp;·&nbsp;19 min&nbsp;·&nbsp;3952 words&nbsp;·&nbsp;Matt</footer>
2024-02-22 16:21:00 -05:00
<a class="entry-link" aria-label="post link to How To Automate Jellyfin Issue Handling" href="https://mafyuh.com/posts/how-to-automate-jellyfin-issue-handling/"></a>
2024-02-22 14:42:02 -05:00
</article>
<article class="post-entry">
<header class="entry-header">
<h2 class="entry-hint-parent">How to authenticate Guacamole via authentik with Cloudflare and Nginx Proxy Manager
</h2>
</header>
<div class="entry-content">
<p>authentiks docs have a guide already for Guacamole. You can find that here. Follow all the instructions there, (especially the part where you create a user in Guacamole with the USERNAME of your email. not just filling in the email), but if you are using Cloudflare as our DNS you may run into problems. Such as infinite redirect loop.
Error 403 Forbidden While it was looping, I checked my Guacamole docker container logs in Portainer, and found the 403 Forbidden error....</p>
</div>
2024-02-22 17:24:22 -05:00
<footer class="entry-footer"><span title='2023-10-29 16:20:00 +0000 UTC'>October 29, 2023</span>&nbsp;·&nbsp;2 min&nbsp;·&nbsp;344 words&nbsp;·&nbsp;Matt</footer>
2024-02-22 16:21:00 -05:00
<a class="entry-link" aria-label="post link to How to authenticate Guacamole via authentik with Cloudflare and Nginx Proxy Manager" href="https://mafyuh.com/posts/how-to-authenticate-guacamole-authentik-nginxproxymanager/"></a>
2024-02-22 14:42:02 -05:00
</article>
<article class="post-entry">
<header class="entry-header">
<h2 class="entry-hint-parent">How to authenticate Zammad via SAML with Nginx Proxy Manager
</h2>
</header>
<div class="entry-content">
<p>If you are getting error messages like:
422: the change you wanted was rejected. message from saml: actioncontroller::invalidauthenticitytoken Just make sure you set these in your Nginx Proxy Manager hosts Advanced field:
location / { proxy_pass http://zammad:8080; # Replace proxy_set_header Host $host; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-Proto $scheme; proxy_set_header X-Forwarded-Ssl on; proxy_set_header X-Forwarded-Port $server_port; proxy_set_header X-Forwarded-Host $host; } I spent way too long trying to figure this out, reading through Github issues, breaking my SAML provider and Zammad configs, starting over, when the whole time it was just good old nginx header issues....</p>
</div>
2024-02-22 17:24:22 -05:00
<footer class="entry-footer"><span title='2023-10-29 16:20:00 +0000 UTC'>October 29, 2023</span>&nbsp;·&nbsp;1 min&nbsp;·&nbsp;107 words&nbsp;·&nbsp;Matt</footer>
2024-02-22 16:21:00 -05:00
<a class="entry-link" aria-label="post link to How to authenticate Zammad via SAML with Nginx Proxy Manager" href="https://mafyuh.com/posts/how-to-authenticate-zammad-via-saml-with-nginx-proxy-manager/"></a>
2024-02-22 14:42:02 -05:00
</article>
<article class="post-entry">
<header class="entry-header">
<h2 class="entry-hint-parent">How To Authenticate KASM via authentik
</h2>
</header>
<div class="entry-content">
<p>You could do this with OpenID as well but this method is using SAML. This guide assumes you already have running instances of Kasm Workspaces and authentik.
The official authentik docs dont have a Kasm Integration listed at the time. So I thought I would help out anyone who is trying to integrate these services via SAML. authentiks SAML docs can be found here.
Setting up Kasm In the Kasm Workspaces admin, click Access Management - Authentication - SAML and create a new configuration....</p>
</div>
2024-02-22 17:24:22 -05:00
<footer class="entry-footer"><span title='2023-09-30 16:20:00 +0000 UTC'>September 30, 2023</span>&nbsp;·&nbsp;2 min&nbsp;·&nbsp;393 words&nbsp;·&nbsp;Matt</footer>
2024-02-22 16:21:00 -05:00
<a class="entry-link" aria-label="post link to How To Authenticate KASM via authentik" href="https://mafyuh.com/posts/how-to-authenticate-kasm-via-authentik/"></a>
2024-02-22 14:42:02 -05:00
</article>
2024-02-22 22:27:56 -05:00
<article class="post-entry">
<header class="entry-header">
<h2 class="entry-hint-parent">How to Show More Options By Default in Windows 11
</h2>
</header>
<div class="entry-content">
<p>To Show more options by default in File Explorer, open Command Prompt as Administrator, then type or paste the following command:
reg add HKCU\Software\Classes\CLSID\{86ca1aa0-34aa-4e8b-a509-50c905bae2a2}\InprocServer32 /ve /d &#34;&#34; /f and hit Enter.</p>
</div>
<footer class="entry-footer"><span title='2023-09-05 23:45:25 +0000 UTC'>September 5, 2023</span>&nbsp;·&nbsp;1 min&nbsp;·&nbsp;31 words&nbsp;·&nbsp;Matt</footer>
<a class="entry-link" aria-label="post link to How to Show More Options By Default in Windows 11" href="https://mafyuh.com/posts/how-to-show-more-options-by-default-in-windows-11/"></a>
</article>
2024-02-22 21:40:08 -05:00
<footer class="page-footer">
<nav class="pagination">
<a class="next" href="https://mafyuh.com/posts/page/2/">Next&nbsp;&nbsp;»
</a>
</nav>
</footer>
2024-02-22 14:42:02 -05:00
</main>
<footer class="footer">
2024-02-22 16:21:00 -05:00
<span>&copy; 2024 <a href="https://mafyuh.com/">Mafyuh&#39;s Blog</a></span>
2024-02-22 14:42:02 -05:00
<span>
Powered by
<a href="https://gohugo.io/" rel="noopener noreferrer" target="_blank">Hugo</a> &
<a href="https://github.com/adityatelange/hugo-PaperMod/" rel="noopener" target="_blank">PaperMod</a>
</span>
</footer>
<a href="#top" aria-label="go to top" title="Go to Top (Alt + G)" class="top-link" id="top-link" accesskey="g">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 12 6" fill="currentColor">
<path d="M12 6H0l6-6z" />
</svg>
</a>
<script>
let menu = document.getElementById('menu')
if (menu) {
menu.scrollLeft = localStorage.getItem("menu-scroll-position");
menu.onscroll = function () {
localStorage.setItem("menu-scroll-position", menu.scrollLeft);
}
}
document.querySelectorAll('a[href^="#"]').forEach(anchor => {
anchor.addEventListener("click", function (e) {
e.preventDefault();
var id = this.getAttribute("href").substr(1);
if (!window.matchMedia('(prefers-reduced-motion: reduce)').matches) {
document.querySelector(`[id='${decodeURIComponent(id)}']`).scrollIntoView({
behavior: "smooth"
});
} else {
document.querySelector(`[id='${decodeURIComponent(id)}']`).scrollIntoView();
}
if (id === "top") {
history.replaceState(null, null, " ");
} else {
history.pushState(null, null, `#${id}`);
}
});
});
</script>
<script>
var mybutton = document.getElementById("top-link");
window.onscroll = function () {
if (document.body.scrollTop > 800 || document.documentElement.scrollTop > 800) {
mybutton.style.visibility = "visible";
mybutton.style.opacity = "1";
} else {
mybutton.style.visibility = "hidden";
mybutton.style.opacity = "0";
}
};
</script>
<script>
document.getElementById("theme-toggle").addEventListener("click", () => {
if (document.body.className.includes("dark")) {
document.body.classList.remove('dark');
localStorage.setItem("pref-theme", 'light');
} else {
document.body.classList.add('dark');
localStorage.setItem("pref-theme", 'dark');
}
})
</script>
</body>
</html>