This commit is contained in:
Emin Arslan 2024-10-30 18:18:30 +03:00
parent 4f0cccf078
commit c7c18a2ee9
12 changed files with 56 additions and 51 deletions

View File

@ -1,7 +1,10 @@
+++ +++
type = misc
title = 'About' title = 'About'
date = 2024-10-24T23:17:52+03:00 date = 2024-10-24T23:17:52+03:00
draft = false draft = false
bio = true
+++ +++
# About me # About me

View File

@ -22,7 +22,7 @@ made a small change to the page, I had to manually rebuild it, then upload the
updated version to my server and put it in the web directory. updated version to my server and put it in the web directory.
This is a cumbersome process. The whole point of using hugo is to *focus on the This is a cumbersome process. The whole point of using hugo is to *focus on the
writing*, so having to rebuild and reupload for every typo is... not great. I writing*, so having to zip and reupload for every typo is... not great. I
wanted to be able to do a simple `git push`, and not worry about the rest. wanted to be able to do a simple `git push`, and not worry about the rest.
The previous "manual" approach also depends on me having already installed all The previous "manual" approach also depends on me having already installed all
@ -116,17 +116,18 @@ with each other.
Usually, on a server, each application *isn't* totally separate from each other Usually, on a server, each application *isn't* totally separate from each other
- for my own usecase, I want my git server (e.g. gogs) to automatically build - for my own usecase, I want my git server (e.g. gogs) to automatically build
and update my website whenever I push to its git repository. That means my git and update my website whenever I push to its git repository. That means my git
server and web server can't be *totally* separate, there's some amount of relation. server and web server can't be *totally* separate, there's some amount of
Pods can help with this. relation. Pods can help with this.
Pods allow you to create a "pod" containing several containers, sharing resources Pods allow you to create a "pod" containing several containers, sharing resources
with each other, etc. For example, I could run a pod with nginx and gogs running with each other, etc. For example, I could run a pod with nginx and gogs running
in seperate containers - then, the nginx server could act as a reverse proxy based in seperate containers - then, the nginx server could act as a reverse proxy
on host name, showing the web page on emin.software, and the git server on based on host name, showing the web page on emin.software, and the git server on
git.emin.software. Nginx redirects to gogs which only binds to *the pod's git.emin.software. Nginx redirects to gogs which only binds to *the pod's
localhost address*, so only nginx can reach it. Likewise, a database server can localhost address*, so only nginx can reach it. Likewise, a database server can
be added to the pod only for the git server to use, so that it can't be reached be added to the pod only for the git server to use, so that it can't be reached
from the outside the pod - and it is logically grouped along with the rest of the pod. from the outside the pod - and it is logically grouped along with the rest of
the pod.
On top of this, pods can be built purely from a kubernetes-compatible configuration On top of this, pods can be built purely from a kubernetes-compatible
file, so setting them up is relatively easy. configuration file, so setting them up is relatively easy.

View File

@ -1,5 +1,5 @@
<!doctype html><html lang="en-us"> <!doctype html><html lang="en-us">
<head> <head><script src="/livereload.js?mindelay=10&amp;v=2&amp;port=1313&amp;path=livereload" data-no-instant defer></script>
<meta charset="utf-8" /> <meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" />
@ -43,7 +43,7 @@
<meta property="og:url" content="https://emin.software/404.html"> <meta property="og:url" content="http://localhost:1313/404.html">
<meta property="og:site_name" content="haxala1r"> <meta property="og:site_name" content="haxala1r">
<meta property="og:title" content="404 Page not found"> <meta property="og:title" content="404 Page not found">
<meta property="og:locale" content="en_us"> <meta property="og:locale" content="en_us">
@ -72,7 +72,7 @@
<section class="mx-auto flex max-w-screen-xl items-center justify-between p-4"> <section class="mx-auto flex max-w-screen-xl items-center justify-between p-4">
<a href="https://emin.software/" class="flex items-center space-x-3"> <a href="http://localhost:1313/" class="flex items-center space-x-3">
<span class="self-center whitespace-nowrap text-2xl font-semibold text-slate-700 dark:text-slate-400"> <span class="self-center whitespace-nowrap text-2xl font-semibold text-slate-700 dark:text-slate-400">
haxala1r haxala1r

View File

