Skip to content

Commit

Permalink
auto updating site
Browse files Browse the repository at this point in the history
  • Loading branch information
jherzstein committed Oct 7, 2023
1 parent cd50392 commit 6f87dae
Show file tree
Hide file tree
Showing 19 changed files with 320 additions and 144 deletions.
16 changes: 8 additions & 8 deletions base.html

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

16 changes: 8 additions & 8 deletions base.html~
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,14 @@
<h2>Table of Contents</h2>
<div id="text-table-of-contents" role="doc-toc">
<ul>
<li><a href="#org192a6ce">Header</a></li>
<li><a href="#orga6b5fe5">Footer</a></li>
<li><a href="#org69b2def">Header</a></li>
<li><a href="#org3f8af75">Footer</a></li>
</ul>
</div>
</div>
<div id="outline-container-org192a6ce" class="outline-2">
<h2 id="org192a6ce">Header</h2>
<div class="outline-text-2" id="text-org192a6ce">
<div id="outline-container-org69b2def" class="outline-2">
<h2 id="org69b2def">Header</h2>
<div class="outline-text-2" id="text-org69b2def">
<div class="header">
<style>
.header{text-align: center;}
Expand Down Expand Up @@ -53,9 +53,9 @@
</div>
</div>
</div>
<div id="outline-container-orga6b5fe5" class="outline-2">
<h2 id="orga6b5fe5">Footer</h2>
<div class="outline-text-2" id="text-orga6b5fe5">
<div id="outline-container-org3f8af75" class="outline-2">
<h2 id="org3f8af75">Footer</h2>
<div class="outline-text-2" id="text-org3f8af75">
<div class="footer">
<hr style="width:100%;height:1px;border-width:0;color:gray;background-color:gray">
<style>
Expand Down
26 changes: 17 additions & 9 deletions blog/blog.html

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

26 changes: 17 additions & 9 deletions blog/blog.html~
Original file line number Diff line number Diff line change
Expand Up @@ -42,21 +42,29 @@
<p>
Here is where I post my stupid thoughts, and some useful information. Obligatory "all opinions are my own".
</p>
<div id="outline-container-orgd6e3881" class="outline-2">
<h2 id="orgd6e3881">Posts <a href=https://jordanherzstein.neocities.org/blog/feed.xml><img src="/static/images/blog/rss.png" width=25></a></h2>
<div class="outline-text-2" id="text-orgd6e3881">
<div id="outline-container-orged8a498" class="outline-2">
<h2 id="orged8a498">Posts <a href=https://jordanherzstein.neocities.org/blog/feed.xml><img src="/static/images/blog/rss.png" width=25></a></h2>
<div class="outline-text-2" id="text-orged8a498">
</div>
<div id="outline-container-org73dc15a" class="outline-4">
<h4 id="org73dc15a"><a href="my_summer/summer_2023_first_half.html">My Little Techy Projects Summer 2023</a>&#xa0;&#xa0;&#xa0;<span class="tag"><span class="Personal">Personal</span>&#xa0;<span class="Technology">Technology</span></span></h4>
<div class="outline-text-4" id="text-org73dc15a">
<div id="outline-container-orgabf4b6e" class="outline-4">
<h4 id="orgabf4b6e"><a href="nyaa_menu/nyaa_menu.html">nyaa_menu</a>&#xa0;&#xa0;&#xa0;<span class="tag"><span class="Technology">Technology</span>&#xa0;<span class="Projects">Projects</span></span></h4>
<div class="outline-text-4" id="text-orgabf4b6e">
<p>
I made a lazy web scraping tool for collecting anime and manga while I was bored.
</p>
</div>
</div>
<div id="outline-container-org2deb7d2" class="outline-4">
<h4 id="org2deb7d2"><a href="my_summer/summer_2023_first_half.html">My Little Techy Projects Summer 2023</a>&#xa0;&#xa0;&#xa0;<span class="tag"><span class="Personal">Personal</span>&#xa0;<span class="Technology">Technology</span></span></h4>
<div class="outline-text-4" id="text-org2deb7d2">
<p>
I did some fun stuff this summer, including hacking my switch, switching to Qubes OS, and switching to OpenWRT on my router. Overall, a lot of switching.
</p>
</div>
</div>
<div id="outline-container-org0b2c25b" class="outline-4">
<h4 id="org0b2c25b"><a href="caps2esc/caps2esc.html">Mapping Caps Lock to Esc and CTRL in Xorg</a>&#xa0;&#xa0;&#xa0;<span class="tag"><span class="Tutorial">Tutorial</span>&#xa0;<span class="Technology">Technology</span></span></h4>
<div class="outline-text-4" id="text-org0b2c25b">
<div id="outline-container-org7b7e801" class="outline-4">
<h4 id="org7b7e801"><a href="caps2esc/caps2esc.html">Mapping Caps Lock to Esc and CTRL in Xorg</a>&#xa0;&#xa0;&#xa0;<span class="tag"><span class="Tutorial">Tutorial</span>&#xa0;<span class="Technology">Technology</span></span></h4>
<div class="outline-text-4" id="text-org7b7e801">
<p>
Guide on switching keymaps using xkb in Xorg
</p>
Expand Down
32 changes: 16 additions & 16 deletions blog/caps2esc/caps2esc.html

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

