Skip to content

Commit

Permalink
added syntax highlighting and copied over images for image support
Browse files Browse the repository at this point in the history
  • Loading branch information
404salad committed Dec 10, 2024
1 parent 3508419 commit 1b6406c
Show file tree
Hide file tree
Showing 25 changed files with 426 additions and 58 deletions.
4 changes: 2 additions & 2 deletions content/Cronjobs.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ Here is a basic rundown-
- crontab is the tab of all cronjobs
- run `crontab -e` it will ask for setup, use your favorite editor

```
```bash
export EDITOR=nvim
```
now run `crontab -e` again and you should be able to access the file
```
```bash
# Add this line to your crontab file to run the backup every day at 2 AM
0 2 * * * rsync -ah --info=progress2 /path/to/source /path/to/destination
```
Expand Down
Empty file added content/thing.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 6 additions & 4 deletions dist/articles/Cronjobs.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,13 @@
<head>
<meta charset="UTF-8">
<link rel="stylesheet" href="../style.css">
<title>Cronjobs.md</title>
<link rel="stylesheet" href="../prism.css">
<title>Cronjobs</title>
</head>
<body class="container">
<a href='../index.html'>home</a>
<h1> Cronjobs.md </h1>
<script src="../prism.js"></script>
<h1> Cronjobs </h1>
<hr>
<blockquote>
<p>running stuff in the background at a specified time is awesome</p>
Expand All @@ -19,10 +21,10 @@ <h1> Cronjobs.md </h1>
<li>crontab is the tab of all cronjobs</li>
<li>run <code>crontab -e</code> it will ask for setup, use your favorite editor</li>
</ul>
<pre><code>export EDITOR=nvim
<pre><code class="language-bash">export EDITOR=nvim
</code></pre>
<p>now run <code>crontab -e</code> again and you should be able to access the file</p>
<pre><code># Add this line to your crontab file to run the backup every day at 2 AM
<pre><code class="language-bash"># Add this line to your crontab file to run the backup every day at 2 AM
0 2 * * * rsync -ah --info=progress2 /path/to/source /path/to/destination
</code></pre>
<p>those asterics are wildcards! It means run it everytime<br />
Expand Down
6 changes: 4 additions & 2 deletions dist/articles/Debugging C++ Programs with GDB.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,13 @@
<head>
<meta charset="UTF-8">
<link rel="stylesheet" href="../style.css">
<title>Debugging C++ Programs with GDB.md</title>
<link rel="stylesheet" href="../prism.css">
<title>Debugging C++ Programs with GDB</title>
</head>
<body class="container">
<a href='../index.html'>home</a>
<h1> Debugging C++ Programs with GDB.md </h1>
<script src="../prism.js"></script>
<h1> Debugging C++ Programs with GDB </h1>
<hr>
<p>If you don’t use GDB but program in C/C++, you are missing out on a powerful debugging tool. Here’s a quick 5-minute tutorial to get you started.</p>
<h2>Step 1: Compile with Debug Symbols</h2>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,13 @@
<head>
<meta charset="UTF-8">
<link rel="stylesheet" href="../style.css">
<title>Every Programmer Should Watch Conference Talks on YouTube.md</title>
<link rel="stylesheet" href="../prism.css">
<title>Every Programmer Should Watch Conference Talks on YouTube</title>
</head>
<body class="container">
<a href='../index.html'>home</a>
<h1> Every Programmer Should Watch Conference Talks on YouTube.md </h1>
<script src="../prism.js"></script>
<h1> Every Programmer Should Watch Conference Talks on YouTube </h1>
<hr>
<p>I was going to write a longer article to convince everyone to watch the conferences but Its much better to give a summary of my favorite talks and hopefully that will be persuasive enough~</p>
<h3><a href="https://www.youtube.com/watch?v=o_AIw9bGogo">“The Tragedy of systemd” - Benno Rice</a></h3>
Expand Down
6 changes: 4 additions & 2 deletions dist/articles/Makefiles:).html
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,13 @@
<head>
<meta charset="UTF-8">
<link rel="stylesheet" href="../style.css">
<title>Makefiles:).md</title>
<link rel="stylesheet" href="../prism.css">
<title>Makefiles:)</title>
</head>
<body class="container">
<a href='../index.html'>home</a>
<h1> Makefiles:).md </h1>
<script src="../prism.js"></script>
<h1> Makefiles:) </h1>
<hr>
<h2>Quick and Easy Makefile Guide</h2>
<p>Begin by crafting a file named <code>Makefile</code> – the control center for your project’s build rules.</p>
Expand Down
6 changes: 4 additions & 2 deletions dist/articles/On Logging.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,13 @@
<head>
<meta charset="UTF-8">
<link rel="stylesheet" href="../style.css">
<title>On Logging.md</title>
<link rel="stylesheet" href="../prism.css">
<title>On Logging</title>
</head>
<body class="container">
<a href='../index.html'>home</a>
<h1> On Logging.md </h1>
<script src="../prism.js"></script>
<h1> On Logging </h1>
<hr>
<blockquote>
<p>just log everything </p>
Expand Down
6 changes: 4 additions & 2 deletions dist/articles/deletethis.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,13 @@
<head>
<meta charset="UTF-8">
<link rel="stylesheet" href="../style.css">
<title>deletethis.md</title>
<link rel="stylesheet" href="../prism.css">
<title>deletethis</title>
</head>
<body class="container">
<a href='../index.html'>home</a>
<h1> deletethis.md </h1>
<script src="../prism.js"></script>
<h1> deletethis </h1>
<hr>
<p>we can go over this
we can move back </p>
Expand Down
6 changes: 4 additions & 2 deletions dist/articles/file_for_testing2.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,13 @@
<head>
<meta charset="UTF-8">
<link rel="stylesheet" href="../style.css">
<title>file_for_testing2.md</title>
<link rel="stylesheet" href="../prism.css">
<title>file_for_testing2</title>
</head>
<body class="container">
<a href='../index.html'>home</a>
<h1> file_for_testing2.md </h1>
<script src="../prism.js"></script>
<h1> file_for_testing2 </h1>
<hr>
<p>sometimes i think about how some feature is working</p>

