<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>Posts on archive.digitz.org</title>
		<link>https://archive.digitz.org/posts/</link>
		<description>Recent content in Posts on archive.digitz.org</description>
		<generator>Hugo</generator>
		<language>en-US</language>
		
		
		
		
			<lastBuildDate>Fri, 11 Jul 2025 20:20:31 +0000</lastBuildDate>
		
			<atom:link href="https://archive.digitz.org/posts/index.xml" rel="self" type="application/rss+xml" />
			<item>
				<title>Installing Nvidia Drivers on Ubuntu - The Easy Way</title>
				<link>https://archive.digitz.org/ubuntu-nvidia-driver/</link>
				<pubDate>Fri, 11 Jul 2025 20:20:31 +0000</pubDate>
				<guid>https://archive.digitz.org/ubuntu-nvidia-driver/</guid>
				<description>&lt;p&gt;I had installed Nvidia Drivers on my Desktop using &lt;code&gt;ubuntu-drivers --autoinstall&lt;/code&gt; thinking that everything should work properly. But turns out I was wrong. It had weird issues, and I was not able to use the Nvidia Encoder in OBS either. So, this is what I had to do to get everything fixed.&lt;/p&gt;&lt;h2 id=&#34;step-1remove-any-old-drivers&#34;&gt;Step 1 - Remove any old drivers&lt;/h2&gt;&lt;h3 id=&#34;step-11-if-they-were-installed-through-the-ppa&#34;&gt;Step 1.1 If they were installed through the PPA&lt;/h3&gt;&lt;p&gt;That is, if you installed the drivers using &lt;code&gt;apt&lt;/code&gt;&lt;/p&gt;</description>
			</item>
			<item>
				<title>Linux : NFS not mounting on boot even with fstab entry</title>
				<link>https://archive.digitz.org/linux-nfs-not-mounting-on-boot-even-with-fstab-entry/</link>
				<pubDate>Wed, 17 Jul 2024 13:30:53 +0000</pubDate>
				<guid>https://archive.digitz.org/linux-nfs-not-mounting-on-boot-even-with-fstab-entry/</guid>
				<description>&lt;p&gt;If you have come across a problem where you had an entry for an NFS server on any systemd system, and it is not mounting those at boot, but it mounts when issuing a &lt;code&gt;sudo mount -a&lt;/code&gt; I have a solution for you&lt;/p&gt;&lt;h2 id=&#34;the-fix&#34;&gt;The Fix&lt;/h2&gt;&lt;p&gt;Update your fstab entry by editing &lt;code&gt;/etc/fstab&lt;/code&gt; and adding these options. &lt;/p&gt;&lt;pre&gt;&lt;code&gt;server IP:/share_path   /mountpoint/on/client  nfs  _netdev,noauto,x-systemd.automount,x-systemd.mount-timeout=10,timeo=14,x-systemd.idle-timeout=1min 0 0&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;A practical example &lt;/p&gt;&lt;pre&gt;&lt;code&gt;192.168.40.100:/volume1/Media     /nas/media   nfs  _netdev,noauto,x-systemd.automount,x-systemd.mount-timeout=10,timeo=14,x-systemd.idle-timeout=1min 0 0&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;This should be it&lt;/p&gt;</description>
			</item>
			<item>
				<title>Fix Immich Server Status Offline</title>
				<link>https://archive.digitz.org/fix-immich-server-status-offline/</link>
				<pubDate>Sat, 22 Jun 2024 05:04:57 +0000</pubDate>
				<guid>https://archive.digitz.org/fix-immich-server-status-offline/</guid>
				<description>&lt;p&gt;Immich is an amazing self hosted photo management system, I cannot recommend this one enough.&lt;/p&gt;&lt;p&gt;If you use Immich behind Nginx Proxy Manager, and if you are seeing that within Immich, the &lt;code&gt;Server Status&lt;/code&gt; is offline as shown below&lt;/p&gt;&lt;figure class=&#34;kg-card kg-image-card&#34;&gt;&lt;img src=&#34;https://archive.digitz.org/content/images/2024/06/image.png&#34; class=&#34;kg-image&#34; loading=&#34;lazy&#34; width=&#34;249&#34; height=&#34;113&#34;&gt;&lt;/figure&gt;&lt;p&gt;The solution is very easy. Just go to the Nginx Proxy Manager for the Immich domain and enable Web Socket support&lt;/p&gt;&lt;figure class=&#34;kg-card kg-image-card&#34;&gt;&lt;img src=&#34;https://archive.digitz.org/content/images/2024/06/image-1.png&#34; class=&#34;kg-image&#34; loading=&#34;lazy&#34; width=&#34;491&#34; height=&#34;281&#34;&gt;&lt;/figure&gt;&lt;p&gt;That&#39;s it! Once that is done, you should be able to see the proper status&lt;/p&gt;</description>
			</item>
			<item>
				<title>How to install sudo on Windows 11</title>
				<link>https://archive.digitz.org/how-to-install-sudo-on-windows-11/</link>
				<pubDate>Fri, 23 Feb 2024 13:29:14 +0000</pubDate>
				<guid>https://archive.digitz.org/how-to-install-sudo-on-windows-11/</guid>
				<description>&lt;blockquote&gt;&lt;p&gt;This post is from February 2024; sudo is no longer limited to Insider Preview. It is available in Windows 11 version 24H2 and later, so the availability advice below is outdated.&lt;/p&gt;&lt;/blockquote&gt;&#xA;&lt;p&gt;No, this is not a troll post. Microsoft really did release &lt;code&gt;sudo&lt;/code&gt; for Windows 11. Currently it is available only on &lt;a href=&#34;https://aka.ms/wip26052&#34;&gt;Windows 11 Insider Preview Build 26052&lt;/a&gt;&lt;/p&gt;&lt;p&gt;So, if you do not want to go through the hassle of getting insider preview builds, just wait a little bit longer.&lt;/p&gt;</description>
			</item>
			<item>
				<title>How to fix Samsung Galaxy low Bluetooth headphones volume</title>
				<link>https://archive.digitz.org/how-to-fix-samsung-galaxy-low-bluetooth-headphones-volume/</link>
				<pubDate>Thu, 22 Feb 2024 02:56:55 +0000</pubDate>
				<guid>https://archive.digitz.org/how-to-fix-samsung-galaxy-low-bluetooth-headphones-volume/</guid>
				<description>&lt;p&gt;Have you ever paired your Bluetooth headphones with your Samsung Galaxy S23/S24 Ultra or regular (and potentially other Samsung Galaxy devices), only to find the volume disappointingly low, even at maximum settings? This issue is pretty common and I have been scratching my head.&lt;/p&gt;&lt;p&gt; Fortunately, there&#39;s a simple fix within the device&#39;s settings that can help enhance your audio experience significantly. This guide will walk you through the steps to resolve low Bluetooth headphone volume on your Galaxy S23 by adjusting the &#34;Disable absolute volume&#34; option.&lt;/p&gt;</description>
			</item>
			<item>
				<title>How to combine multiple mp4 files easily using ffmpeg</title>
				<link>https://archive.digitz.org/how-to-combine-multiple-mp4-files-easily-using-ffmpeg/</link>
				<pubDate>Mon, 12 Feb 2024 04:25:55 +0000</pubDate>
				<guid>https://archive.digitz.org/how-to-combine-multiple-mp4-files-easily-using-ffmpeg/</guid>
				<description>&lt;p&gt;Combining multiple MP4 files into a single file using FFmpeg is quite straightforward. However, it&#39;s important to note that for a seamless combination, the MP4 files should have the same resolution, frame rate, and codec parameters. If they differ, you might need to preprocess them to match these properties before combining (read step 4).&lt;/p&gt;&lt;h2 id=&#34;step-1-install-ffmpeg&#34;&gt;Step 1: Install FFmpeg&lt;/h2&gt;&lt;p&gt;You can install FFmpeg for your operating system by following instructions &lt;a href=&#34;https://archive.digitz.org/how-to-install-ffmpeg-linux-mac-windows/&#34;&gt;HERE&lt;/a&gt;&lt;/p&gt;&lt;h2 id=&#34;step-2-create-a-file-list&#34;&gt;Step 2: Create a file list&lt;/h2&gt;&lt;p&gt;Create a text file that lists all the MP4 files you want to combine, one file per line, prefixed with &lt;code&gt;file &lt;/code&gt;. For example, save the following as &lt;code&gt;filelist.txt&lt;/code&gt;:&lt;/p&gt;</description>
			</item>
			<item>
				<title>How to install FFmpeg (Linux/Mac/Windows)</title>
				<link>https://archive.digitz.org/how-to-install-ffmpeg-linux-mac-windows/</link>
				<pubDate>Mon, 12 Feb 2024 00:40:19 +0000</pubDate>
				<guid>https://archive.digitz.org/how-to-install-ffmpeg-linux-mac-windows/</guid>
				<description>&lt;p&gt;Installing FFmpeg varies vastly depending on your operating system of choice. In this post, I will show you how you can easily install FFmpeg on any operating system&lt;/p&gt;&lt;h2 id=&#34;windows&#34;&gt;Windows&lt;/h2&gt;&lt;h3 id=&#34;step-1-downloading-the-executable&#34;&gt;Step 1: Downloading the executable&lt;/h3&gt;&lt;ul&gt;&lt;li&gt;Easiest way to install FFmpeg on windows is to go &lt;a href=&#34;https://github.com/BtbN/FFmpeg-Builds/releases&#34;&gt;HERE&lt;/a&gt; and download the latest &lt;code&gt;.exe&lt;/code&gt;&lt;/li&gt;&lt;li&gt;An Example link would be &lt;a href=&#34;https://github.com/BtbN/FFmpeg-Builds/releases/download/latest/ffmpeg-master-latest-win64-gpl.zip&#34;&gt;THIS&lt;/a&gt;&lt;/li&gt;&lt;li&gt;Extract the downloaded file and copy it to somewhere like &lt;code&gt;C:\ffmpeg&lt;/code&gt; (you should rename the extracted folder to &lt;code&gt;ffmpeg&lt;/code&gt; )&lt;/li&gt;&lt;/ul&gt;&lt;h3 id=&#34;step-2-updating-the-path&#34;&gt;Step 2: Updating the PATH&lt;/h3&gt;&lt;ul&gt;&lt;li&gt;Open a command prompt &lt;strong&gt;as the administrator &lt;/strong&gt;and run the following&lt;/li&gt;&lt;/ul&gt;&lt;pre&gt;&lt;code&gt;setx /m PATH &#34;C:\ffmpeg\bin;%PATH%&#34;&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;This will add the &lt;code&gt;C:\ffmpeg\bin&lt;/code&gt; to your PATH variable, which means you should be able to run &lt;code&gt;ffmpeg&lt;/code&gt; from anywhere on your command prompt&lt;/p&gt;</description>
			</item>
			<item>
				<title>Best way to monitor GPU usage in Linux (AMD/Nvidia/Intel)</title>
				<link>https://archive.digitz.org/linux-gpu-monitoring-nvtop/</link>
				<pubDate>Mon, 12 Feb 2024 00:23:09 +0000</pubDate>
				<guid>https://archive.digitz.org/linux-gpu-monitoring-nvtop/</guid>
				<description>&lt;p&gt;I have been trying to find a good tool to monitor the Linux GPU usage and so far &lt;code&gt;nvtop&lt;/code&gt; is my favorite&lt;/p&gt;&lt;h2 id=&#34;what-is-nvtop&#34;&gt;What is nvtop?&lt;/h2&gt;&lt;p&gt;nvtop stands for NVIDIA Top, but don&#39;t let the name fool you. It&#39;s a versatile tool that provides a comprehensive overview of GPU usage across different brands, not just NVIDIA. Think of it as the htop of the GPU world – an interactive monitor that displays the utilization of GPU resources in a clear, accessible manner.&lt;/p&gt;</description>
			</item>
			<item>
				<title>How to import WireGuard VPN configuration on Linux (nmcli)</title>
				<link>https://archive.digitz.org/how-to-import-wireguard-vpn-configuration-on-linux/</link>
				<pubDate>Fri, 09 Feb 2024 00:05:00 +0000</pubDate>
				<guid>https://archive.digitz.org/how-to-import-wireguard-vpn-configuration-on-linux/</guid>
				<description>&lt;h2 id=&#34;introduction&#34;&gt;Introduction&lt;/h2&gt;&lt;p&gt;So, you&#39;ve just signed up for a VPN service, and they&#39;ve provided you with a WireGuard configuration, or perhaps you&#39;ve set up your own WireGuard VPN server and have the configuration ready. You&#39;re looking to import this configuration into your system without the hassle of third-party VPN clients. Fortunately, for Linux users, there&#39;s a streamlined way to achieve this using the NetworkManager&#39;s command-line interface, &lt;code&gt;nmcli&lt;/code&gt;. This tool not only simplifies network management tasks but also supports importing WireGuard configurations directly, making your VPN setup quick and straightforward. In this blog post, we&#39;ll walk you through the process of importing your WireGuard VPN configuration using &lt;code&gt;nmcli&lt;/code&gt;, ensuring you can establish a secure and private connection in no time.&lt;/p&gt;</description>
			</item>
			<item>
				<title>How to fix Ruby error : OpenSSL is not available (Mac)</title>
				<link>https://archive.digitz.org/how-to-fix-ruby-openssl-error/</link>
				<pubDate>Tue, 11 Jul 2023 15:49:47 +0000</pubDate>
				<guid>https://archive.digitz.org/how-to-fix-ruby-openssl-error/</guid>
				<description>&lt;blockquote&gt;&lt;p&gt;This post is from July 2023; its OpenSSL 1.1 and Ruby 3.0 instructions are outdated. OpenSSL 1.1 is no longer supported; check current Ruby and Homebrew guidance instead.&lt;/p&gt;&lt;/blockquote&gt;&#xA;&lt;h2 id=&#34;the-error&#34;&gt;The Error&lt;/h2&gt;&lt;p&gt;This is the error that you may get while installing a gem using &lt;code&gt;gem install&lt;/code&gt; or &lt;code&gt;bundle install&lt;/code&gt;.&lt;/p&gt;&lt;pre&gt;&lt;code&gt;ERROR:  While executing gem ... (Gem::Exception)&#xA;    OpenSSL is not available. Install OpenSSL and rebuild Ruby (preferred) or use non-HTTPS sources&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;I have seen this error in M1 Macs and the issue is due to ruby not having OpenSSL support compiled into it&lt;/p&gt;</description>
			</item>
			<item>
				<title>How to create a task bar shortcut for Firefox private browsing</title>
				<link>https://archive.digitz.org/firefox-private-browsing-shortcut/</link>
				<pubDate>Sun, 09 Jul 2023 16:25:04 +0000</pubDate>
				<guid>https://archive.digitz.org/firefox-private-browsing-shortcut/</guid>
				<description>&lt;p&gt;In today&#39;s world of vast internet activities, privacy is paramount. Firefox’s private browsing mode, a.k.a &#34;Incognito Mode,&#34; is a brilliant feature that allows you to surf the web without saving any browser history, cookies etc. However, manually launching a new private window each time can be time-consuming.&lt;/p&gt;&lt;p&gt;This post will guide you through the simple steps to create a shortcut for Firefox Private Window right on your taskbar. This way, you can easily launch an incognito session with just a single click. Let&#39;s get started!&lt;/p&gt;</description>
			</item>
			<item>
				<title>How to Install Debian 12 in VirtualBox (Windows 11)</title>
				<link>https://archive.digitz.org/debian12-virtualbox/</link>
				<pubDate>Sat, 08 Jul 2023 19:20:34 +0000</pubDate>
				<guid>https://archive.digitz.org/debian12-virtualbox/</guid>
				<description>&lt;p&gt;In this post, I will explain how to easily install Debian 12 in VirtualBox running on Windows 11. &lt;/p&gt;&lt;p&gt;Remember that Windows 11 has the ability to run WSL2 (Windows Subsystem for Linux), which is much easier to setup and work with, but sometimes setting up a virtual machine on our own can be useful. &lt;/p&gt;&lt;h2 id=&#34;download-and-install-virtualbox&#34;&gt;Download and install VirtualBox&lt;/h2&gt;&lt;p&gt;First step is to download and install VirtualBox, go &lt;a href=&#34;https://www.virtualbox.org/wiki/Downloads&#34;&gt;HERE&lt;/a&gt; and download and install the latest version of VirtualBox&lt;/p&gt;</description>
			</item>
			<item>
				<title>Fix &#34;Nvidia kernel module missing falling back to Nouveau&#34;</title>
				<link>https://archive.digitz.org/fix-nvidia-kernel-module-missing-falling-back-to-nouveau/</link>
				<pubDate>Sat, 08 Jul 2023 03:13:48 +0000</pubDate>
				<guid>https://archive.digitz.org/fix-nvidia-kernel-module-missing-falling-back-to-nouveau/</guid>
				<description>&lt;p&gt;If you happen to receive the error &lt;code&gt;Nvidia kernel module missing falling back to Nouveau&lt;/code&gt; in a Fedora installation (I got this on Fedora 38 with Nvidia drivers), this might mean that your nvidia driver installation is messed up.&lt;/p&gt;&lt;h2 id=&#34;solution&#34;&gt;Solution&lt;/h2&gt;&lt;p&gt;First thing you should try is to upgrade everything and do a reboot.&lt;/p&gt;&lt;pre&gt;&lt;code&gt;sudo dnf update&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Once the update is run, reboot. See if the error disappears. If it does not, go ahead with the re-install.&lt;/p&gt;</description>
			</item>
			<item>
				<title>Alt (Options) shortcuts not working in MacOS vim</title>
				<link>https://archive.digitz.org/alt-options-shortcuts-not-working-in-macos-vim/</link>
				<pubDate>Tue, 20 Jun 2023 18:53:33 +0000</pubDate>
				<guid>https://archive.digitz.org/alt-options-shortcuts-not-working-in-macos-vim/</guid>
				<description>&lt;p&gt;If you use MacOS with iterm2 terminal and if you use vim or neovim within iterm2, you may have noticed that your &lt;code&gt;options&lt;/code&gt; or &lt;code&gt;alt&lt;/code&gt; keybindings are not working as expected. &lt;/p&gt;&lt;p&gt;For example, I was using &lt;a href=&#34;https://nvchad.com/&#34;&gt;NvChad&lt;/a&gt; with NeoVIM and none of the shortcuts that uses &lt;code&gt;Options/Alt&lt;/code&gt; where working for me.&lt;/p&gt;&lt;p&gt;This is how you can fix it&lt;/p&gt;&lt;p&gt;Profiles -&amp;gt; Edit the Profile -&amp;gt; Keys -&amp;gt; Left Option Key -&amp;gt; Esc+&lt;br&gt;You can do the same for &lt;code&gt;Right Option Key&lt;/code&gt; as well, if you would prefer&lt;/p&gt;</description>
			</item>
			<item>
				<title>How to Install League of Legends on Fedora 38</title>
				<link>https://archive.digitz.org/lol-installation-fedora/</link>
				<pubDate>Fri, 26 May 2023 22:12:14 +0000</pubDate>
				<guid>https://archive.digitz.org/lol-installation-fedora/</guid>
				<description>&lt;blockquote&gt;&lt;p&gt;This post is from May 2023; the Lutris/Wine method no longer works since League of Legends introduced Riot Vanguard. Do not follow these installation steps today.&lt;/p&gt;&lt;/blockquote&gt;&#xA;&lt;p&gt;Unfortunately, I am league of legends player, and it has been the only reason why I was still on Windows. Finally, I was able to get League of Legends working on my Linux laptop and my &lt;code&gt;inting&lt;/code&gt; continues, but this time on Linux&lt;/p&gt;</description>
			</item>
			<item>
				<title>How to install Nvidia proprietary drivers in Fedora 38</title>
				<link>https://archive.digitz.org/how-to-install-nvidia-proprietary-drivers-in-fedora/</link>
				<pubDate>Fri, 26 May 2023 21:52:02 +0000</pubDate>
				<guid>https://archive.digitz.org/how-to-install-nvidia-proprietary-drivers-in-fedora/</guid>
				<description>&lt;blockquote&gt;&lt;p&gt;This post is from May 2023 and covers Fedora 38, which is no longer supported. Driver installation on current Fedora releases may differ; check current instructions before changing your system.&lt;/p&gt;&lt;/blockquote&gt;&#xA;&lt;p&gt;Fedora 38 by default comes with open source drivers for the Nvidia GPU. The open source drive is called &lt;code&gt;nouveau&lt;/code&gt;. But this does not work well if you like to play games on your computer. You need to install the proprietary drivers from Nvidia to be able to play games properly. This post will show you how to do that&lt;/p&gt;</description>
			</item>
			<item>
				<title>How to install Lutris on Fedora</title>
				<link>https://archive.digitz.org/how-to-install-lutris-on-fedora/</link>
				<pubDate>Fri, 26 May 2023 21:30:14 +0000</pubDate>
				<guid>https://archive.digitz.org/how-to-install-lutris-on-fedora/</guid>
				<description>&lt;p&gt;Lutris is an open-source game manager for Linux that aims to centralize all your games. To quote their &lt;a href=&#34;https://lutris.net/&#34;&gt;website&lt;/a&gt;&lt;/p&gt;&lt;blockquote&gt;We provide emulators, compatibility layers and game engine re-implementations needed to run games in the most optimal way, often offering an enhanced experience compared to the original platform.&lt;/blockquote&gt;&lt;h2 id=&#34;installing-lutris&#34;&gt;Installing Lutris&lt;/h2&gt;&lt;p&gt;Fortunately, Lutris is available in the official repositories, so all we have to do is:&lt;/p&gt;&lt;pre&gt;&lt;code class=&#34;language-bash&#34;&gt;sudo dnf install lutris&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;This should install Lutris&lt;/p&gt;&lt;h3 id=&#34;installing-wine&#34;&gt;Installing Wine&lt;/h3&gt;&lt;p&gt;You also need to install Wine, again, also available in the official repositories&lt;/p&gt;</description>
			</item>
			<item>
				<title>How to install Discord on Fedora 38</title>
				<link>https://archive.digitz.org/how-to-install-discord-on-fedora/</link>
				<pubDate>Fri, 26 May 2023 20:00:53 +0000</pubDate>
				<guid>https://archive.digitz.org/how-to-install-discord-on-fedora/</guid>
				<description>&lt;p&gt;This is going to be a really quick post about how you can install Discord on Fedora 38 or newer versions.&lt;/p&gt;&lt;p&gt;There are two ways we can install Discord, one through rpmfusion repo or through Flatpak, I recommend using Flatpak. &lt;/p&gt;&lt;h3 id=&#34;installing-discord-via-flatpak&#34;&gt;Installing Discord via Flatpak&lt;/h3&gt;&lt;p&gt;First, enable the repository, if not enabled already. You can run this command even if you are not sure if you have Flatpak enabled or not&lt;/p&gt;&lt;p&gt;Open a terminal and run&lt;/p&gt;</description>
			</item>
			<item>
				<title>ChatGPT: How to switch back to GPT-4 in a conversation</title>
				<link>https://archive.digitz.org/switch-back-to-gpt4-in-chatgpt-conversation/</link>
				<pubDate>Sat, 20 May 2023 22:39:22 +0000</pubDate>
				<guid>https://archive.digitz.org/switch-back-to-gpt4-in-chatgpt-conversation/</guid>
				<description>&lt;p&gt;&lt;/p&gt;&lt;blockquote&gt;Update : 18 June 2023&lt;br&gt;This method no longer works. Looks like OpenAPI returns a 403 error when trying this method&lt;/blockquote&gt;&lt;h2 id=&#34;the-problem&#34;&gt;The Problem&lt;/h2&gt;&lt;p&gt;Imagine a situation where you&#39;re engaged in a captivating conversation with GPT-4 via ChatGPT, maybe it&#39;s assisting you with troubleshooting a problem, or you&#39;re working on a college assignment - essentially any context. There is a limit to the usage of GPT-4 (25 messages in a span of 3 hours as per the current policy). When this limit is exceeded, the system transitions to GPT-3.5. &lt;strong&gt;The challenge arises because there is no mechanism available to revert back to GPT-4&lt;/strong&gt;, even long after your &lt;strong&gt;quota has been refreshed.&lt;/strong&gt;&lt;/p&gt;</description>
			</item>
			<item>
				<title>How to create a 4x6 Passport Photo Grid for free</title>
				<link>https://archive.digitz.org/howto-4x6-passport-photo-grid/</link>
				<pubDate>Thu, 18 May 2023 21:51:04 +0000</pubDate>
				<guid>https://archive.digitz.org/howto-4x6-passport-photo-grid/</guid>
				<description>&lt;p&gt;If you want to create a 4x6 passport photo grid (6 photos) so that you can get it printed easily and cheaply, you can do so using free tools and your phone camera. It is a lot easier than you think. &lt;/p&gt;&lt;h2 id=&#34;step-1-take-the-photograph-using-your-phone-camera&#34;&gt;Step 1 : Take the photograph using your phone camera&lt;/h2&gt;&lt;p&gt;As long as your mobile phone was released in the past few years, your phone is more than capable of taking good picture to be used as a passport photograph&lt;/p&gt;</description>
			</item>
			<item>
				<title>How to check TLS/SSL expiry using command line (OpenSSL)</title>
				<link>https://archive.digitz.org/tls-expiry-check-openssl/</link>
				<pubDate>Tue, 09 May 2023 14:59:48 +0000</pubDate>
				<guid>https://archive.digitz.org/tls-expiry-check-openssl/</guid>
				<description>&lt;p&gt;If you&#39;re responsible for managing websites or servers, it&#39;s important to keep track of when your SSL/TLS certificates are going to expire. Failure to renew your certificate before it expires can lead to downtime, security issues, and other problems. Thankfully, it&#39;s easy to check the expiry date of your SSL/TLS certificate using the OpenSSL command-line tool.&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;h2 id=&#34;if-you-are-on-windows&#34;&gt;If you are on Windows&lt;/h2&gt;&lt;p&gt;If you use Windows 10 or 11, you need to install OpenSSL. You can download and install the binary from &lt;a href=&#34;https://slproweb.com/products/Win32OpenSSL.html&#34;&gt;HERE&lt;/a&gt;&lt;/p&gt;</description>
			</item>
			<item>
				<title>How to send commands to nested tmux sessions</title>
				<link>https://archive.digitz.org/nested-tmux-sessions/</link>
				<pubDate>Wed, 03 May 2023 20:17:27 +0000</pubDate>
				<guid>https://archive.digitz.org/nested-tmux-sessions/</guid>
				<description>&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;strong&gt;TL;DR : &lt;/strong&gt;Press the prefix key twice&lt;/p&gt;&lt;p&gt;In this short blog post, we&#39;ll explore how to send tmux commands to a remote session while working within a local tmux session using the same prefix key.&lt;/p&gt;&lt;p&gt;That is, you have a local tmux session, you have connected to a remote host via ssh within this tmux session and now you have opened a new tmux session within that.&lt;/p&gt;&lt;p&gt;This scenario creates a &#34;nested&#34; tmux session. To send commands to the remote tmux session without changing the prefix key, you simply need to press the &lt;strong&gt;prefix key twice.&lt;/strong&gt;&lt;/p&gt;</description>
			</item>
			<item>
				<title>How to Turn Off Your Laptop Screen Without Closing the Lid on Windows 11</title>
				<link>https://archive.digitz.org/turnoff-laptop-screen-win11/</link>
				<pubDate>Mon, 01 May 2023 17:41:17 +0000</pubDate>
				<guid>https://archive.digitz.org/turnoff-laptop-screen-win11/</guid>
				<description>&lt;p&gt;&lt;strong&gt;Introduction: &lt;/strong&gt;&lt;/p&gt;&lt;p&gt;If you&#39;re using a laptop with an external monitor, there may be times when you want to turn off your laptop screen without closing the lid. This can be particularly useful for gaming laptops that draw air through the keyboard, as closing the lid can lead to overheating. In Windows 11, the setting to disable a display may not be immediately obvious, but it&#39;s actually quite simple to do. In this blog post, we&#39;ll walk you through the process step by step.&lt;/p&gt;</description>
			</item>
			<item>
				<title>Using a specific version of NodeJS in Github Actions</title>
				<link>https://archive.digitz.org/using-a-specific-version-of-nodejs-in-github-actions/</link>
				<pubDate>Thu, 27 Apr 2023 03:36:14 +0000</pubDate>
				<guid>https://archive.digitz.org/using-a-specific-version-of-nodejs-in-github-actions/</guid>
				<description>&lt;blockquote&gt;&lt;p&gt;This post is from April 2023; the example uses end-of-life Node.js 16 and an old version of actions/setup-node. Choose currently supported versions instead.&lt;/p&gt;&lt;/blockquote&gt;&#xA;&lt;p&gt;If you want to use a specific version of NodeJS in your Github Actions runner image, you don&#39;t have to install it yourself, just gotta ask it nicely. Here is how you can do it.&lt;/p&gt;&lt;p&gt;Just add a step that us using the &lt;code&gt;actions/setup-node&lt;/code&gt; to choose the node version and you are good to go&lt;/p&gt;</description>
			</item>
			<item>
				<title>Fix error while installing NodeJS</title>
				<link>https://archive.digitz.org/fix-error-while-installing-nodejs/</link>
				<pubDate>Thu, 27 Apr 2023 03:29:33 +0000</pubDate>
				<guid>https://archive.digitz.org/fix-error-while-installing-nodejs/</guid>
				<description>&lt;blockquote&gt;&lt;p&gt;This post is from April 2023; it addresses a specific Node.js 12/16 package conflict, and its Node.js 18 installation example is now end-of-life. Check your installed packages and current Node.js guidance before using these commands.&lt;/p&gt;&lt;/blockquote&gt;&#xA;&lt;h2 id=&#34;the-error&#34;&gt;The Error&lt;/h2&gt;&lt;p&gt;If you are seeing the following error when trying to install NodeJS, I have an easy solution for you. This is the error&lt;/p&gt;&lt;pre&gt;&lt;code&gt;Preparing to unpack .../nodejs_16.20.0-deb-1nodesource1_amd64.deb ...&#xA;Unpacking nodejs (16.20.0-deb-1nodesource1) over (12.22.9~dfsg-1ubuntu3) ...&#xA;dpkg: error processing archive /var/cache/apt/archives/nodejs_16.20.0-deb-1nodesource1_amd64.deb (--unpack):&#xA; trying to overwrite &#39;/usr/include/node/common.gypi&#39;, which is also in package libnode-dev 12.22.9~dfsg-1ubuntu3&#xA;dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)&#xA;Errors were encountered while processing:&#xA; /var/cache/apt/archives/nodejs_16.20.0-deb-1nodesource1_amd64.deb&#xA;needrestart is being skipped since dpkg has failed&#xA;E: Sub-process /usr/bin/dpkg returned an error code (1)&#xA;Error: Process completed with exit code 100.&lt;/code&gt;&lt;/pre&gt;&lt;h2 id=&#34;the-solution&#34;&gt;The Solution&lt;/h2&gt;&lt;pre&gt;&lt;code&gt;cd /etc/apt/sources.list.d &#xA;sudo rm nodesource.list&#xA;&#xA;sudo apt --fix-broken install&#xA;sudo apt update&#xA;sudo apt remove nodejs&#xA;sudo apt remove nodejs-doc&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;And now install the version of NodeJS you wanted. Example&lt;/p&gt;</description>
			</item>
			<item>
				<title>Not able to access hosts over SSH : no matching host key type found</title>
				<link>https://archive.digitz.org/not-able-to-access-hosts-over-ssh-no-matching-host-key-type-found/</link>
				<pubDate>Tue, 25 Apr 2023 17:05:45 +0000</pubDate>
				<guid>https://archive.digitz.org/not-able-to-access-hosts-over-ssh-no-matching-host-key-type-found/</guid>
				<description>&lt;blockquote&gt;&lt;p&gt;This post is from April 2023; its &lt;code&gt;Host *&lt;/code&gt; example re-enables legacy SHA-1 SSH signatures for every SSH host. Avoid applying it globally; if necessary, limit the exception to a specific trusted host.&lt;/p&gt;&lt;/blockquote&gt;&#xA;&lt;p&gt;This happens because in newer versions of the OpenSSH client the &lt;code&gt;ssh-rsa&lt;/code&gt; key exchange algorithm (specifically the SHA1 signature - more info &lt;a href=&#34;https://ikarus.sg/rsa-is-not-dead/&#34;&gt;here&lt;/a&gt;) is no longer trusted by default.&lt;/p&gt;&lt;p&gt;If you are using anything newer than &lt;code&gt;OpenSSH_8.8p1, OpenSSL 1.1.1l  24 Aug 2021&lt;/code&gt; and are facing the following error while trying to ssh&lt;/p&gt;</description>
			</item>
			<item>
				<title>Fixing &#39;alacritty&#39;: unknown terminal type. in ssh session</title>
				<link>https://archive.digitz.org/fixing-alacritty-unknown-terminal-type-in-ssh-session/</link>
				<pubDate>Tue, 25 Apr 2023 16:58:15 +0000</pubDate>
				<guid>https://archive.digitz.org/fixing-alacritty-unknown-terminal-type-in-ssh-session/</guid>
				<description>&lt;h2 id=&#34;the-problem&#34;&gt;The Problem&lt;/h2&gt;&lt;p&gt;You are using Alacritty terminal and you have logged into a remote host via ssh and when you try to type a command like &lt;code&gt;clear&lt;/code&gt; it says this:&lt;/p&gt;&lt;pre&gt;&lt;code&gt;&#39;alacritty&#39;: unknown terminal type.&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;&lt;/p&gt;&lt;h2 id=&#34;the-solution&#34;&gt;The Solution&lt;/h2&gt;&lt;p&gt;Just change your &lt;code&gt;ssh&lt;/code&gt; command to &lt;code&gt;TERM=xterm-256color ssh&lt;/code&gt;. That is, add an alias.&lt;/p&gt;&lt;p&gt;Edit your shell&#39;s RC file.&lt;/p&gt;&lt;p&gt;ZSH - &lt;code&gt;~/.zshrc&lt;/code&gt;&lt;/p&gt;&lt;p&gt;BASH - &lt;code&gt;~/.bashrc&lt;/code&gt;&lt;/p&gt;&lt;pre&gt;&lt;code&gt;alias ssh=&#39;TERM=xterm-256color ssh&#39;&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;And &lt;code&gt;source&lt;/code&gt; your shell&#39;s rc file. &lt;/p&gt;&lt;pre&gt;&lt;code&gt;source ~/.zshrc&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;You should be all set now&lt;/p&gt;</description>
			</item>
			<item>
				<title>Persisting SSH Keys (ssh-agent) across terminals (Windows and Linux)</title>
				<link>https://archive.digitz.org/persisting-ssh-keys-across-terminals-windows-and-linux/</link>
				<pubDate>Fri, 03 Mar 2023 17:09:22 +0000</pubDate>
				<guid>https://archive.digitz.org/persisting-ssh-keys-across-terminals-windows-and-linux/</guid>
				<description>&lt;p&gt;The easiest way to persist ssh keys across different terminal sessions is to use the &lt;code&gt;keychain&lt;/code&gt; tool.&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;h2 id=&#34;install-keychain&#34;&gt;Install keychain&lt;/h2&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;Depending on your operating system, the command will vary&lt;/p&gt;&lt;h3 id=&#34;ubuntu-and-debian-derivatives&#34;&gt;Ubuntu and Debian Derivatives&lt;/h3&gt;&lt;pre&gt;&lt;code&gt;sudo apt update&#xA;sudo apt install keychain&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;h3 id=&#34;fedora&#34;&gt;Fedora&lt;/h3&gt;&lt;pre&gt;&lt;code&gt;sudo dnf install keychain&lt;/code&gt;&lt;/pre&gt;&lt;h3 id=&#34;arch-linux&#34;&gt;Arch Linux&lt;/h3&gt;&lt;pre&gt;&lt;code&gt;sudo pacman -S keychain&lt;/code&gt;&lt;/pre&gt;&lt;h2 id=&#34;configure-keychain-to-persist-ssh-agent&#34;&gt;Configure Keychain to persist ssh agent&lt;/h2&gt;&lt;p&gt;Open &lt;sub&gt;&lt;code&gt;/.zshrc&lt;/code&gt; or &lt;/sub&gt;&lt;code&gt;/.bashrc&lt;/code&gt; depending on your shell, and add the following entry to it&lt;/p&gt;&lt;pre&gt;&lt;code&gt;eval `keychain --eval --agents ssh id_rsa id_rsa_1`&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Here, I am adding two keys &lt;code&gt;id_rsa&lt;/code&gt; and &lt;code&gt;id_rsa_1&lt;/code&gt;.&lt;/p&gt;</description>
			</item>
			<item>
				<title>How to create Ubuntu (or any Linux) bootable USB</title>
				<link>https://archive.digitz.org/howto-create-linux-bootable-usb/</link>
				<pubDate>Sat, 08 Oct 2022 23:39:34 +0000</pubDate>
				<guid>https://archive.digitz.org/howto-create-linux-bootable-usb/</guid>
				<description>&lt;p&gt;After trying so many different tools, I have settled on using Balena Etcher for all my bootable USB needs. It could not be any simpler&lt;/p&gt;&lt;h2 id=&#34;step-1-download-balena-etcher&#34;&gt;Step 1 : Download Balena Etcher&lt;/h2&gt;&lt;p&gt;Go &lt;a href=&#34;https://www.balena.io/etcher/&#34;&gt;HERE&lt;/a&gt; and download the latest version of Balena Etcher and install it on your computer.&lt;/p&gt;&lt;h2 id=&#34;step-2-run-it&#34;&gt;Step 2 : Run it&lt;/h2&gt;&lt;p&gt;This is obvious, you run it, select the iso you want to flash, select the drive you want to flash and then just &lt;code&gt;Flash!&lt;/code&gt;&lt;/p&gt;</description>
			</item>
	</channel>
</rss>
