summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--public/Images/favi.pngbin2295 -> 22709 bytes
-rw-r--r--public/Images/misc/logo.png.bkbin0 -> 3677 bytes
-rw-r--r--public/articals/linux/ArchLinux/00CleaningArchLinux (renamed from public/articals/linux/1CleaningArchLinux)20
-rw-r--r--public/articals/linux/ArchLinux/01SpeedingUpArchLinux61
-rw-r--r--public/articals/linux/media/00cd75
-rw-r--r--public/articals/linuxlist11
-rw-r--r--public/index.html2
-rw-r--r--public/styles.css1
8 files changed, 158 insertions, 12 deletions
diff --git a/public/Images/favi.png b/public/Images/favi.png
index 8ab37b1..9cce07a 100644
--- a/public/Images/favi.png
+++ b/public/Images/favi.png
Binary files differ
diff --git a/public/Images/misc/logo.png.bk b/public/Images/misc/logo.png.bk
new file mode 100644
index 0000000..050aae9
--- /dev/null
+++ b/public/Images/misc/logo.png.bk
Binary files differ
diff --git a/public/articals/linux/1CleaningArchLinux b/public/articals/linux/ArchLinux/00CleaningArchLinux
index b58f913..8c5ad81 100644
--- a/public/articals/linux/1CleaningArchLinux
+++ b/public/articals/linux/ArchLinux/00CleaningArchLinux
@@ -4,23 +4,23 @@
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Cleaning Arch Linux</title>
- <link rel="stylesheet" href="../../styles.css">
- <link rel="icon" href="../../Images/favi.png" type="image/x-icon">
+ <link rel="stylesheet" href="../../../styles.css">
+ <link rel="icon" href="../../../Images/favi.png" type="image/x-icon">
</head>
<body>
<header>
<nav>
<ul>
- <li><a href="../../index.html">Home</a></li>
- <li><a href="../../links.html">Links</a></li>
- <li><a href="../../projects.html">Projects</a></li>
- <li><a href="../../contact.html">Contact</a></li>
+ <li><a href="../../../index.html">Home</a></li>
+ <li><a href="../../../links.html">Links</a></li>
+ <li><a href="../../../projects.html">Projects</a></li>
+ <li><a href="../../../contact.html">Contact</a></li>
</ul>
</nav>
</header>
<main class="description">
- <h1>How to Clean Arch Linux</h1>
- <h3>Date: 21:7:2024</h3>
+ <h1>How to Clean Arch Linux ๐Ÿงน</h1>
+ <h3>Date: 21-7-2024</h3>
<p>In this artical I will be telling you how to clean up your <a href="https://archlinux.org">Arch Linux system</a> in the same way I do so.</p>
<hr>
<h2>Package Cache</h2>
@@ -47,7 +47,9 @@
<p>rm -rf ~/.cache/* # Clear the cache directory</p>
</div>
<hr>
- <p>That is more for now, I hope this artical has helped you clean your system.</p>
+ <center>
+ <p>That is all for now, I hope this artical has helped you clean your system.</p>
+ <pre text-align=center> <a href="../../linuxlist">Back</a>
</main>
</body>
</html>
diff --git a/public/articals/linux/ArchLinux/01SpeedingUpArchLinux b/public/articals/linux/ArchLinux/01SpeedingUpArchLinux
new file mode 100644
index 0000000..f70eccc
--- /dev/null
+++ b/public/articals/linux/ArchLinux/01SpeedingUpArchLinux
@@ -0,0 +1,61 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+ <meta charset="UTF-8">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
+ <title>Speeding up Pacman ๐Ÿš—</title>
+ <link rel="stylesheet" href="../../../styles.css">
+ <link rel="icon" href="../../../Images/favi.png" type="image/x-icon">
+</head>
+<body>
+ <header>
+ <nav>
+ <ul>
+ <li><a href="../../../index.html">Home</a></li>
+ <li><a href="../../../links.html">Links</a></li>
+ <li><a href="../../../projects.html">Projects</a></li>
+ <li><a href="../../../contact.html">Contact</a></li>
+ </ul>
+ </nav>
+ </header>
+ <main class="description">
+ <h1>How to speed up Pacman ๐Ÿš—</h1>
+ <h3>Date: 23-7-2024</h3>
+ <hr>
+ <p>It is very easy to speed up Pacman, and we can do it in a few easy steps, so follow this guide, and your favourite package manager will be fast as anything!</p>
+ <hr>
+ <h2>Pacman.conf</h2>
+ <p>Pacman can download packages in parallel, meaning you are able to download more than one package at a time, which makes the process of installing and updating packages way faster!</p>
+
+ <p>The first thing you want to do is go to the location of pacman.conf, which is located in <b>/etc/pacman.conf</b>. So you would want to run a command like this but with your preferred text editor:</p>
+ <div class=code-box>
+ <p>sudo nvim /etc/pacman.conf</p>
+ </div>
+ <p>Now that you are in the configuration file, you want to navigate to a section where it says <b>Misc options</b>. You want to uncomment the line where it says <b>'ParallelDownloads.'</b> It should look something like this:</p>
+ <div class=code-box>
+ <p># Misc options<br>
+ #UseSyslog<br>
+ Color<br>
+ #NoProgressBar<br>
+ CheckSpace<br>
+ #VerbosePkgLists<br>
+ ParallelDownloads = 5<br>
+ ILoveCandy</p>
+ </div>
+ <p>If you have a keen eye, you may have spotted the last line, which says 'I Love Candy,' and the reason why this line is here is because it gives the Pacman prompt when you run it a bit of styal with the pound signs being replaced with Pacman!</p>
+ <hr>
+ <h2>Mirrors ๐Ÿชž</h2>
+ <p>If you did not know, a mirror is a server where the packages you install are hosted. Ideally, you want to download all of your packages from the fastest mirrors, so let me show you how to do that!</p>
+ <p>The first thing you will need to do is install the reflector program and run the reflector command.</p>
+ <div class=code-box>
+ <p>sudo pacman -S reflector<br> sudo reflector --latest 10 --sort rate --save /etc/pacman.d/mirrorlist<br>sudo pacman -Syy # To update package list from server</p>
+ </div>
+ <p>After running this command, your download speed should be way faster!</p>
+ <hr>
+ <center>
+ <p>I hope this has helped you in making Pacman not only look better but function better!</p>
+ <pre text-align=center> <a href="../../linuxlist">Back</a>
+ </main>
+</body>
+</html>
+
diff --git a/public/articals/linux/media/00cd b/public/articals/linux/media/00cd
new file mode 100644
index 0000000..a14505a
--- /dev/null
+++ b/public/articals/linux/media/00cd
@@ -0,0 +1,75 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+ <meta charset="UTF-8">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
+ <title>Burning optical media in Linux</title>
+ <link rel="stylesheet" href="../../../styles.css">
+ <link rel="icon" href="../../../Images/favi.png" type="image/x-icon">
+</head>
+<body>
+ <header>
+ <nav>
+ <ul>
+ <li><a href="../../../index.html">Home</a></li>
+ <li><a href="../../../links.html">Links</a></li>
+ <li><a href="../../../projects.html">Projects</a></li>
+ <li><a href="../../../contact.html">Contact</a></li>
+ </ul>
+ </nav>
+ </header>
+ <main class="description">
+ <h1>How to burn optical media in Linux ๐Ÿ’ฟ</h1>
+ <h3>Date: 23-08-2024</h3>
+ <hr>
+ <p>This is a quick tutorial to show you how to burn any file to a piece of optical disk media!</p>
+ <hr>
+ <h3>Warning โš ๏ธ</h3>
+ <p>Once you burn an optical disk you cannot reburn it.</b>
+ <p>Optical media does not have the best storage, normally under 1GiB so make sure your files align with the size of the optical media.</b>
+ <hr>
+ <h2>What you will need ๐Ÿ“‹</h2>
+ <ul>
+ <li>Optical drive capable of writing to a CD</li>
+ <li>A computer with Linux ๐Ÿง๐Ÿ–ฅ๏ธ</li>
+ <li>The ability to read instructions and to follow them ๐Ÿง </li>
+ </ul>
+ <hr>
+
+ <h2>Steps to burn ๐Ÿ”ฅ</h2>
+ <p>You will only need one program to burn media to a CD; the name of that program is <a href="https://linux.die.net/man/1/wodim">wodim</a>, and it is part of a collection of programs called <a href="https://packages.debian.org/source/sid/cdrkit">cdrkit</a>, as in thename ofe this collection of programs that allow you to do a whole variaty of things withopticall media!ย 
+ <hr>
+
+ <li>1) Install cdrkit, on some Linux distrobutions cdrkit is already installed, but on my main Linux distrobution <a href="https://archlinux.org">Arch Linux</a>, it is not so check you have it installed, the package on your distro will most likely be called cdrkit.</li>
+ <br>
+ <div class="code-box">
+ <p>sudo pacman -S cdrkit</p>
+ </div>
+ <br>
+
+ <hr>
+
+ <li>2) You want to get whatever data you want into an ISO file, so if you had a file called movies that held movies you would use the command.</li><br>
+ <div class="code-box">
+ <p>mkisofs -o movies.iso movies</p>
+ </div>
+ <p>movies.iso being the output ISO and movies being the directory with the movies in there.</p>
+
+ <hr>
+
+ <li>3) Now the last command is the actual event of burning the optical media! So insert it into your optical drive and type this command.</li><br>
+ <div class="code-box">
+ <p>wodim -v dev=/dev/sr0 movies.iso</p>
+ </div>
+ <p>movies.iso being the output ISO from the last command.</p>
+
+ <hr>
+
+ <li>4) Now it is time to sit back and wait for it to burn; do not get impatient; give it time, and it will burn. When it is done, you may enject the optical media from the CD drive, and it should have all the files you desire.</li><br>
+ <center>
+ <hr><p>That is all the required steps to burn optical media on Linux, I hope this has helped you!</p>
+ <pre text-align=center> <a href="../../linuxlist">Back</a>
+ </main>
+</body>
+</html>
+
diff --git a/public/articals/linuxlist b/public/articals/linuxlist
index fa64cdc..aa4be25 100644
--- a/public/articals/linuxlist
+++ b/public/articals/linuxlist
@@ -26,9 +26,16 @@
<ul>
<li>05-08-2024 - <a href="linux/2LinuxFileHierarchy">Linux File Hierarchy</a></li>
</ul>
- <h2>Tutorials</h2>
+
+ <h2>Media tutorials</h2>
+ <ul>
+ <li>23-08-2024 - <a href="linux/media/00cd">How to burn optical media in Linux ๐Ÿ’ฟ</a></li>
+ </ul>
+
+ <h2>Arch Linux tutorials</h2>
<ul>
- <li>21-07-2024 - <a href="linux/1CleaningArchLinux">How To Clean Arch Linux</a></li>
+ <li>21-07-2024 - <a href="linux/ArchLinux/00CleaningArchLinux">How To Clean Arch Linux ๐Ÿงน</a></li>
+ <li>23-08-2024 - <a href="linux/ArchLinux/01SpeedingUpArchLinux">Speeding up Pacman ๐Ÿš—</a></li>
</ul>
</main>
</body>
diff --git a/public/index.html b/public/index.html
index 25df7ac..809fd43 100644
--- a/public/index.html
+++ b/public/index.html
@@ -39,10 +39,10 @@
<section class="posts">
<h2>Articles</h2>
<ul>
+ <li>23-08-2024 - <a href="articals/linuxlist">Articles about Linux</a></li>
<li>15-08-2024 - <a href="articals/programminglist">Articles about Programming</a></li>
<li>08-08-2024 - <a href="articals/internetlist">Articles about the Internet</a></li>
<li>07-08-2024 - <a href="articals/neovimlist">Neovim run through</a></li>
- <li>25-07-2024 - <a href="articals/linuxlist">Articles about Linux</a></li>
</ul>
</section>
</main>
diff --git a/public/styles.css b/public/styles.css
index f807cc7..0985ee2 100644
--- a/public/styles.css
+++ b/public/styles.css
@@ -91,6 +91,7 @@ a:hover {
}
.code-box {
+ padding-top: 100px;
background-color: #c8c8c8;
font-family: 'FreeSans', sans-serif;
font-size: 15px;