Expand Down
6 changes: 4 additions & 2 deletions dist/articles/image.html

Large diffs are not rendered by default.

6 changes: 4 additions & 2 deletions dist/articles/image2.html

Large diffs are not rendered by default.

6 changes: 4 additions & 2 deletions dist/articles/mon.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,13 @@
<head>
<meta charset="UTF-8">
<link rel="stylesheet" href="../style.css">
<title>mon.md</title>
<link rel="stylesheet" href="../prism.css">
<title>mon</title>
</head>
<body class="container">
<a href='../index.html'>home</a>
<h1> mon.md </h1>
<script src="../prism.js"></script>
<h1> mon </h1>
<hr>

</body>
Expand Down
6 changes: 4 additions & 2 deletions dist/articles/moo.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,13 @@
<head>
<meta charset="UTF-8">
<link rel="stylesheet" href="../style.css">
<title>moo.md</title>
<link rel="stylesheet" href="../prism.css">
<title>moo</title>
</head>
<body class="container">
<a href='../index.html'>home</a>
<h1> moo.md </h1>
<script src="../prism.js"></script>
<h1> moo </h1>
<hr>

</body>
Expand Down
6 changes: 4 additions & 2 deletions dist/articles/new_blog.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,13 @@
<head>
<meta charset="UTF-8">
<link rel="stylesheet" href="../style.css">
<title>new_blog.md</title>
<link rel="stylesheet" href="../prism.css">
<title>new_blog</title>
</head>
<body class="container">
<a href='../index.html'>home</a>
<h1> new_blog.md </h1>
<script src="../prism.js"></script>
<h1> new_blog </h1>
<hr>
<h1>this is a new blog</h1>
<p>i wonder if the feature is working<br />
Expand Down
6 changes: 4 additions & 2 deletions dist/articles/newer_blog.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,13 @@
<head>
<meta charset="UTF-8">
<link rel="stylesheet" href="../style.css">
<title>newer_blog.md</title>
<link rel="stylesheet" href="../prism.css">
<title>newer_blog</title>
</head>
<body class="container">
<a href='../index.html'>home</a>
<h1> newer_blog.md </h1>
<script src="../prism.js"></script>
<h1> newer_blog </h1>
<hr>

