commit 432de4c3a1635f88dd19a8ee15aa1fbd8745cfd4
parent 7578e1b5e57a3a5b9b186aefbd93a67c5fda7929
Author: Shipwreckt <Shipwreckt@mailfence.com>
Date: Mon, 8 Jul 2024 20:03:55 +0100
updated C artical and fakefetch. I have also changed the colour of p tag because I feel like the normal text is too white.
Diffstat:
3 files changed, 40 insertions(+), 16 deletions(-)
diff --git a/public/articles/1Learning_C b/public/articles/1Learning_C
@@ -12,6 +12,7 @@
<h2>Table of Contents</h2><hr>
<ul>
<li><a href="#article">Article</a></li>
+ <li><a href="#resources">Resources</a></li>
</ul>
</div>
<div class="content">
@@ -28,6 +29,7 @@
</nav>
</header>
<main id="main-content">
+ <section id="article">
<h2>Learning the C programming language</h2>
<h3>Date: 10:6:2024</h3>
<hr>
@@ -39,7 +41,35 @@
<h3>Date: 27:6:2024</h3>
<p>It has been a few weeks, and I have not made much progress, sadly. I have been quite busy with school, but I have more free time now, so I will have more time to study. I am happy I have more time because I have been really falling behind on learning C. </p>
+ <br><hr>
+ <h3>Date: 8:7:2024</h3>
+ <p>Hello there! It has been a little while since I last updated this page. I have added some of the resources I use today, so that is a plus for you to read if you are curious! But the main bit of news is that I have is that I have rewrote my programme <a href=../projects/programs/Fakefetch#info>Fakefetch</a> in the C programmeming language. It was a bit of a challenging, and I needed some help with troubleshooting, but I got there in the end. I have expanded on my notes, and when I am ready, I shall publish what I have done so far. But for now, that is all. Thank you for reading.</p>
+
<font color="#800000">This page is still being updated as I learn more C so keep checking in! </font>
+ </section>
+
+ <main id="main-content">
+ <section id="resources">
+ <p>This is a page full of resources I use to learn the C programming language.</p>
+ <h3>Websites</h3>
+ <ul>
+ <li><a href="https://freecomputerbooks.com/langCBooks.html">Freecomputerbooks.com</a></li>
+ <li><a href="https://www.learn-c.org/">learn-c.org</a></li>
+ </ul>
+ <h3>Reading material</h3>
+ <ul>
+ <li><a href="https://mirror.parrot.sh/parrot/misc/openbooks/programming/C_Programming.pdf">C programming</a></li>
+ <li><a href="https://www.gnu.org/software/gnu-c-manual/gnu-c-manual.html#hello_002ec">Gnu C refrance manual</a></li>
+ </ul>
+
+ <h3>Videos</h3>
+ <p>For privacy reasons I have used yewtu.be which for now is more private then google's youtube.</p>
+ <ul>
+ <li><a href="https://yewtu.be/watch?v=KJgsSFOSQv0">C programming (freecodecamp)</a></li>
+ <li><a href="">C programming course (brocode)</a></li>
+ </ul>
+ </ul>
+ </section>
</main>
</div>
<script src="../script.js"></script>
diff --git a/public/projects/programs/Fakefetch b/public/projects/programs/Fakefetch
@@ -13,8 +13,8 @@
<hr>
<ul>
<li><a href="#info">Fakefetch</a></li>
- <li><a href="#news">News</a></li>
<li><a href="#images">Images</a></li>
+ <li><a href="#news">News</a></li>
<li><a onclick="window.open('https://gitlab.com/Shipwreckt/Fakefetch', '_blank')">GitLab</a></li>
</ul>
</div>
@@ -41,14 +41,7 @@
<div class="about-text">
<h3>Background</h3>
<p>
- Fakefetch is the first real program I have ever created that I use daily apart from config
- files. I made fakefetch when I saw people complaining about neofetch being slow that is why
- I have called it fakefetch. In the start it was just 10 lines of bash echo commands which is
- like printing in python, so it was bascially bare theminimun, and I was not proud of this
- program I was like ok thats done just add it to my .bashrc and continue using Linux. After
- about a day I wanted to see if I could add more to it like the uptime, then comes what
- package manager im using and after a while I have made my own mini neofetch program that I
- can use on all of my computers.
+ Fakefetch is the first real program I have ever created that I use daily apart from config files. I made fakefetch when I saw people complaining about neofetch being slow that is why I have called it fakefetch. In the start it was just 10 lines of bash with the 'echo' commands which is like 'print' function in python if you do not know, so it was bascially bare minimun, and I was not proud of this program I was like 'ok thats done just add it to my .bashrc' and continue using Linux. After about a day I wanted to see if I could add more to it like the uptime, then comes what package manager im using and after a while I just rewrote it in C and low and behold I have made my own mini neofetch program that I can use on all of my computers.
</p>
</div>
@@ -56,15 +49,10 @@
</p>
<h3><b>What is Fakefetch</b></h3>
- <p>Fakefetch is an alternative I have made to neofetch, it is written in bash script (like neofetch) but is not a billion lines long meaning it is less bloated. In the future I plan to re-write Fakefetch in the C programming language so it is faster.</p>
+ <p>Fakefetch is an alternative I have made to neofetch, it is written in the C programming language unlike neofetch which is written in bash and due to the fact I have written Fakefetch in C it is way faster then neofetch. In the future I plan to add more features to Fakefetch and make it more user friendly. I do plan on making a Tui customizer at some point to make your own fakefetch script.</p>
<h3><b>Why Fakefetch?</b></h3>
- <p>The main reason why you should use Fakefetch is because it is a very flexible program
- being written in bash script; it is not a large program, only being one file large and does
- not slow down your computer at all unlike Neofetch. Fakefetch is also very hackable thanks
- to how I have commented on the code, meaning you can make your own Fakefetch versions and
- make it do whatever you want thanks to it being licensed under the GPL, so you have the
- right to redistribute it if you make your own versions that you can share with anybody.</p>
+ <p>The main reason why you should use Fakefetch is because it is a very flexible program being written in the C programming language; it is not a large program, only being one file large so far and does not slow down your computer at all unlike Neofetch. Fakefetch is also very hackable thanks to how I have commented on the code, meaning you can make your own Fakefetch versions and make it do whatever you want thanks to it being licensed under the GPL, so you have the right to redistribute it if you make your own versions that you can share with anybody.</p>
<h3><b>How to install</b></h3>
<li>Step one: The first thing you want to do is clone the gitlab project, you can do
@@ -88,6 +76,11 @@
<img src="../../Images/Fakefetch/plumarch.png" width="900" height="auto" class="space-image">
</section>
+ <section id="news">
+ <h2>Great rewrite</h2><h3>Date: 8/7/2024</h3>
+ <p>First post hello there! So yesterday there was a big update to Fakefetch, which involved me basically reprogramming the whole thing in the C programming language in my efforts to understand it more. Now the program might have some missing features compared to when it was written in bash, but in the coming week I will be adding more code to it and more features, so stay tuned in!</p>
+ </section>
+
</main>
</div>
diff --git a/public/styles.css b/public/styles.css
@@ -131,6 +131,7 @@ main h1, main h2, main h3 {
main p {
margin: 10px 0;
+ color: #cacaca
}
main a {