@ -1,5 +1,5 @@
<!doctype html><html lang="en-us"> <!doctype html><html lang="en-us">
<head> <head><script src="/livereload.js?mindelay=10&amp;v=2&amp;port=1313&amp;path=livereload" data-no-instant defer></script>
<meta charset="utf-8" /> <meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" />
@ -43,7 +43,7 @@
<meta property="og:url" content="https://emin.software/about/"> <meta property="og:url" content="http://localhost:1313/about/">
<meta property="og:site_name" content="haxala1r"> <meta property="og:site_name" content="haxala1r">
<meta property="og:title" content="About"> <meta property="og:title" content="About">
<meta property="og:description" content="About me Hi, Im Emin! <meta property="og:description" content="About me Hi, Im Emin!
@ -80,7 +80,7 @@ I mostly do systems programming - I feel most at home when I use C&#43;&#43; or
<section class="mx-auto flex max-w-screen-xl items-center justify-between p-4"> <section class="mx-auto flex max-w-screen-xl items-center justify-between p-4">
<a href="https://emin.software/" class="flex items-center space-x-3"> <a href="http://localhost:1313/" class="flex items-center space-x-3">
<span class="self-center whitespace-nowrap text-2xl font-semibold text-slate-700 dark:text-slate-400"> <span class="self-center whitespace-nowrap text-2xl font-semibold text-slate-700 dark:text-slate-400">
haxala1r haxala1r

View File

@ -2,10 +2,10 @@
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"> <rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel> <channel>
<title>Categories on haxala1r</title> <title>Categories on haxala1r</title>
<link>https://emin.software/categories/</link> <link>http://localhost:1313/categories/</link>
<description>Recent content in Categories on haxala1r</description> <description>Recent content in Categories on haxala1r</description>
<generator>Hugo</generator> <generator>Hugo</generator>
<language>en-us</language> <language>en-us</language>
<atom:link href="https://emin.software/categories/index.xml" rel="self" type="application/rss+xml" /> <atom:link href="http://localhost:1313/categories/index.xml" rel="self" type="application/rss+xml" />
</channel> </channel>
</rss> </rss>

View File

@ -1,5 +1,5 @@
<!doctype html><html lang="en-us"> <!doctype html><html lang="en-us">
<head> <head><script src="/livereload.js?mindelay=10&amp;v=2&amp;port=1313&amp;path=livereload" data-no-instant defer></script>
<meta charset="utf-8" /> <meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" />
@ -43,7 +43,7 @@
<meta property="og:url" content="https://emin.software/"> <meta property="og:url" content="http://localhost:1313/">
<meta property="og:site_name" content="haxala1r"> <meta property="og:site_name" content="haxala1r">
<meta property="og:title" content="haxala1r"> <meta property="og:title" content="haxala1r">
<meta property="og:locale" content="en_us"> <meta property="og:locale" content="en_us">
@ -72,7 +72,7 @@
<section class="mx-auto flex max-w-screen-xl items-center justify-between p-4"> <section class="mx-auto flex max-w-screen-xl items-center justify-between p-4">
<a href="https://emin.software/" class="flex items-center space-x-3"> <a href="http://localhost:1313/" class="flex items-center space-x-3">
<span class="self-center whitespace-nowrap text-2xl font-semibold text-slate-700 dark:text-slate-400"> <span class="self-center whitespace-nowrap text-2xl font-semibold text-slate-700 dark:text-slate-400">
haxala1r haxala1r

View File