32 changes: 16 additions & 16 deletions blog/caps2esc/caps2esc.html~
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,11 @@
<h2>Table of Contents</h2>
<div id="text-table-of-contents" role="doc-toc">
<ul>
<li><a href="#org8092f99">The Guide</a>
<li><a href="#org4133055">The Guide</a>
<ul>
<li><a href="#orgb5bdb57">Requirements</a></li>
<li><a href="#orgfc00362">Creating user defined layout in xkb</a></li>
<li><a href="#org4233b56">Updating Keyboard layout</a></li>
<li><a href="#orgfc95d18">Requirements</a></li>
<li><a href="#org3b8cd6e">Creating user defined layout in xkb</a></li>
<li><a href="#orgbea7d33">Updating Keyboard layout</a></li>
</ul>
</li>
</ul>
Expand All @@ -57,25 +57,25 @@ The Emacs editor was designed in the 1980's in the era of old unix keyboards whe
Now I'm regularly using evil mode to edit files with Emacs so it shouldn't be as big of an issue for someone like myself, however, I'm not interesting in running the risk having RSI on my pinky by the time I'm 50 because I used <code>C-x C-f</code> too many times. One solution would be switching to Doom or Spacemacs or otherwise changing my <code>init.el</code> file in emacs to use the control key much less. Many people use xmonad to change keyboard layouts as well. However, I feel like those solutions are a bit overkill, and I found a decent solution for my case without having to change very much about my system using xkb, which is how keyboard codes are handled in Xorg[<a href="#unknownil_x_archw">2</a>].
</p>

<div id="outline-container-org8092f99" class="outline-2">
<h2 id="org8092f99">The Guide</h2>
<div class="outline-text-2" id="text-org8092f99">
<div id="outline-container-org4133055" class="outline-2">
<h2 id="org4133055">The Guide</h2>
<div class="outline-text-2" id="text-org4133055">
<p>
The main inspiration of this tutorial comes from Ben Davis on github who outlined a very similar guide but for making Capslock into an Esc and Mod4 key[<a href="#mapping_caps_lock_esc_super_mod4_github">3</a>].
</p>
</div>

