Update _site static files

master
Tait Hoyem 4 years ago
parent e07e33e7f1
commit e991b0358b

@ -36,7 +36,7 @@
I run a Minecraft server on a big Linux computer I have running in my room.
Now, as a system administrator it is very helpful to be able to run some simple commands without needing to login with my key, password, TFA, etc.
It is, frankly, a lot of work.
Especially when I really just want to be playing games, but something seems to be wrong.</p>
Especially when I really just want to be playing games but I just need to check something quickly.</p>
<p>So for simple things like finding out of the network, CPU, memory or disk usage is my bottleneck, I wrote this really nifty script to connect the world of Minecraft and the Linux shell.</p>
@ -48,7 +48,7 @@ Especially when I really just want to be playing games, but something seems to b
<p>So to solve this interesting problem, I decided to use <code class="highlighter-rouge">tmux</code>.
<code class="highlighter-rouge">tmux</code> is a <strong>t</strong>terminal <strong>mu</strong>ltiple<strong>x</strong>er.
This allows you to run a terminal session, the leave it while it still runs in the background.</p>
This allows you to run a terminal session, then detach fromc it while it still runs in the background.</p>
<p>This is very valuable when running command line applications that need to have an active console connection, like a Minecraft server.</p>
@ -88,24 +88,21 @@ Negative numbers start from the bottom, so <em>in theory</em> I can do the follo
<p>No. It just doesnt work. Negative numbers do <em>not</em> work with the <code class="highlighter-rouge">tmux capture-pane</code> subcommand.</p>
<p>So I did some simple UNIX piping, like so, to get just the last thing in the chat.
<code class="highlighter-rouge">-p</code> prints the result to the terminal/stdout.
<code class="highlighter-rouge">steve</code> is the name of the tmux session Im trying to pull form.</p>
<p>So I did some simple UNIX piping, like so, to get just the last thing in the chat.</p>
<pre class="terminal">
$ tmux capture-pane -p -t steve | tail -n1
[SERVER] [ExtraDebuggingInfoHere]: &lt;TaterTheTot&gt; MY_MESSAGE
</pre>
<p>TaterTheTot is my Minecraft username :)</p>
<p>So thats done! Beauty!</p>
<p>So now I have a line which will look something like this:</p>
<p><code class="highlighter-rouge">-p</code> prints the result to the terminal/stdout.</p>
<p><code class="highlighter-rouge">[SERVER] [ExtraDebugInfoHere]: &lt;TaterTheTot&gt; MY_MESSAGE</code></p>
<p><code class="highlighter-rouge">steve</code> is the name of the tmux session Im trying to pull form.</p>
<p>TaterTheTot is my Minecraft username :)</p>
<p>So thats done! Beauty!</p>
<p>So, how can we get only the message I wrote, and my username?</p>
<p>Now that we have that, how can we extract the username and the message from the latest line?</p>
<h3 id="grep"><code class="highlighter-rouge">grep</code></h3>

@ -38,7 +38,7 @@
I run a Minecraft server on a big Linux computer I have running in my room.
Now, as a system administrator it is very helpful to be able to run some simple commands without needing to login with my key, password, TFA, etc.
It is, frankly, a lot of work.
Especially when I really just want to be playing games, but something seems to be wrong.</p>
Especially when I really just want to be playing games but I just need to check something quickly.</p>
</div>
</td>
</tr>