@ -2,24 +2,24 @@
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"> <rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel> <channel>
<title>haxala1r</title> <title>haxala1r</title>
<link>https://emin.software/</link> <link>http://localhost:1313/</link>
<description>Recent content on haxala1r</description> <description>Recent content on haxala1r</description>
<generator>Hugo</generator> <generator>Hugo</generator>
<language>en-us</language> <language>en-us</language>
<lastBuildDate>Fri, 25 Oct 2024 23:11:17 +0300</lastBuildDate> <lastBuildDate>Fri, 25 Oct 2024 23:11:17 +0300</lastBuildDate>
<atom:link href="https://emin.software/index.xml" rel="self" type="application/rss+xml" /> <atom:link href="http://localhost:1313/index.xml" rel="self" type="application/rss+xml" />
<item> <item>
<title>My Setup - p1</title> <title>My Setup - p1</title>
<link>https://emin.software/posts/setup_p1/</link> <link>http://localhost:1313/posts/setup_p1/</link>
<pubDate>Fri, 25 Oct 2024 23:11:17 +0300</pubDate> <pubDate>Fri, 25 Oct 2024 23:11:17 +0300</pubDate>
<guid>https://emin.software/posts/setup_p1/</guid> <guid>http://localhost:1313/posts/setup_p1/</guid>
<description>My Setup In this &amp;lsquo;series&amp;rsquo; I will be walking you through my process of how I host everything on this server.&#xA;I&amp;rsquo;m currently running, on top of my blog, a gogs instance.&#xA;When first creating this website, I just had my blog. I generated this blog using hugo: a static site generator. Hugo allowed me to focus on writing whatever I wanted in Markdown format, it would take care of converting my writing into HTML and CSS.</description> <description>My Setup In this &amp;lsquo;series&amp;rsquo; I will be walking you through my process of how I host everything on this server.&#xA;I&amp;rsquo;m currently running, on top of my blog, a gogs instance.&#xA;When first creating this website, I just had my blog. I generated this blog using hugo: a static site generator. Hugo allowed me to focus on writing whatever I wanted in Markdown format, it would take care of converting my writing into HTML and CSS.</description>
</item> </item>
<item> <item>
<title>About</title> <title>About</title>
<link>https://emin.software/about/</link> <link>http://localhost:1313/about/</link>
<pubDate>Thu, 24 Oct 2024 23:17:52 +0300</pubDate> <pubDate>Thu, 24 Oct 2024 23:17:52 +0300</pubDate>
<guid>https://emin.software/about/</guid> <guid>http://localhost:1313/about/</guid>
<description>About me Hi, I&amp;rsquo;m Emin!&#xA;I am a second year Computer Engineering student at Izmir University of Economics. I like all things programming and computers.&#xA;I mostly do systems programming - I feel most at home when I use C++ or C, though I&amp;rsquo;ve used Rust, Java and many other languages to varying degrees. I also had a phase when I was really into Common Lisp. Seriously, using a language with true macros is an entirely different experience.</description> <description>About me Hi, I&amp;rsquo;m Emin!&#xA;I am a second year Computer Engineering student at Izmir University of Economics. I like all things programming and computers.&#xA;I mostly do systems programming - I feel most at home when I use C++ or C, though I&amp;rsquo;ve used Rust, Java and many other languages to varying degrees. I also had a phase when I was really into Common Lisp. Seriously, using a language with true macros is an entirely different experience.</description>
</item> </item>
</channel> </channel>

View File

@ -1,5 +1,5 @@
<!doctype html><html lang="en-us"> <!doctype html><html lang="en-us">
<head> <head><script src="/livereload.js?mindelay=10&amp;v=2&amp;port=1313&amp;path=livereload" data-no-instant defer></script>
<meta charset="utf-8" /> <meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" />
@ -43,7 +43,7 @@
<meta property="og:url" content="https://emin.software/posts/"> <meta property="og:url" content="http://localhost:1313/posts/">
<meta property="og:site_name" content="haxala1r"> <meta property="og:site_name" content="haxala1r">
<meta property="og:title" content="Blog"> <meta property="og:title" content="Blog">
<meta property="og:locale" content="en_us"> <meta property="og:locale" content="en_us">
@ -72,7 +72,7 @@
<section class="mx-auto flex max-w-screen-xl items-center justify-between p-4"> <section class="mx-auto flex max-w-screen-xl items-center justify-between p-4">
<a href="https://emin.software/" class="flex items-center space-x-3"> <a href="http://localhost:1313/" class="flex items-center space-x-3">
<span class="self-center whitespace-nowrap text-2xl font-semibold text-slate-700 dark:text-slate-400"> <span class="self-center whitespace-nowrap text-2xl font-semibold text-slate-700 dark:text-slate-400">
haxala1r haxala1r

View File