</body>
Expand Down
6 changes: 4 additions & 2 deletions dist/articles/newest_blog.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,13 @@
<head>
<meta charset="UTF-8">
<link rel="stylesheet" href="../style.css">
<title>newest_blog.md</title>
<link rel="stylesheet" href="../prism.css">
<title>newest_blog</title>
</head>
<body class="container">
<a href='../index.html'>home</a>
<h1> newest_blog.md </h1>
<script src="../prism.js"></script>
<h1> newest_blog </h1>
<hr>
<h2>we can see that this is the one on top!</h2>
<p>we can go over this<br />
Expand Down
6 changes: 4 additions & 2 deletions dist/articles/readme.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,13 @@
<head>
<meta charset="UTF-8">
<link rel="stylesheet" href="../style.css">
<title>readme.md</title>
<link rel="stylesheet" href="../prism.css">
<title>readme</title>
</head>
<body class="container">
<a href='../index.html'>home</a>
<h1> readme.md </h1>
<script src="../prism.js"></script>
<h1> readme </h1>
<hr>
<p>this is a blog and a static site generator<br />
simply converts a folder of markdown files to a blog webpage</p>
Expand Down
Empty file added dist/articles/thing.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
28 changes: 14 additions & 14 deletions dist/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -37,35 +37,35 @@ <h6>sahil
<br>
<br>
<section id="articleList"><article>
<a href="articles/newer_blog.html"> newer_blog </a>
</article><article>
<a href="articles/image.html"> image </a>
<a href="articles/Cronjobs.html"> Cronjobs </a>
</article><article>
<a href="articles/Every Programmer Should Watch Conference Talks on YouTube.html"> Every Programmer Should Watch Conference Talks on YouTube </a>
<a href="articles/new_blog.html"> new_blog </a>
</article><article>
<a href="articles/Cronjobs.html"> Cronjobs </a>
<a href="articles/readme.html"> readme </a>
</article><article>
<a href="articles/Makefiles:).html"> Makefiles:) </a>
<a href="articles/newest_blog.html"> newest_blog </a>
</article><article>
<a href="articles/deletethis.html"> deletethis </a>
<a href="articles/mon.html"> mon </a>
</article><article>
<a href="articles/moo.html"> moo </a>
</article><article>
<a href="articles/image2.html"> image2 </a>
<a href="articles/newer_blog.html"> newer_blog </a>
</article><article>
<a href="articles/file_for_testing2.html"> file_for_testing2 </a>
<a href="articles/image2.html"> image2 </a>
</article><article>
<a href="articles/mon.html"> mon </a>
<a href="articles/image.html"> image </a>
</article><article>
<a href="articles/newest_blog.html"> newest_blog </a>
<a href="articles/Debugging C++ Programs with GDB.html"> Debugging C++ Programs with GDB </a>
</article><article>
<a href="articles/On Logging.html"> On Logging </a>
</article><article>
<a href="articles/readme.html"> readme </a>
<a href="articles/file_for_testing2.html"> file_for_testing2 </a>
</article><article>
<a href="articles/new_blog.html"> new_blog </a>
<a href="articles/deletethis.html"> deletethis </a>
</article><article>
<a href="articles/Debugging C++ Programs with GDB.html"> Debugging C++ Programs with GDB </a>
<a href="articles/Every Programmer Should Watch Conference Talks on YouTube.html"> Every Programmer Should Watch Conference Talks on YouTube </a>
</article><article>
<a href="articles/Makefiles:).html"> Makefiles:) </a>
</article>
</section>
</body>
Expand Down
4 changes: 4 additions & 0 deletions dist/prism.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 1b6406c

Please sign in to comment.