<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>INSANE&#x27;s HUB</title>
    <link>https://insane1337.xyz/index.html</link>
    <description>Me love hacking and playing video games</description>
    <atom:link href="https://insane1337.xyz/feed.xml" rel="self" type="application/rss+xml" />
    <item>
  <title>Arch linux - Pacman basic commands</title>
  <link>https://insane1337.xyz/posts/arch-linux-pacman-basic-commands.html</link>
  <guid isPermaLink="true">https://insane1337.xyz/posts/arch-linux-pacman-basic-commands.html</guid>
  <pubDate>Thu, 17 Sep 2026 00:00:00 +0000</pubDate>
  <description>Some very basic commands for using pacman in everyday life</description>
  <content:encoded><![CDATA[<h2 id="to-update-the-system">To update the system</h2>
<pre class="codehilite"><code class="language-bash">sudo pacman -Syu
</code></pre>

<p>Update the database:</p>
<pre class="codehilite"><code class="language-bash">sudo pacman -Syy
</code></pre>

<h2 id="installing">Installing</h2>
<p>To install a package (always run pacman -Syu, before installing):</p>
<pre class="codehilite"><code class="language-bash">sudo pacman -S package_name
</code></pre>

<p>To install a local package, or from a website:</p>
<pre class="codehilite"><code class="language-bash">sudo pacman -U /path/to/the/package
</code></pre>

<p>To re-install all packages (those from the repo’s), in case of emergency:</p>
<pre class="codehilite"><code class="language-bash">pacman -Qnq | pacman -S -
</code></pre>

<p>🚨 Only run in case of emergency!!</p>
<h2 id="removing-packages">Removing Packages</h2>
<p>If you want to only remove the package, the following command is sufficient:</p>
<pre class="codehilite"><code class="language-bash">sudo pacman -R
</code></pre>

<p>To remove the package and those of its dependencies that aren’t needed by any other application, do</p>
<pre class="codehilite"><code class="language-bash">sudo pacman -Rs
</code></pre>

<p>Finally, to remove the package, avoid orphaned dependencies and erase its global configuration (won't remove the configs inside .config directory), type</p>
<pre class="codehilite"><code class="language-bash">sudo pacman -Rns package_name
</code></pre>

<p>which in most cases is the proper command to remove software.</p>
<h2 id="searchesqueries">Searches/Queries</h2>
<p>Info about an installed package:</p>
<pre class="codehilite"><code class="language-bash">pacman -Qi package_name
</code></pre>

<p>Queries the repo about a package:</p>
<pre class="codehilite"><code class="language-bash">pacman -Ss package_name
</code></pre>

<p>Queries the repo about a packages, and all that depend on it:</p>
<pre class="codehilite"><code class="language-bash">pacman -Sii package_name
</code></pre>

<hr />
<h2 id="howto">Howto</h2>
<h3 id="list-installed-packages-that-are-not-in-the-official-repositories">List Installed Packages that are not in the Official Repositories:</h3>
<p>If you want a list of the packages you built and installed locally or packages that are no longer in the official repositories:</p>
<pre class="codehilite"><code class="language-bash">pacman -Qm
</code></pre>

<h3 id="pacman-is-completely-broken-how-do-i-reinstall-it">Pacman is completely broken! How do I reinstall it?</h3>
<p>In the case that pacman is broken beyond repair, manually download the necessary packages (openssl, libarchive, and pacman) and extract them. The pacman binary will be restored along with its default configuration file. Afterwards, reinstall these packages with pacman to maintain package database integrity. You can use this command to extract them.</p>
<pre class="codehilite"><code class="language-bash">sudo tar -xwvpf &lt;i&gt;package_name-version.tar.xz&lt;/i&gt; -C / --exclude .PKGINFO --exclude .INSTALL
</code></pre>

<hr />
<p>Inspired from - <a href="https://kaosx.us/pacman/">https://kaosx.us/pacman/</a> <br>
More info - <a href="https://wiki.archlinux.org/index.php/Pacman">https://wiki.archlinux.org/index.php/Pacman</a></p>]]></content:encoded>
</item>
    <item>
  <title>Learn your first language with concepts, not syntax</title>
  <link>https://insane1337.xyz/posts/when-learning-your-first-foundation-language.html</link>
  <guid isPermaLink="true">https://insane1337.xyz/posts/when-learning-your-first-foundation-language.html</guid>
  <pubDate>Wed, 02 Sep 2026 00:00:00 +0000</pubDate>
  <description>Learn the concepts and ideas</description>
  <content:encoded><![CDATA[<p>When learning your foundational language (like Python), focus on understanding concepts instead of memorizing syntax.</p>
<p>For example: <code>print()</code> outputs to the console. Don't memorize the function — remember the <em>concept</em>: "Python has a way to print to the console." When you forget the name, just search "how to print to console in Python."</p>
<p>This method doesn't stop at your first language. When you pick up Java later, it gets easier — you already know any language can print to a console. So you just search "how to print to console in Java." After that, you dive into the internals when you need them.</p>
<p>Syntax, implementations, and internals change between languages. The core ideas stay the same: loops, printing, conditionals.</p>]]></content:encoded>
</item>
    <item>
  <title>Hello World</title>
  <link>https://insane1337.xyz/posts/hello-world.html</link>
  <guid isPermaLink="true">https://insane1337.xyz/posts/hello-world.html</guid>
  <pubDate>Tue, 01 Sep 2026 00:00:00 +0000</pubDate>
  <description>First post on pyhax about pyhax</description>
  <content:encoded><![CDATA[<h1 id="hello-world">Hello World</h1>
<p>This is the first post written with <strong>pyhax</strong>.</p>
<h2 id="what-is-pyhax">What is pyhax?</h2>
<p>Pyhax is the tool I use to run this site. It combines the use case of a biolink and a static site generator — two things I like, rolled into one lightweight tool.</p>
<p>It's part <strong>biolink</strong> and part <strong>static site generator</strong>:</p>
<ul>
<li>Like <strong>haunt.gg</strong> and <strong>guns.lol</strong>, the home page is a digital self — a bio-link style page: my handle, status, socials, skills, projects, games, and what I'm up to right now.</li>
<li>Like <strong>hugo</strong>, it turns plain markdown files into a real website. No databases, no frameworks, no Node — markdown in, static HTML out.</li>
</ul>
<h2 id="what-it-covers">What it covers</h2>
<p>Three things, all under one roof:</p>
<ol>
<li><strong>A bio home page</strong> — a full-page-scroll profile with socials, skills, projects, and games.</li>
<li><strong>A blog</strong> — posts in markdown with search and syntax highlighting.</li>
<li><strong>A wiki</strong> — a CherryTree-style hierarchical notes tree for dumping knowledge, how-tos, and references.</li>
</ol>
<h2 id="inspiration">Inspiration</h2>
<ul>
<li><strong>haunt.gg</strong> and <strong>guns.lol</strong> — for the bio-link home page style</li>
<li><strong>hugo</strong> and <strong>zola</strong> — for the static site generator concept</li>
</ul>
<p>Everything runs on a single Python file. Fast, simple, no bloat.</p>
<pre class="codehilite"><code class="language-python">print(&quot;hello from pyhax&quot;)
</code></pre>]]></content:encoded>
</item>
    <item>
  <title>Tools</title>
  <link>https://insane1337.xyz/wiki/osint/tools.html</link>
  <guid isPermaLink="true">https://insane1337.xyz/wiki/osint/tools.html</guid>
  <pubDate>Mon, 01 Jan 2024 00:00:00 +0000</pubDate>
  <description>Tools for OSINT</description>
  <content:encoded><![CDATA[<p>Sherlock</p>
<p>Camphish</p>
<p>[Just for test purposes now. Soon will be populated with actual content.]</p>]]></content:encoded>
</item>
  </channel>
</rss>
