<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>General on n3s0 || notes</title>
    <link>https://notes.n3s0.tech/tags/general/</link>
    <description>Recent content in General on n3s0 || notes</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>en</language>
    <lastBuildDate>Fri, 13 Oct 2023 11:05:44 -0500</lastBuildDate><atom:link href="https://notes.n3s0.tech/tags/general/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Deploying Your Hugo Blog Development Server Using Podman/Docker Compose</title>
      <link>https://notes.n3s0.tech/posts/20231013110544/</link>
      <pubDate>Fri, 13 Oct 2023 11:05:44 -0500</pubDate>
      
      <guid>https://notes.n3s0.tech/posts/20231013110544/</guid>
      <description>Some workflow updates for the blog. A simple Hugo Podman/Docker container for writting content with docker/podman-compose.</description>
      <content:encoded><![CDATA[<p>Thought that I&rsquo;d play a little bit with the workflow of this site.
Perhaps it will be useful to others. Although installing Hugo extended
isn&rsquo;t difficult. I&rsquo;ve needed an environment that&rsquo;s suitable for testing
and reviewing before I deploy to the world.</p>
<p>Although Docker is still relevant to the world and I&rsquo;ll still learn it.
Ever since they started asking for more money. I shy away
from it and started poking more at Podman. With that. There&rsquo;s also
podman-compose. Which is equally as effective at getting the job done.
I haven&rsquo;t run into a lot of issues with it other then some networking
hiccups that I will discuss in a later post. Nothing major. Just
annoying.</p>
<p>For the review portion of the workflow I will be utilizing podman/docker
with podman/docker-compose. Which will make it easier because I won&rsquo;t be
limited to installing the software on every machine I get on. Just pull
the container and allow it to do the work for me.</p>
<p>Eventually I would like to noodle the creation of new posts and make
that a little more streamline. Another consideration is how to deploy to
production should I decide to host it in a different manner. At this
time, the bare minimum dev configuration is setup for the container.</p>
<p>Below is the Dockerfile used for deploying the dev container. The
Dockerfile will utilize klakegg&rsquo;s hugo:ext-alpine image and copy the
entire directory into the src directory of the container.</p>
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-Dockerfile" data-lang="Dockerfile"><span class="line"><span class="cl"><span class="k">FROM</span><span class="s"> klakegg/hugo:ext-alpine</span><span class="err">
</span></span></span><span class="line"><span class="cl"><span class="err"></span><span class="k">COPY</span> . /src<span class="err">
</span></span></span></code></pre></div><p>Below is the docker-compose.yml file used for deploying the dev
container. This will build a service named server that utilizes the
klakegg/hugo:ext-alpine image, execute the hugo server command with a
poll of 700ms, add a volume as the current working directory, and set
the port to 1313.</p>
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-yaml" data-lang="yaml"><span class="line"><span class="cl"><span class="nt">version</span><span class="p">:</span><span class="w"> </span><span class="m">3</span><span class="w">
</span></span></span><span class="line"><span class="cl"><span class="w"></span><span class="nt">services</span><span class="p">:</span><span class="w">
</span></span></span><span class="line"><span class="cl"><span class="w">  </span><span class="nt">server</span><span class="p">:</span><span class="w">
</span></span></span><span class="line"><span class="cl"><span class="w">    </span><span class="nt">image</span><span class="p">:</span><span class="w"> </span><span class="l">klakegg/hugo:ext-alpine</span><span class="w">
</span></span></span><span class="line"><span class="cl"><span class="w">    </span><span class="nt">command</span><span class="p">:</span><span class="w"> </span><span class="l">server --poll 700ms</span><span class="w">
</span></span></span><span class="line"><span class="cl"><span class="w">    </span><span class="nt">volumes</span><span class="p">:</span><span class="w">
</span></span></span><span class="line"><span class="cl"><span class="w">      </span>- <span class="s2">&#34;.:/src&#34;</span><span class="w">
</span></span></span><span class="line"><span class="cl"><span class="w">    </span><span class="nt">ports</span><span class="p">:</span><span class="w">
</span></span></span><span class="line"><span class="cl"><span class="w">      </span>- <span class="s2">&#34;1313:1313&#34;</span><span class="w">
</span></span></span></code></pre></div><p>It&rsquo;s very simple. Just the way I like it. Though, I have yet to test it
on a fresh environment. Something that I would also like to note. To
those who have never used docker-compose or podman-compose. They both
need to see the compose file.</p>
<p>After cloning the project there are a few commands that need to be
executed before seeing the site locally. This command will bring up the
container. To just deploy it without needing to interact with the
container. Add the <code>-d</code> flag to deploy it.</p>
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-sh" data-lang="sh"><span class="line"><span class="cl">podman-compose up
</span></span></code></pre></div><p>To tear down the stack. Execute the following command.</p>
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-sh" data-lang="sh"><span class="line"><span class="cl">podman-compose down
</span></span></code></pre></div><p>With that. I think that covers the fun for this today. If I miss
anything I&rsquo;ll put an update on this. But, I think the next steps for
this are to actually hone a production build so I can comfortably deploy
this anywhere.</p>
]]></content:encoded>
    </item>
    
    <item>
      <title>Moving Back To Hugo</title>
      <link>https://notes.n3s0.tech/posts/20220916103022/</link>
      <pubDate>Fri, 16 Sep 2022 10:30:22 -0500</pubDate>
      
      <guid>https://notes.n3s0.tech/posts/20220916103022/</guid>
      <description>Moving back to Hugo. Brief announcement.</description>
      <content:encoded><![CDATA[<p>Going to keep this short. I know I change the theme a lot for this site.
But, decided to move back to Hugo using the PaperModsX theme. It took a
little while to move the data over from Jekyll to Hugo. But, It&rsquo;s all
coming together now.</p>
<p>Below is the repository for the site.</p>
<ul>
<li><a href="https://gitlab.com/n3s0/n3s0.gitlab.io/">n3s0/n3s0.gitlab.io</a></li>
</ul>
<p>Below is the repository for the Hugo theme PaperModsX.</p>
<ul>
<li><a href="https://github.com/reorx/hugo-PaperModX/">reorx/hugo-PaperModX</a></li>
</ul>
<p>With that being said. I hope to update this site with more content soon.
I&rsquo;ve learned a few things while I&rsquo;ve been away.</p>
]]></content:encoded>
    </item>
    
    <item>
      <title>Some Ideas For Content</title>
      <link>https://notes.n3s0.tech/posts/20220304152010/</link>
      <pubDate>Fri, 04 Mar 2022 15:20:10 -0500</pubDate>
      
      <guid>https://notes.n3s0.tech/posts/20220304152010/</guid>
      <description>Noodling some content ideas for the site. Don&amp;#39;t mind me.</description>
      <content:encoded><![CDATA[<p>So, it&rsquo;s been a while since I&rsquo;ve just talked or thought &ldquo;out loud&rdquo;.
But, it&rsquo;s been about five years since I&rsquo;ve been in school. So, I&rsquo;m
considering taking my notes from school and posting them on here.</p>
<p>This includes the assignments that I&rsquo;ve completed, notes from the
text books I still have, and personal labs I did in my spare time.</p>
<p>This is something they encouraged while I was in school. But, I didn&rsquo;t
think I&rsquo;d need it. There are times I move back to that stuff for sure.
But, I thought that since I was over and done with some of that stuff
that I would never use it.</p>
<p>Textbooks will certainly need to be reread and notes taken. There are
lots of things that I missed from when I would fall asleep reading them.</p>
<p>Case in point. There will be little data dumps on here that I provide
from my school work back in the day. Should stuff be wrong inaccurate.
I will fix the data and notate that I was being dumb and should have
done better. A lot consisted of online labs with pictures.</p>
<p>Hopefully there isn&rsquo;t too much in there that would be considered relevant
to their programs today. I&rsquo;ll need to make sure the notes cannot be used
as a means for cheating.</p>
<p>But, considering the funding of some community collage IT programs, that
is up for consideration. Not a whole lot of funding goes into that in
some places. That or the money goes into other things within those
programs. Generally speaking it should go into teaching students
products that aren&rsquo;t End of Life (EOL). Just a thought. Small little
opinion. Students should be able to read documentation anyway. It&rsquo;s not
that hard.</p>
<p>Excuse the rambling, please. I&rsquo;ve had five cups of coffee today. That is
all. Thank you.</p>
]]></content:encoded>
    </item>
    
    <item>
      <title>New Blog</title>
      <link>https://notes.n3s0.tech/posts/20211213180946/</link>
      <pubDate>Mon, 13 Dec 2021 18:09:46 -0500</pubDate>
      
      <guid>https://notes.n3s0.tech/posts/20211213180946/</guid>
      <description>Decided to start another blog catered to programming.</description>
      <content:encoded><![CDATA[<p>So, I decided to create another one. Another blog that is. Figured it&rsquo;d
be good to separate different hats on different platforms. The idea
behind this one is my journey while I learn different programming
languages and concepts. I&rsquo;ve done some of it to solve problems for CTFs
in my other blog <a href="https://n3s0.gitlab.io/">n3s0 || info</a>. Though, I
thought maybe it&rsquo;d be best to make that into it&rsquo;s own little niche.
There are some CTFs I&rsquo;ve played on there along with some sysadmin stuff.
I may program to solve problems on it. But, those are generally small
scripts. They don&rsquo;t solve problems long term. It&rsquo;s where I will house a
lot of my &ldquo;Hacking&rdquo;, Administration, Blue Teaming, etc.</p>
<p>The name will probably be changed to something that keeps it in its
niche. But, I haven&rsquo;t quite figured that out yet. Doing one thing at a
time right now.</p>
<p>The other site will be useful for complimenting this one. It&rsquo;s where I
work out how to deploy applications and the like. If there&rsquo;s something
that could benefit an article on it. I&rsquo;ll provide a link.</p>
<p>This site will house me working through programming concepts. Stuff like
different languages, basic programming concepts, software security,
things that I find interesting about the behavior of certain languages,
and more. I&rsquo;m sure I&rsquo;ll find stuff to write about.</p>
<p>Another reason for this is to showcase my projects. If I&rsquo;m proud of
something I&rsquo;ve written to solve a problem in my life or begin
collaborating on a project with someone. I&rsquo;ll add it to the
<a href="/projects/">projects</a> link. Which will be a list of projects I&rsquo;ve
worked on or contributed to. I will make sure the source code is
readily available on Github or GitLab before I add the application to
the list.</p>
<p>Biggest part of this is for my own general amusement. I enjoy writing
software. Always have. I enjoy writing down my thoughts, also. Keeps my
head clear and provides future reference. There will be some fact and
some opinion. If the facts aren&rsquo;t up to par, you&rsquo;re more than welcome to
provide input. You may email me or submit an issue in the repository if
it&rsquo;s referencing the code I&rsquo;m writing about. You&rsquo;re also more than
welcome to discuss typos too. I do love me a good proof read.</p>
<p>This site was built using <a href="https://jekyllrb.com/">Jekyll</a>. Which I
honestly didn&rsquo;t think of myself doing. I tried it for a little while in
the past but then moved over to Hugo because it was just easier. Jekyll
isn&rsquo;t hard, per se. But, you know. I&rsquo;m lazy. Who doesn&rsquo;t like a one
liner command that will create a new page or post for you. But, learning
how Jekyll works and how to deploy it is beneficial.</p>
<p>The Jekyll theme I&rsquo;m using is named
<a href="https://github.com/mmistakes/minimal-mistakes">minimal-mistakes</a>. That
is the Github link. I certainly enjoy the layout and the overall feel.
One project might be porting the theme over to Hugo so that community
can use it. But, I fear I&rsquo;m a long ways away before I start porting the
theme to a different platform. Figured I&rsquo;d deploy it as a Jekyll
application as a reminder. Nothing against Jekyll. I just enjoy using
one tool to do the job. Jekyll is an awesome framework for static site
building. I&rsquo;ll probably be releasing my notes for installing Jekyll on
my laptop to <a href="https://n3s0.gitlab.io/">n3s0 || info</a> at some point.</p>
<p>Please note that the two blogs will be complimenting each other. Though
they don&rsquo;t look the same. References will be made that will take you to
the other one. Not sure why I&rsquo;m reexplaining this. But, there you go.</p>
<p>Without further ado. I hope you enjoy the content that is to come.
Thank you.</p>
]]></content:encoded>
    </item>
    
    <item>
      <title>Site Updates</title>
      <link>https://notes.n3s0.tech/posts/20211211141859/</link>
      <pubDate>Sat, 11 Dec 2021 14:18:59 -0500</pubDate>
      
      <guid>https://notes.n3s0.tech/posts/20211211141859/</guid>
      <description>Discussing some site updates</description>
      <content:encoded><![CDATA[<p>So, I&rsquo;ve decided to go back to the old Hugo theme; Hermit. Though, I know
this was the original theme for this blog. I&rsquo;m going back to it and I&rsquo;ve
decided to fork it. Original credit for the roots of the Hugo theme will
always go to the original author. You may check the theme of this blog
to provide more insight.</p>
<p>I&rsquo;ll be working on updating the theme; as many others have, so I can get
a feel for building and improving other peoples code. At some point, I
plan on auditing the original code base for
<a href="https://github.com/Track3/hermit">Track3/hermit</a>. Plan on making changes
that I find are improvements from the original design. These commits will
be tracked to the forked github repository
<a href="https://github.com/n3s0/hugo-hermit">n3s0/hugo-hermit</a>. This is all because
the original code base hasn&rsquo;t recieved much love. I don&rsquo;t see much benefit
to everyone else should someone else wants to use it as another project and
I offer to take ownership of the repo. Track3 made an aweseome theme. He
deserves the credit for it.</p>
<p>Some more things are to come. I&rsquo;m planning on building another pages site on
Github. This will be another niche site that allows me to separate my
programming hat from my IT, InfoSec, or DevOps hat. This will allow me to
showcase projects within a portfolio that I work on and document what I
learn about developing software. An awesome Jekyll theme that I found for
this is named <a href="https://github.com/mmistakes/minimal-mistakes">mmistakes/minimal-mistakes</a>.
I have forked this repository also. So I can stick with one platform, I
will be porting it over as a Hugo Theme. Which I will eventually release
on Github. Until then, I will plug away at it and see what I can do.</p>
<p>It&rsquo;s nice to finally write something after all this time. It&rsquo;s been a
while and I hope to write a lot more in the comming months. Stay tuned.</p>
]]></content:encoded>
    </item>
    
    <item>
      <title>Red Team and Blue Team Links Added Favlinks</title>
      <link>https://notes.n3s0.tech/posts/20210802144324/</link>
      <pubDate>Mon, 02 Aug 2021 14:43:24 -0500</pubDate>
      
      <guid>https://notes.n3s0.tech/posts/20210802144324/</guid>
      <description>Adding a curated list of links related to Red Team, Blue Team, and any team.</description>
      <content:encoded><![CDATA[<p>Over the course of the next few weeks or so I will be adding categories
to Favlinks, link below. This will be in the section that is named
<code>Red Team &amp; Blue Team Fun</code>.</p>
<ul>
<li><a href="https://n3s0.tech/favlinks">https://n3s0.tech/favlinks/</a></li>
</ul>
<p>Amongst other link categories, there will be one that will be dedicated
to things like CTFs, Wargames, &amp; Hacking challenges. Sometimes people
like to get started with a particular project in mind. Some lose all their
links to the death of their computer. This happens. It&rsquo;s a fact of life.</p>
<p>So, should anyone find themselves a link that isn&rsquo;t in this list. Let me
know and I&rsquo;ll add it. The Favlinks page is there to provide resources
for everyone. Some will be ones that I frequent the most. Others will be
there just in case someone on the Internet needs a link to something in
that category.</p>
<p>Hopefully it&rsquo;s helpful to most that visit the page.</p>
]]></content:encoded>
    </item>
    
    <item>
      <title>Theme Changes For This Site</title>
      <link>https://notes.n3s0.tech/posts/20210728105823/</link>
      <pubDate>Wed, 28 Jul 2021 10:58:23 -0500</pubDate>
      
      <guid>https://notes.n3s0.tech/posts/20210728105823/</guid>
      <description>Site update for theme. Notes for moving to Terminal. Maintained by panr.</description>
      <content:encoded><![CDATA[<p>So, it&rsquo;s kind of a bitter pill to swallow. But, given my most recent
discovery of the Hermit theme not being updated in nearly two years. I
will have to turn away from it. It&rsquo;s a wonderful theme. But I require an
actively updated theme with a developer that will consistently fix
issues related to the theme. Don&rsquo;t get me wrong, I love the theme. Just
not enough to maintain it in my spare time. I know full well that people
have lives, and this is probably a personal project for them. I would
like to thank them for the time they&rsquo;ve put into creating and maintaining
the Hermit theme. It&rsquo;s served this blog well. If it were updated more
regularly, I may even move back. But, for now I must move on.</p>
<p>One of the great things about the theme was that it was so minimal that
you rarely had to worry about updating it unless you really need to. I
may just for the repository should I decide I want to update it in the
future.</p>
<p>The Hugo theme Hermit is originally developed by Track3. Below is their
GitHub page and blog.</p>
<ul>
<li><a href="https://github.com/Track3">github.com/Track3</a></li>
<li><a href="https://ojbk.im/">Track3&rsquo;s Blog</a></li>
</ul>
<p>Below is the Repository for the Hermit Hugo theme. This has been forked
multiple times. But it may just be time to move to something different
for a little while. Demo is provided in the documentation of the theme
if you would like to see it in action.</p>
<ul>
<li><a href="https://github.com/Track3/hermit">Track3/hermit</a></li>
</ul>
<p>Theme has been moved from Hermit to Terminal because it&rsquo;s updated
regularly and overall, it&rsquo;s an awesome theme. It keeps things minimal
also. There is more testing that needs to be done with it. But, at this
moment I have no problem publishing this to the site with the new theme
committed.</p>
<p>There should be a demo provided by the author should anyone want to look
at it.</p>
<ul>
<li><a href="https://github.com/panr/hugo-theme-terminal">panr/hugo-theme-terminal</a></li>
</ul>
<p>So, the author of the theme gets a little more exposure. Below are their
GitHub profiles and blog. Radek doesn&rsquo;t just work on this one. He also
works on others like the Hello Friend theme for Hugo. The link below
also showcases other software that he&rsquo;s worked on. Check it out!</p>
<ul>
<li><a href="https://github.com/panr">github.com/panr</a></li>
<li><a href="https://radoslawkoziel.pl/">Radek&rsquo;s Blog</a></li>
</ul>
<p>If you ever need an awesome theme, I recommend checking him out! I encourage
you to update his list of sites that are using one of these themes if you are.</p>
]]></content:encoded>
    </item>
    
    <item>
      <title>Some Updates To The Site</title>
      <link>https://notes.n3s0.tech/posts/20210425003026/</link>
      <pubDate>Sun, 25 Apr 2021 00:30:26 -0500</pubDate>
      
      <guid>https://notes.n3s0.tech/posts/20210425003026/</guid>
      <description>Notes on some updates to this site. Had some issues with the gitlab-ci.yml file so it didn&amp;#39;t deploy as expected.</description>
      <content:encoded><![CDATA[<h2 id="overview">Overview</h2>
<p>I had to make some changes to the site. I messed up a few things. So, I
decided to reconfigure and redeploy. Not everything went as expected.
But, site is back up and working now. This goes over that experience a
little.</p>
<h2 id="fun-stuff">Fun Stuff</h2>
<p>Now that you can host your own container registry, you can use the hugo
container repository for Pages. Which is pretty interesting. Below is
the registry that&rsquo;s being used for this blog.</p>
<p>Note: All of the articles that I&rsquo;ve read have the wrong link to the
container image for Hugo.</p>
<ul>
<li><code>registry.gitlab.com/pages/hugo/hugo:latest</code></li>
</ul>
<p>So, that&rsquo;s working now. Which is great. Though, I did run into something
interesting. Before I could just have clean themes directory and didn&rsquo;t
need to add the contents of the theme directory. Now I do. I will need
to revisit this issue so it will actually pull the theme for hugo.
Hopefully I will be able to find the correct solution to this so Pages
will actually pull the latest version of the hermit theme every time.</p>
<p>Below is the error that I run into when I attempt to run the page. Will
be reasearching the Pages functionality in Gitlab. Looks like some things
have changed also.</p>
<pre tabindex="0"><code>Error: module &#34;hermit&#34; not found; either add it as a Hugo Module or store it in &#34;/builds/n3s0/n3s0.gitlab.io/themes&#34;.: module does not exist
</code></pre><p>If I need to, I will move to a different platform. Mostly because I need
to get started on that. Using a SaaS platform to host my site doesn&rsquo;t
seem to be the best way to maintain control of this blog. Gitlab could
change their rules at anytime and this site would be down. I will need
to noodle this a little. I have been meaning to start the process of
hosting on a VPS and standing up a domain of my own.</p>
<p>This issue was fixed. Resolved it and never bothered to update the post.
That&rsquo;s my bad. Considering that I don&rsquo;t know what resolved the issue. I
If I were to guess. The issue was resolved by reconfiguring</p>
]]></content:encoded>
    </item>
    
    <item>
      <title>Thoughts Regarding Content</title>
      <link>https://notes.n3s0.tech/posts/20210114220946/</link>
      <pubDate>Thu, 14 Jan 2021 22:09:46 -0500</pubDate>
      
      <guid>https://notes.n3s0.tech/posts/20210114220946/</guid>
      <description>Some thoughts regarding the content for this site.</description>
      <content:encoded><![CDATA[<h2 id="overview">Overview</h2>
<p>This post will discuss some changes to content and the lack of content
for this site. Some other thoughts I wanted to discuss also.</p>
<h2 id="different-content-where-have-you-been">Different content? Where have you been?</h2>
<p>Yes. I plan on diverting from security a little and focusing more on
infrastructure. I normally don&rsquo;t make time for security related events
due to time constraints. Hopefully, with the new year I can focus more
on content that is related to my job function.</p>
<p>For Example:</p>
<ul>
<li>Adding posts related to what I&rsquo;m working on.</li>
<li>Focusing on my skill set in other areas:
<ul>
<li>Database Administration</li>
<li>Phone System Administration</li>
<li>System Administration</li>
<li>Network Administration</li>
<li>Escaping from bad situations</li>
</ul>
</li>
</ul>
<p>Last year, my posts were merely non-existent. Very little content unless
I decided to put the time and effort into working on it. Which wasn&rsquo;t
very often.</p>
<p>Currently, I&rsquo;m consolidating posts and focusing on a new approach to this.
One post for a Wargame, CTF, Vulnhub VM, etc. and I&rsquo;ll update the post
as I go through it. This will cause the content to be incomplete. But,
It will work with my current schedule and responsibilities.</p>
<p>The posts that relate to SysAdmin, Network Admin, Database Admin, etc.
will be related to my understanding of the products and technologies.
I&rsquo;ve wanted to document issues, configuration of infrastructure, etc.
for a while. But, didn&rsquo;t know what to write about. Well, in my short time
of being in IT I&rsquo;ve run into a couple weird things that others may benefit
from. Think of these as a save your bacon post. I&rsquo;ve had situations
where I&rsquo;ve had to save mine a couple of times.</p>
<p>These posts will not be tutorials. But, walk throughs of how I setup an
application or figure out how to configure a service; e.g. DNS, MySQL,
etc. It&rsquo;s a representation of my experience within the Tech field. As I
learn more I will setup/configure something in a different way.</p>
<p>You may have your own experience with an application or you&rsquo;ll have
questions as to why I did something a certain way. In fact, you will
probably wonder why I would something like X or Y. Well, I encourage
readers to discuss this with me. Direct message on Twitter and email is
always open to these questions and comments. If you don&rsquo;t feel shy, you
can discuss this with me on the post through Twitter or whatever social
media platform I post this on.</p>
<p>There are no barriers here. Whether you&rsquo;re new in tech, programming,
security, an executive, etc. I promise to explain my thought processes,
why I did something a certain way, or provide resources that I have/will
find for a topic of interest. I started this blog to share information.
Follows the view point that information shouldn&rsquo;t be pushed away from
others because of who they are. Inclusion of different perspectives allows
innovation to push forward or in another direction. You provide people,
within different fields and backgrounds, with the information and you
let them move forward from there.</p>
<p>Linguists have taught me things about Linux and Unix that I didn&rsquo;t know
about. Teachers develop beautiful websites. Artists build something to
solve a problem. I&rsquo;m not surprised. I&rsquo;m happy about it. It provides
inspiration. They&rsquo;re utilizing their potential to learn and/or build
something that may be out of their comfort zone. That&rsquo;s something that
deserves respect. Let&rsquo;s see more of it.</p>
]]></content:encoded>
    </item>
    
    <item>
      <title>Site Updates</title>
      <link>https://notes.n3s0.tech/posts/20190730235517/</link>
      <pubDate>Tue, 30 Jul 2019 23:55:17 -0500</pubDate>
      
      <guid>https://notes.n3s0.tech/posts/20190730235517/</guid>
      <description>Notes on site updates.</description>
      <content:encoded><![CDATA[<h2 id="overview">Overview</h2>
<p>Just a little overview. I&rsquo;m going to discuss some of the site updates
that I am putting together. This is just so users have something to go
off of in case they need some explanation.</p>
<h2 id="update-on-site-design">Update on Site Design</h2>
<p>The cosmetics of the site will remain the same. It will be using the
Hermit theme. This is mostly because I like the way Hermit lays out tags.
I will be using tags to organize navigation to posts. So, when you  click
on <code>writeups</code> it will just display a list of the posts based on the
year they were released. This will also be the way tutorials are laid.</p>
<p>On a server level, projects and posts will have their own folders.
Writeups for CTFs and Wargames will be shown in the listed format (like
explained) and projects will have a page that&rsquo;ll show all of the projects
in progress. Status updates to my projects will be available for viewing.
I just have to write them.</p>
<p>Methodology will consist with moving back and forth between tagged lists
and pages. This will all depend on whether or not a concept is best
portrayed as just a page or a list of posts. Specific topics would be best
portrayed as pages, such as the about page. Others can be either or, such as
the projects page. Which can also be portrayed as a list. Best judgement will
be made when making the choice to either of them.</p>
<h2 id="tags">Tags</h2>
<p>The Hermit theme used for this site provides a tagging feature. When you navigate
to the tags in a URL, Hermit will provide a list of those posts separated by the
year they were created.</p>
<p>At this time these are the tags being used and their definitions.</p>
<ul>
<li>pages - Static pages for initial content. Like about and todo.</li>
<li>posts - Just random posts about my ideas and opinions.</li>
<li>projects - Documents/documentation regarding my personal projects.</li>
<li>writeups - Writeups that I post for CTFs, hack challenges, and wargames.</li>
<li>tutorials - Tutorials written about various topics.</li>
</ul>
]]></content:encoded>
    </item>
    
    <item>
      <title>Blog Using Static Site Generator &amp; Theme Update</title>
      <link>https://notes.n3s0.tech/posts/20190104171732/</link>
      <pubDate>Mon, 01 Apr 2019 17:17:32 -0500</pubDate>
      
      <guid>https://notes.n3s0.tech/posts/20190104171732/</guid>
      <description>Announcement and notes for moving this blog to a Static Site Generator. New theme too.</description>
      <content:encoded><![CDATA[<h2 id="overview">Overview</h2>
<p>So, just thought that it was worth noting that many things have changed.
Perhaps even for the better. I have moved from Jekyll to Hugo as the
static site generator for this blog. Jekyll is an awesome framework, but
I needed to be able to edit this content cross platform without constantly
pushing to GitLab after every change to verify that it worked.</p>
<p>Note that this is not a tutorial on Hugo. This is merely a brief look at
some edits I made to this blog.</p>
<h2 id="about-moving-away-from-jekyll">About Moving Away From Jekyll</h2>
<p>Note that I don&rsquo;t have anything against Jekyll. It&rsquo;s a fantastic platform
for generating static sites. But, Ruby is a little flaky on Windows and
you need to do a bit of manual configuration to path variables to make
Bundler and Jekyll functional. This would all work as expected on my
FreeBSD and Linux machines/VMs though.</p>
<h2 id="a-little-note-on-scoop">A Little Note On Scoop</h2>
<p>To install Golang and Hugo I used Scoop as the package manager. With
Scoop, it is easy to install packages. You&rsquo;ll enter the following
PowerShell command after setting your execution policy to RemoteSigned.
This will install scoop on the workstation.</p>
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-PowerShell" data-lang="PowerShell"><span class="line"><span class="cl"><span class="nb">PS </span><span class="n">C:</span><span class="p">\&gt;</span> <span class="nb">iex </span><span class="p">(</span><span class="nb">New-Object</span> <span class="n">Net</span><span class="p">.</span><span class="n">WebClient</span><span class="p">).</span><span class="py">DownloadString</span><span class="p">(</span><span class="s1">&#39;https://get.scoop.sh&#39;</span><span class="p">)</span>
</span></span></code></pre></div><p>After Scoop is finished installing you enter the following command to
install Golang. Scoop will then presume to download a zip file from it&rsquo;s
chosen repositories and install Golang after unpacking it.</p>
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-PowerShell" data-lang="PowerShell"><span class="line"><span class="cl"><span class="nb">PS </span><span class="n">C:</span><span class="p">\&gt;</span> <span class="n">scoop</span> <span class="n">install</span> <span class="n">go</span>
</span></span></code></pre></div><p>When Golang installation is complete. You can presume to install Hugo, as
seen the following command.</p>
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-PowerShell" data-lang="PowerShell"><span class="line"><span class="cl"><span class="nb">PS </span><span class="n">C:</span><span class="p">\&gt;</span> <span class="n">scoop</span> <span class="n">install</span> <span class="n">hugo</span>
</span></span></code></pre></div><p>Normally, you don&rsquo;t need to worry about errors. Also, you normally don&rsquo;t
need to worry about whether or not Go or Hugo will work after it is
installed when using Scoop.</p>
<p>Below is the website for Scoop.</p>
<ul>
<li><a href="https://scoop.sh/">Scoop Website</a></li>
</ul>
<p>Now that I got that out of my system. Time to discuss Hugo for a bit. I am
really enjoying Hugo. It works, customization is simple and straight forward.
I can also edit my site and test with Hugo on my Windows boxes without having
to spin up a VM. Happy happy.</p>
<p>It is structured similar to Jekyll, so there wasn&rsquo;t much of a learning curve. I
just moved over what little content I had and I was good to go. One useful thing
about Hugo is how easy it is to configure themes. Which is just as simple as
creating a git submodule into the themes directory and edit your config file to
reference it.</p>
<h2 id="about-the-new-theme">About The New Theme</h2>
<p>The theme I am using right now is named Terminal and it was developed by
panr. If you would like to use this theme I have shared a link below to
the repository. I have also provided a link to panr&rsquo;s Github for reference
to his other repositories.</p>
<ul>
<li><a href="https://github.com/panr/hugo-theme-terminal">Panr&rsquo;s Terminal Hugo Theme</a></li>
<li><a href="https://github.com/panr">Panr&rsquo;s Github</a></li>
</ul>
<h2 id="moving-to-hugo">Moving To Hugo</h2>
<p>For those who read this and they are interested in Hugo. I have provided
a link to their documentation. Mostly for my own use, but it may be useful
to others as well.</p>
<ul>
<li><a href="https://gohugo.io/documentation/">Hugo Documentation</a></li>
</ul>
<p>Anyway, moving to Hugo for this site wasn&rsquo;t difficult. It only took a few
minutes because Hugo uses Markdown for posts as well. All I had to do was
copy the files from the old site and paste them into the newly appointed
Hugo site. It took about 10 minutes to do with
<a href="https://n3s0.gitlab.io">https://n3s0.gitlab.io</a>. So, now that I have
something that I can use almost anywhere, readers can expect there to be
more and more content posted each day.</p>
<p>I&rsquo;m not finished tinkering with the site either. But, when I make a change
I will make sure to post an update of my thoughts on it.</p>
]]></content:encoded>
    </item>
    
    <item>
      <title>New Blog</title>
      <link>https://notes.n3s0.tech/posts/20190104035412/</link>
      <pubDate>Mon, 01 Apr 2019 03:54:12 -0500</pubDate>
      
      <guid>https://notes.n3s0.tech/posts/20190104035412/</guid>
      <description>Announcing the start of a new blog.</description>
      <content:encoded><![CDATA[<h2 id="overview">Overview</h2>
<p>This is the first post for my new static blog. I am going to be moving
all of my content to the Jekyll static site platform. I plan on using
this site primarily for releasing the content in my notes and from my
WordPress blog. I hope to have an opportunity to make this blog more
visually appealing, but that isn&rsquo;t always important. Those viewing the
content will not be able to post comments. But, I will be proving a way
to contact me with questions soon, email is also an option.</p>
<h2 id="content">Content</h2>
<p>It will probably be a good idea to provide a little information about
what content this site will contain. This is pretty broad, but the content
that this site will contain are my notes on interests I have. As a general
category, you can expect this site to contain my notes on tech. This
includes CTFs, Linux, Windows, Programming, etc.</p>
<h2 id="moving-away-from-bloat">Moving Away From Bloat</h2>
<p>For those who would like to view the WordPress blog before all of the
content is moved over, please use the link below. I am not the biggest
fan of WordPress, never was. But you have to start on something. I get
why people like WordPress, it&rsquo;s pretty simple to use. There were a few
downfalls for me though. One of those downfalls is in order to use the
free account, your audience needs to put up with adds. Ain&rsquo;t nobody got
time for dat! I get it though, they are hosting the site and they need
to make revenue off of my content some how. One of the biggest pitfalls
is that it is messy and has a large number of security holes. Which
should be the main reason why right?</p>
<ul>
<li><a href="https://timssecurityblog.wordpress.com/">TIM&rsquo;S SECURITY BLOG</a></li>
</ul>
<h2 id="my-gitlab-page">My GitLab Page</h2>
<p>For those who would like to view the content on my GitLab, the link is
below. This is where I will post the code for my projects and my dotfiles.
I attempt to make the dotfiles as clean as possible and I plan on making
a script that will automate the setup. This hasn&rsquo;t been created yet though.
But, I work with a large variety of distributions, so it will be fun. I
should be releasing the code for my ctf-journal soon. The idea behind the
ctf-journal is to have a script/application that will automate and explain
how I have solved CTFs that I have attended. One thing that I plan on
doing is putting a link for my dotfiles on this site. They aren&rsquo;t riced
to perfection though. I am not entirely in to that.</p>
<ul>
<li><a href="https://gitlab.com/n3s0">N3s0&rsquo;s GitLab</a></li>
</ul>
<h2 id="about-me">About Me</h2>
<p>I am writing a blog about my interests. Through the way I write about
these interests should be enough for readers. I am not doing this to sell
something, I am doing this to share knowledge on what I have learned. I
am open to those who are willing to take a moment out of their day to
give me their understanding on various topics. I will be open minded to
your understanding of the subject. So please, send me an email to
discuss, request, or as questions about topics that interest you.</p>
<h2 id="a-note-on-pictures">A Note on Pictures</h2>
<p>I am not a fan of pictures. If I can avoid using pictures I will do so.
Embedding images into posts doesn&rsquo;t seem practical, when a majority of
what I will be posting is text from a terminal. Pictures of GUI applications
is another story though. But, taking a screen shot of your terminal when
you could copy and paste it into a syntax highlighted code block in markdown?
Oh you are missing out. This is a matter of opinion of course, I just
think that it takes less time to copy and paste. As opposed to taking a
screen shot and formatting the image so it fits your screen. This is mostly
an explanation for those who have asked that I put in mostly pictures.
The answer is no. Some say RTFM, I say that and RTFB.</p>
]]></content:encoded>
    </item>
    
  </channel>
</rss>