<div id="outline-container-orgb5bdb57" class="outline-3">
<h3 id="orgb5bdb57">Requirements</h3>
<div class="outline-text-3" id="text-orgb5bdb57">
<div id="outline-container-orgfc95d18" class="outline-3">
<h3 id="orgfc95d18">Requirements</h3>
<div class="outline-text-3" id="text-orgfc95d18">
<p>
This guide assumes you're using GNU/Linux or a BSD distrobution that uses xkb for the keyboard layout. You will also need <code>setxkbmap</code> installed, though that should come with Xorg by default. I'm using dwm as my window manager though everything outlined here should work on any desktop environment (I hope, please correct me if I'm wrong), even if other DE's have different ways of updating keyboard layout options as is outlined in Ben Davis's guide[<a href="#mapping_caps_lock_esc_super_mod4_github">3</a>].
</p>
</div>
</div>
<div id="outline-container-orgfc00362" class="outline-3">
<h3 id="orgfc00362">Creating user defined layout in xkb</h3>
<div class="outline-text-3" id="text-orgfc00362">
<div id="outline-container-org3b8cd6e" class="outline-3">
<h3 id="org3b8cd6e">Creating user defined layout in xkb</h3>
<div class="outline-text-3" id="text-org3b8cd6e">
<p>
First we define our custom layout by creating the file <code>/usr/share/X11/xkb/symbols/custom_opts</code>. We put in the following to map Capslock to escape, and make it act as a control key when in combination with other keys.
</p>
Expand Down Expand Up @@ -106,9 +106,9 @@ custom:ctrl_esc Make Caps Lock an additional ESC and CTRL
</div>
</div>

<div id="outline-container-org4233b56" class="outline-3">
<h3 id="org4233b56">Updating Keyboard layout</h3>
<div class="outline-text-3" id="text-org4233b56">
<div id="outline-container-orgbea7d33" class="outline-3">
<h3 id="orgbea7d33">Updating Keyboard layout</h3>
<div class="outline-text-3" id="text-orgbea7d33">
<p>
We can apply these changes from the command line using <code>setxkbmap</code>. <code>setxkbmap</code> specifies the keyboard layout to be used based on the specified based on the components in <code>/usr/share/X11/xkb/</code> that we were just changing. Run the command with the <code>-option</code> flag and the name of our custom layout rules:
</p>
Expand Down
21 changes: 18 additions & 3 deletions blog/feed.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
<link>https://jordanherzstein.neocities.org/blog/</link>
<description><![CDATA[My Posts]]></description>
<language>en</language>
<pubDate>Sat, 07 Oct 2023 16:44:35 -0400</pubDate>
<lastBuildDate>Sat, 07 Oct 2023 16:44:35 -0400</lastBuildDate>
<pubDate>Sat, 07 Oct 2023 17:19:46 -0400</pubDate>
<lastBuildDate>Sat, 07 Oct 2023 17:19:46 -0400</lastBuildDate>
<generator>Emacs 28.2 Org-mode 9.5.5</generator>
<webMaster>user@personal (nil)</webMaster>
<image>
Expand All @@ -24,14 +24,29 @@
<link>https://jordanherzstein.neocities.org/blog/</link>
</image>

<item>
<title>nyaa_menu</title>
<link>https://jordanherzstein.neocities.org/blog/nyaa_menu/nyaa_menu.html</link>
<author>nil</author>
<guid isPermaLink="false">https://jordanherzstein.neocities.org/blog/nyaa_menu/nyaa_menu.html</guid>
<pubDate>Sat, 07 Oct 2023 00:00:00 -0400</pubDate>

<description><![CDATA[<p>
I made a lazy web scraping tool for collecting anime and manga while I was bored.
</p>
]]></description>
</item>
<item>
<title>My Little Techy Projects Summer 2023</title>
<link>https://jordanherzstein.neocities.org/blog/my_summer/summer_2023_first_half.html</link>
<author>nil</author>
<guid isPermaLink="false">https://jordanherzstein.neocities.org/blog/my_summer/summer_2023_first_half.html</guid>
<pubDate>Wed, 20 Sep 2023 00:00:00 -0400</pubDate>

<description><![CDATA[]]></description>
<description><![CDATA[<p>
I did some fun stuff this summer, including hacking my switch, switching to Qubes OS, and switching to OpenWRT on my router. Overall, a lot of switching.
</p>
]]></description>
</item>
<item>
<title>Error Fix in First Blog</title>
Expand Down
21 changes: 18 additions & 3 deletions blog/feed.xml~
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
<link>https://jordanherzstein.neocities.org/blog/</link>
<description><![CDATA[My Posts]]></description>
<language>en</language>
<pubDate>Sat, 07 Oct 2023 16:43:42 -0400</pubDate>
<lastBuildDate>Sat, 07 Oct 2023 16:43:42 -0400</lastBuildDate>
<pubDate>Sat, 07 Oct 2023 17:19:05 -0400</pubDate>
<lastBuildDate>Sat, 07 Oct 2023 17:19:05 -0400</lastBuildDate>
<generator>Emacs 28.2 Org-mode 9.5.5</generator>
<webMaster>user@personal (nil)</webMaster>
<image>
Expand All @@ -24,14 +24,29 @@
<link>https://jordanherzstein.neocities.org/blog/</link>
</image>

<item>
<title>nyaa_menu</title>
<link>https://jordanherzstein.neocities.org/blog/nyaa_menu/nyaa_menu.html</link>
<author>nil</author>
<guid isPermaLink="false">https://jordanherzstein.neocities.org/blog/nyaa_menu/nyaa_menu.html</guid>
<pubDate>Sat, 07 Oct 2023 00:00:00 -0400</pubDate>

<description><![CDATA[<p>
I made a lazy web scraping tool for collecting anime and manga while I was bored.
</p>
]]></description>
</item>
<item>
<title>My Little Techy Projects Summer 2023</title>
<link>https://jordanherzstein.neocities.org/blog/my_summer/summer_2023_first_half.html</link>
<author>nil</author>
<guid isPermaLink="false">https://jordanherzstein.neocities.org/blog/my_summer/summer_2023_first_half.html</guid>
<pubDate>Wed, 20 Sep 2023 00:00:00 -0400</pubDate>

<description><![CDATA[]]></description>
<description><![CDATA[<p>
I did some fun stuff this summer, including hacking my switch, switching to Qubes OS, and switching to OpenWRT on my router. Overall, a lot of switching.
</p>
]]></description>
</item>
<item>
<title>Error Fix in First Blog</title>
Expand Down
Loading

0 comments on commit 6f87dae

Please sign in to comment.