@ -2,17 +2,17 @@
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"> <rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel> <channel>
<title>Blog on haxala1r</title> <title>Blog on haxala1r</title>
<link>https://emin.software/posts/</link> <link>http://localhost:1313/posts/</link>
<description>Recent content in Blog on haxala1r</description> <description>Recent content in Blog on haxala1r</description>
<generator>Hugo</generator> <generator>Hugo</generator>
<language>en-us</language> <language>en-us</language>
<lastBuildDate>Fri, 25 Oct 2024 23:11:17 +0300</lastBuildDate> <lastBuildDate>Fri, 25 Oct 2024 23:11:17 +0300</lastBuildDate>
<atom:link href="https://emin.software/posts/index.xml" rel="self" type="application/rss+xml" /> <atom:link href="http://localhost:1313/posts/index.xml" rel="self" type="application/rss+xml" />
<item> <item>
<title>My Setup - p1</title> <title>My Setup - p1</title>
<link>https://emin.software/posts/setup_p1/</link> <link>http://localhost:1313/posts/setup_p1/</link>
<pubDate>Fri, 25 Oct 2024 23:11:17 +0300</pubDate> <pubDate>Fri, 25 Oct 2024 23:11:17 +0300</pubDate>
<guid>https://emin.software/posts/setup_p1/</guid> <guid>http://localhost:1313/posts/setup_p1/</guid>
<description>My Setup In this &amp;lsquo;series&amp;rsquo; I will be walking you through my process of how I host everything on this server.&#xA;I&amp;rsquo;m currently running, on top of my blog, a gogs instance.&#xA;When first creating this website, I just had my blog. I generated this blog using hugo: a static site generator. Hugo allowed me to focus on writing whatever I wanted in Markdown format, it would take care of converting my writing into HTML and CSS.</description> <description>My Setup In this &amp;lsquo;series&amp;rsquo; I will be walking you through my process of how I host everything on this server.&#xA;I&amp;rsquo;m currently running, on top of my blog, a gogs instance.&#xA;When first creating this website, I just had my blog. I generated this blog using hugo: a static site generator. Hugo allowed me to focus on writing whatever I wanted in Markdown format, it would take care of converting my writing into HTML and CSS.</description>
</item> </item>
</channel> </channel>

View File

@ -1,5 +1,5 @@
<!doctype html><html lang="en-us"> <!doctype html><html lang="en-us">
<head> <head><script src="/livereload.js?mindelay=10&amp;v=2&amp;port=1313&amp;path=livereload" data-no-instant defer></script>
<meta charset="utf-8" /> <meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" />
@ -43,7 +43,7 @@
<meta property="og:url" content="https://emin.software/posts/setup_p1/"> <meta property="og:url" content="http://localhost:1313/posts/setup_p1/">
<meta property="og:site_name" content="haxala1r"> <meta property="og:site_name" content="haxala1r">
<meta property="og:title" content="My Setup - p1"> <meta property="og:title" content="My Setup - p1">
<meta property="og:description" content="My Setup In this series I will be walking you through my process of how I host everything on this server. <meta property="og:description" content="My Setup In this series I will be walking you through my process of how I host everything on this server.
@ -81,7 +81,7 @@ When first creating this website, I just had my blog. I generated this blog usin
<section class="mx-auto flex max-w-screen-xl items-center justify-between p-4"> <section class="mx-auto flex max-w-screen-xl items-center justify-between p-4">
<a href="https://emin.software/" class="flex items-center space-x-3"> <a href="http://localhost:1313/" class="flex items-center space-x-3">
<span class="self-center whitespace-nowrap text-2xl font-semibold text-slate-700 dark:text-slate-400"> <span class="self-center whitespace-nowrap text-2xl font-semibold text-slate-700 dark:text-slate-400">
haxala1r haxala1r
@ -178,7 +178,7 @@ converting my writing into HTML and CSS.</p>
made a small change to the page, I had to manually rebuild it, then upload the made a small change to the page, I had to manually rebuild it, then upload the
updated version to my server and put it in the web directory.</p> updated version to my server and put it in the web directory.</p>
<p>This is a cumbersome process. The whole point of using hugo is to <em>focus on the <p>This is a cumbersome process. The whole point of using hugo is to <em>focus on the
writing</em>, so having to rebuild and reupload for every typo is&hellip; not great. I writing</em>, so having to zip and reupload for every typo is&hellip; not great. I
wanted to be able to do a simple <code>git push</code>, and not worry about the rest.</p> wanted to be able to do a simple <code>git push</code>, and not worry about the rest.</p>
<p>The previous &ldquo;manual&rdquo; approach also depends on me having already installed all <p>The previous &ldquo;manual&rdquo; approach also depends on me having already installed all
necessary software. If you have a dedicated server that you&rsquo;re running yourself, necessary software. If you have a dedicated server that you&rsquo;re running yourself,
@ -255,19 +255,20 @@ with each other.</p>
<ul> <ul>
<li>for my own usecase, I want my git server (e.g. gogs) to automatically build <li>for my own usecase, I want my git server (e.g. gogs) to automatically build
and update my website whenever I push to its git repository. That means my git and update my website whenever I push to its git repository. That means my git
server and web server can&rsquo;t be <em>totally</em> separate, there&rsquo;s some amount of relation. server and web server can&rsquo;t be <em>totally</em> separate, there&rsquo;s some amount of
Pods can help with this.</li> relation. Pods can help with this.</li>
</ul> </ul>
<p>Pods allow you to create a &ldquo;pod&rdquo; containing several containers, sharing resources <p>Pods allow you to create a &ldquo;pod&rdquo; containing several containers, sharing resources
with each other, etc. For example, I could run a pod with nginx and gogs running with each other, etc. For example, I could run a pod with nginx and gogs running
in seperate containers - then, the nginx server could act as a reverse proxy based in seperate containers - then, the nginx server could act as a reverse proxy
on host name, showing the web page on emin.software, and the git server on based on host name, showing the web page on emin.software, and the git server on
git.emin.software. Nginx redirects to gogs which only binds to <em>the pod&rsquo;s git.emin.software. Nginx redirects to gogs which only binds to <em>the pod&rsquo;s
localhost address</em>, so only nginx can reach it. Likewise, a database server can localhost address</em>, so only nginx can reach it. Likewise, a database server can
be added to the pod only for the git server to use, so that it can&rsquo;t be reached be added to the pod only for the git server to use, so that it can&rsquo;t be reached
from the outside the pod - and it is logically grouped along with the rest of the pod.</p> from the outside the pod - and it is logically grouped along with the rest of
<p>On top of this, pods can be built purely from a kubernetes-compatible configuration the pod.</p>
file, so setting them up is relatively easy.</p> <p>On top of this, pods can be built purely from a kubernetes-compatible
configuration file, so setting them up is relatively easy.</p>
</span> </span>
</article> </article>