@ -1,8 +1,8 @@
<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom" ><generator uri="https://jekyllrb.com/" version="4.0.0">Jekyll</generator><link href="http://localhost:4000/feed.xml" rel="self" type="application/atom+xml" /><link href="http://localhost:4000/" rel="alternate" type="text/html" /><updated>2020-06-25T18:40:18+00:00</updated><id>http://localhost:4000/feed.xml</id><entry><title type="html">How to use tmux to send and receive things from your Minecraft server</title><link href="http://localhost:4000/2020/06/25/tmux-minecraft.html" rel="alternate" type="text/html" title="How to use tmux to send and receive things from your Minecraft server" /><published>2020-06-25T00:00:00+00:00</published><updated>2020-06-25T00:00:00+00:00</updated><id>http://localhost:4000/2020/06/25/tmux-minecraft</id><content type="html" xml:base="http://localhost:4000/2020/06/25/tmux-minecraft.html">&lt;p&gt;So recently I had problem.
<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom" ><generator uri="https://jekyllrb.com/" version="4.0.0">Jekyll</generator><link href="http://localhost:4000/feed.xml" rel="self" type="application/atom+xml" /><link href="http://localhost:4000/" rel="alternate" type="text/html" /><updated>2020-06-25T18:46:07+00:00</updated><id>http://localhost:4000/feed.xml</id><entry><title type="html">How to use tmux to send and receive things from your Minecraft server</title><link href="http://localhost:4000/2020/06/25/tmux-minecraft.html" rel="alternate" type="text/html" title="How to use tmux to send and receive things from your Minecraft server" /><published>2020-06-25T00:00:00+00:00</published><updated>2020-06-25T00:00:00+00:00</updated><id>http://localhost:4000/2020/06/25/tmux-minecraft</id><content type="html" xml:base="http://localhost:4000/2020/06/25/tmux-minecraft.html">&lt;p&gt;So recently I had problem.
I run a Minecraft server on a big Linux computer I have running in my room.
Now, as a system administrator it is very helpful to be able to run some simple commands without needing to login with my key, password, TFA, etc.
It is, frankly, a lot of work.
Especially when I really just want to be playing games, but something seems to be wrong.&lt;/p&gt;
Especially when I really just want to be playing games but I just need to check something quickly.&lt;/p&gt;
&lt;p&gt;So for simple things like finding out of the network, CPU, memory or disk usage is my bottleneck, I wrote this really nifty script to connect the world of Minecraft and the Linux shell.&lt;/p&gt;
@ -14,7 +14,7 @@ Especially when I really just want to be playing games, but something seems to b
&lt;p&gt;So to solve this interesting problem, I decided to use &lt;code class=&quot;highlighter-rouge&quot;&gt;tmux&lt;/code&gt;.
&lt;code class=&quot;highlighter-rouge&quot;&gt;tmux&lt;/code&gt; is a &lt;strong&gt;t&lt;/strong&gt;terminal &lt;strong&gt;mu&lt;/strong&gt;ltiple&lt;strong&gt;x&lt;/strong&gt;er.
This allows you to run a terminal session, the leave it while it still runs in the background.&lt;/p&gt;
This allows you to run a terminal session, then detach fromc it while it still runs in the background.&lt;/p&gt;
&lt;p&gt;This is very valuable when running command line applications that need to have an active console connection, like a Minecraft server.&lt;/p&gt;
@ -54,24 +54,21 @@ Negative numbers start from the bottom, so &lt;em&gt;in theory&lt;/em&gt; I can
&lt;p&gt;No. It just doesnt work. Negative numbers do &lt;em&gt;not&lt;/em&gt; work with the &lt;code class=&quot;highlighter-rouge&quot;&gt;tmux capture-pane&lt;/code&gt; subcommand.&lt;/p&gt;
&lt;p&gt;So I did some simple UNIX piping, like so, to get just the last thing in the chat.
&lt;code class=&quot;highlighter-rouge&quot;&gt;-p&lt;/code&gt; prints the result to the terminal/stdout.
&lt;code class=&quot;highlighter-rouge&quot;&gt;steve&lt;/code&gt; is the name of the tmux session Im trying to pull form.&lt;/p&gt;
&lt;p&gt;So I did some simple UNIX piping, like so, to get just the last thing in the chat.&lt;/p&gt;
&lt;pre class=&quot;terminal&quot;&gt;
$ tmux capture-pane -p -t steve | tail -n1
[SERVER] [ExtraDebuggingInfoHere]: &amp;lt;TaterTheTot&amp;gt; MY_MESSAGE
&lt;/pre&gt;
&lt;p&gt;TaterTheTot is my Minecraft username :)&lt;/p&gt;
&lt;p&gt;So thats done! Beauty!&lt;/p&gt;
&lt;p&gt;So now I have a line which will look something like this:&lt;/p&gt;
&lt;p&gt;&lt;code class=&quot;highlighter-rouge&quot;&gt;-p&lt;/code&gt; prints the result to the terminal/stdout.&lt;/p&gt;
&lt;p&gt;&lt;code class=&quot;highlighter-rouge&quot;&gt;[SERVER] [ExtraDebugInfoHere]: &amp;lt;TaterTheTot&amp;gt; MY_MESSAGE&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;code class=&quot;highlighter-rouge&quot;&gt;steve&lt;/code&gt; is the name of the tmux session Im trying to pull form.&lt;/p&gt;
&lt;p&gt;TaterTheTot is my Minecraft username :)&lt;/p&gt;
&lt;p&gt;So thats done! Beauty!&lt;/p&gt;
&lt;p&gt;So, how can we get only the message I wrote, and my username?&lt;/p&gt;
&lt;p&gt;Now that we have that, how can we extract the username and the message from the latest line?&lt;/p&gt;
&lt;h3 id=&quot;grep&quot;&gt;&lt;code class=&quot;highlighter-rouge&quot;&gt;grep&lt;/code&gt;&lt;/h3&gt;
@ -131,7 +128,7 @@ And, we have a way to respond.&lt;/p&gt;
&lt;p&gt;Remember to checkout the git repository to see what I did with it: &lt;a href=&quot;https://github.com/TTWNO/termcraft&quot;&gt;https://github.com/TTWNO/termcraft&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Happy hacking!&lt;/p&gt;</content><author><name></name></author><summary type="html">So recently I had problem. I run a Minecraft server on a big Linux computer I have running in my room. Now, as a system administrator it is very helpful to be able to run some simple commands without needing to login with my key, password, TFA, etc. It is, frankly, a lot of work. Especially when I really just want to be playing games, but something seems to be wrong.</summary></entry><entry><title type="html">Site Update</title><link href="http://localhost:4000/2020/06/04/site-update.html" rel="alternate" type="text/html" title="Site Update" /><published>2020-06-04T00:00:00+00:00</published><updated>2020-06-04T00:00:00+00:00</updated><id>http://localhost:4000/2020/06/04/site-update</id><content type="html" xml:base="http://localhost:4000/2020/06/04/site-update.html">&lt;p&gt;I updated the site with some easier to identify information about me and my projects :)&lt;/p&gt;
&lt;p&gt;Happy hacking!&lt;/p&gt;</content><author><name></name></author><summary type="html">So recently I had problem. I run a Minecraft server on a big Linux computer I have running in my room. Now, as a system administrator it is very helpful to be able to run some simple commands without needing to login with my key, password, TFA, etc. It is, frankly, a lot of work. Especially when I really just want to be playing games but I just need to check something quickly.</summary></entry><entry><title type="html">Site Update</title><link href="http://localhost:4000/2020/06/04/site-update.html" rel="alternate" type="text/html" title="Site Update" /><published>2020-06-04T00:00:00+00:00</published><updated>2020-06-04T00:00:00+00:00</updated><id>http://localhost:4000/2020/06/04/site-update</id><content type="html" xml:base="http://localhost:4000/2020/06/04/site-update.html">&lt;p&gt;I updated the site with some easier to identify information about me and my projects :)&lt;/p&gt;
&lt;p&gt;Also, Clue has been delayed due to my partner in crime on the project wokring too many hours.&lt;/p&gt;

Loading…
Cancel
Save