View File

@ -2,20 +2,20 @@
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" <urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
xmlns:xhtml="http://www.w3.org/1999/xhtml"> xmlns:xhtml="http://www.w3.org/1999/xhtml">
<url> <url>
<loc>https://emin.software/posts/</loc> <loc>http://localhost:1313/posts/</loc>
<lastmod>2024-10-28T23:41:06+03:00</lastmod> <lastmod>2024-10-28T23:41:06+03:00</lastmod>
</url><url> </url><url>
<loc>https://emin.software/</loc> <loc>http://localhost:1313/</loc>
<lastmod>2024-10-28T23:41:06+03:00</lastmod> <lastmod>2024-10-28T23:41:06+03:00</lastmod>
</url><url> </url><url>
<loc>https://emin.software/posts/setup_p1/</loc> <loc>http://localhost:1313/posts/setup_p1/</loc>
<lastmod>2024-10-25T23:11:17+03:00</lastmod> <lastmod>2024-10-25T23:11:17+03:00</lastmod>
</url><url> </url><url>
<loc>https://emin.software/about/</loc> <loc>http://localhost:1313/about/</loc>
<lastmod>2024-10-24T23:17:52+03:00</lastmod> <lastmod>2024-10-24T23:17:52+03:00</lastmod>
</url><url> </url><url>
<loc>https://emin.software/categories/</loc> <loc>http://localhost:1313/categories/</loc>
</url><url> </url><url>
<loc>https://emin.software/tags/</loc> <loc>http://localhost:1313/tags/</loc>
</url> </url>
</urlset> </urlset>

View File

@ -2,10 +2,10 @@
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"> <rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel> <channel>
<title>Tags on haxala1r</title> <title>Tags on haxala1r</title>
<link>https://emin.software/tags/</link> <link>http://localhost:1313/tags/</link>
<description>Recent content in Tags on haxala1r</description> <description>Recent content in Tags on haxala1r</description>
<generator>Hugo</generator> <generator>Hugo</generator>
<language>en-us</language> <language>en-us</language>
<atom:link href="https://emin.software/tags/index.xml" rel="self" type="application/rss+xml" /> <atom:link href="http://localhost:1313/tags/index.xml" rel="self" type="application/rss+xml" />
</channel> </channel>
</rss> </rss>