changed description
This commit is contained in:
parent
a9a3cc3e9c
commit
43759b34e6
@ -42,7 +42,7 @@ B2-is8Y&4!ED2H~Ix<~LOCfn@P;xLjM_E8(awt`1YC<SaOLbpaL^T!^W_ucF8Er~?NnC$>e0@WAWn2bq
|
||||
|
||||
This is for a few reasons. Firstly, as mentioned above, shift2 uses base85 **twice**. Once before, and once after XOR encryption. Secondly, a file header is prepended to the output to help the decoder read the file. This header contains version info, the file length, and the encoding type.
|
||||
|
||||
### Try it yourself
|
||||
### Try it yourself with PIP
|
||||
I have published shift2 on [pypi.org](https://pypi.org/project/shift-tool/) for use with PIP. To install shift2, ensure both `python3` and `python3-pip` are installed on your computer, then run:
|
||||
```sh
|
||||
# Install shift2
|
||||
@ -53,8 +53,8 @@ shift2 -h
|
||||
```
|
||||
|
||||
<div id="demo" markdown="1">
|
||||
### Web demo
|
||||
I have ported the core code from shift2 over to [brython](http://www.brython.info/index.html) to create this demo:
|
||||
### Try it in the browser
|
||||
I have ported the core code from shift2 to [run in the browser](http://www.brython.info/index.html). This demo is entirely client-side, and may take a few seconds to load depending on your device.
|
||||
|
||||
<input type="radio" id="encode" name="shift-action" value="encode" checked>
|
||||
<label for="encode">Encode</label>
|
||||
|
@ -178,7 +178,7 @@ sub rsa4096/0xA61A2F1676E35144 2019-08-11 [] [expires: 2025-08-09]
|
||||
<span class="site-info">
|
||||
Site design by: <a href="https://retrylife.ca">Evan Pratten</a> |
|
||||
|
||||
This site was last updated at: 2019-08-31 14:36:54 -0400
|
||||
This site was last updated at: 2019-08-31 14:39:01 -0400
|
||||
</span>
|
||||
</div>
|
||||
|
||||
|
@ -123,7 +123,7 @@ pip3 install tensorflow-gpu #for gpu processing
|
||||
<span class="site-info">
|
||||
Site design by: <a href="https://retrylife.ca">Evan Pratten</a> |
|
||||
|
||||
This site was last updated at: 2019-08-31 14:36:54 -0400
|
||||
This site was last updated at: 2019-08-31 14:39:01 -0400
|
||||
</span>
|
||||
</div>
|
||||
|
||||
|
@ -87,7 +87,7 @@
|
||||
<span class="site-info">
|
||||
Site design by: <a href="https://retrylife.ca">Evan Pratten</a> |
|
||||
|
||||
This site was last updated at: 2019-08-31 14:36:54 -0400
|
||||
This site was last updated at: 2019-08-31 14:39:01 -0400
|
||||
</span>
|
||||
</div>
|
||||
|
||||
|
@ -100,7 +100,7 @@
|
||||
<span class="site-info">
|
||||
Site design by: <a href="https://retrylife.ca">Evan Pratten</a> |
|
||||
|
||||
This site was last updated at: 2019-08-31 14:36:54 -0400
|
||||
This site was last updated at: 2019-08-31 14:39:01 -0400
|
||||
</span>
|
||||
</div>
|
||||
|
||||
|
@ -111,7 +111,7 @@
|
||||
<span class="site-info">
|
||||
Site design by: <a href="https://retrylife.ca">Evan Pratten</a> |
|
||||
|
||||
This site was last updated at: 2019-08-31 14:36:54 -0400
|
||||
This site was last updated at: 2019-08-31 14:39:01 -0400
|
||||
</span>
|
||||
</div>
|
||||
|
||||
|
@ -125,7 +125,7 @@
|
||||
<span class="site-info">
|
||||
Site design by: <a href="https://retrylife.ca">Evan Pratten</a> |
|
||||
|
||||
This site was last updated at: 2019-08-31 14:36:54 -0400
|
||||
This site was last updated at: 2019-08-31 14:39:01 -0400
|
||||
</span>
|
||||
</div>
|
||||
|
||||
|
@ -84,7 +84,7 @@ Your browser does not support audio players
|
||||
<span class="site-info">
|
||||
Site design by: <a href="https://retrylife.ca">Evan Pratten</a> |
|
||||
|
||||
This site was last updated at: 2019-08-31 14:36:54 -0400
|
||||
This site was last updated at: 2019-08-31 14:39:01 -0400
|
||||
</span>
|
||||
</div>
|
||||
|
||||
|
@ -124,7 +124,7 @@
|
||||
<span class="site-info">
|
||||
Site design by: <a href="https://retrylife.ca">Evan Pratten</a> |
|
||||
|
||||
This site was last updated at: 2019-08-31 14:36:54 -0400
|
||||
This site was last updated at: 2019-08-31 14:39:01 -0400
|
||||
</span>
|
||||
</div>
|
||||
|
||||
|
@ -82,7 +82,7 @@
|
||||
<span class="site-info">
|
||||
Site design by: <a href="https://retrylife.ca">Evan Pratten</a> |
|
||||
|
||||
This site was last updated at: 2019-08-31 14:36:54 -0400
|
||||
This site was last updated at: 2019-08-31 14:39:01 -0400
|
||||
</span>
|
||||
</div>
|
||||
|
||||
|
@ -82,7 +82,7 @@
|
||||
<span class="site-info">
|
||||
Site design by: <a href="https://retrylife.ca">Evan Pratten</a> |
|
||||
|
||||
This site was last updated at: 2019-08-31 14:36:54 -0400
|
||||
This site was last updated at: 2019-08-31 14:39:01 -0400
|
||||
</span>
|
||||
</div>
|
||||
|
||||
|
@ -191,7 +191,7 @@ __<span class="o">()</span> <span class="o">{</span>/???/???/???n?f <span class=
|
||||
<span class="site-info">
|
||||
Site design by: <a href="https://retrylife.ca">Evan Pratten</a> |
|
||||
|
||||
This site was last updated at: 2019-08-31 14:36:54 -0400
|
||||
This site was last updated at: 2019-08-31 14:39:01 -0400
|
||||
</span>
|
||||
</div>
|
||||
|
||||
|
@ -112,7 +112,7 @@
|
||||
<span class="site-info">
|
||||
Site design by: <a href="https://retrylife.ca">Evan Pratten</a> |
|
||||
|
||||
This site was last updated at: 2019-08-31 14:36:54 -0400
|
||||
This site was last updated at: 2019-08-31 14:39:01 -0400
|
||||
</span>
|
||||
</div>
|
||||
|
||||
|
@ -177,7 +177,7 @@
|
||||
<span class="site-info">
|
||||
Site design by: <a href="https://retrylife.ca">Evan Pratten</a> |
|
||||
|
||||
This site was last updated at: 2019-08-31 14:36:54 -0400
|
||||
This site was last updated at: 2019-08-31 14:39:01 -0400
|
||||
</span>
|
||||
</div>
|
||||
|
||||
|
@ -101,7 +101,7 @@
|
||||
<span class="site-info">
|
||||
Site design by: <a href="https://retrylife.ca">Evan Pratten</a> |
|
||||
|
||||
This site was last updated at: 2019-08-31 14:36:54 -0400
|
||||
This site was last updated at: 2019-08-31 14:39:01 -0400
|
||||
</span>
|
||||
</div>
|
||||
|
||||
|
@ -174,7 +174,7 @@
|
||||
<span class="site-info">
|
||||
Site design by: <a href="https://retrylife.ca">Evan Pratten</a> |
|
||||
|
||||
This site was last updated at: 2019-08-31 14:36:54 -0400
|
||||
This site was last updated at: 2019-08-31 14:39:01 -0400
|
||||
</span>
|
||||
</div>
|
||||
|
||||
|
@ -95,7 +95,7 @@
|
||||
<span class="site-info">
|
||||
Site design by: <a href="https://retrylife.ca">Evan Pratten</a> |
|
||||
|
||||
This site was last updated at: 2019-08-31 14:36:54 -0400
|
||||
This site was last updated at: 2019-08-31 14:39:01 -0400
|
||||
</span>
|
||||
</div>
|
||||
|
||||
|
@ -187,7 +187,7 @@
|
||||
<span class="site-info">
|
||||
Site design by: <a href="https://retrylife.ca">Evan Pratten</a> |
|
||||
|
||||
This site was last updated at: 2019-08-31 14:36:54 -0400
|
||||
This site was last updated at: 2019-08-31 14:39:01 -0400
|
||||
</span>
|
||||
</div>
|
||||
|
||||
|
@ -107,7 +107,7 @@
|
||||
<span class="site-info">
|
||||
Site design by: <a href="https://retrylife.ca">Evan Pratten</a> |
|
||||
|
||||
This site was last updated at: 2019-08-31 14:36:54 -0400
|
||||
This site was last updated at: 2019-08-31 14:39:01 -0400
|
||||
</span>
|
||||
</div>
|
||||
|
||||
|
@ -152,7 +152,7 @@ ibus-daemon <span class="nt">-drx</span>
|
||||
<span class="site-info">
|
||||
Site design by: <a href="https://retrylife.ca">Evan Pratten</a> |
|
||||
|
||||
This site was last updated at: 2019-08-31 14:36:54 -0400
|
||||
This site was last updated at: 2019-08-31 14:39:01 -0400
|
||||
</span>
|
||||
</div>
|
||||
|
||||
|
@ -92,7 +92,7 @@
|
||||
|
||||
<p>This is for a few reasons. Firstly, as mentioned above, shift2 uses base85 <strong>twice</strong>. Once before, and once after XOR encryption. Secondly, a file header is prepended to the output to help the decoder read the file. This header contains version info, the file length, and the encoding type.</p>
|
||||
|
||||
<h3 id="try-it-yourself">Try it yourself</h3>
|
||||
<h3 id="try-it-yourself-with-pip">Try it yourself with PIP</h3>
|
||||
<p>I have published shift2 on <a href="https://pypi.org/project/shift-tool/">pypi.org</a> for use with PIP. To install shift2, ensure both <code class="highlighter-rouge">python3</code> and <code class="highlighter-rouge">python3-pip</code> are installed on your computer, then run:</p>
|
||||
<div class="language-sh highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="c"># Install shift2</span>
|
||||
pip3 <span class="nb">install </span>shift-tool
|
||||
@ -102,8 +102,8 @@ shift2 <span class="nt">-h</span>
|
||||
</code></pre></div></div>
|
||||
|
||||
<div id="demo">
|
||||
<h3 id="web-demo">Web demo</h3>
|
||||
<p>I have ported the core code from shift2 over to <a href="http://www.brython.info/index.html">brython</a> to create this demo:</p>
|
||||
<h3 id="try-it-in-the-browser">Try it in the browser</h3>
|
||||
<p>I have ported the core code from shift2 to <a href="http://www.brython.info/index.html">run in the browser</a>. This demo is entirely client-side, and may take a few seconds to load depending on your device.</p>
|
||||
|
||||
<p><input type="radio" id="encode" name="shift-action" value="encode" checked>
|
||||
<label for="encode">Encode</label>
|
||||
@ -137,7 +137,7 @@ shift2 <span class="nt">-h</span>
|
||||
<span class="site-info">
|
||||
Site design by: <a href="https://retrylife.ca">Evan Pratten</a> |
|
||||
|
||||
This site was last updated at: 2019-08-31 14:36:54 -0400
|
||||
This site was last updated at: 2019-08-31 14:39:01 -0400
|
||||
</span>
|
||||
</div>
|
||||
|
||||
|
@ -108,7 +108,7 @@ Starting from the top, scroll through, and middle click on anything you want to
|
||||
<span class="site-info">
|
||||
Site design by: <a href="https://retrylife.ca">Evan Pratten</a> |
|
||||
|
||||
This site was last updated at: 2019-08-31 14:36:54 -0400
|
||||
This site was last updated at: 2019-08-31 14:39:01 -0400
|
||||
</span>
|
||||
</div>
|
||||
|
||||
|
@ -385,7 +385,7 @@
|
||||
<span class="site-info">
|
||||
Site design by: <a href="https://retrylife.ca">Evan Pratten</a> |
|
||||
|
||||
This site was last updated at: 2019-08-31 14:36:54 -0400
|
||||
This site was last updated at: 2019-08-31 14:39:01 -0400
|
||||
</span>
|
||||
</div>
|
||||
|
||||
|
@ -52,7 +52,7 @@
|
||||
<span class="site-info">
|
||||
Site design by: <a href="https://retrylife.ca">Evan Pratten</a> |
|
||||
|
||||
This site was last updated at: 2019-08-31 14:36:54 -0400
|
||||
This site was last updated at: 2019-08-31 14:39:01 -0400
|
||||
</span>
|
||||
</div>
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom" ><generator uri="https://jekyllrb.com/" version="3.8.6">Jekyll</generator><link href="http://0.0.0.0:4000/feed.xml" rel="self" type="application/atom+xml" /><link href="http://0.0.0.0:4000/" rel="alternate" type="text/html" /><updated>2019-08-31T14:36:54-04:00</updated><id>http://0.0.0.0:4000/feed.xml</id><title type="html">Evan Pratten</title><subtitle>Computer wizard, student, <a href="https://frc5024.github.io">@frc5024</a> programming team lead, and radio enthusiast.</subtitle><entry><title type="html">I did some cleaning</title><link href="http://0.0.0.0:4000/blog/2019/08/27/github-cleanup" rel="alternate" type="text/html" title="I did some cleaning" /><published>2019-08-27T08:37:00-04:00</published><updated>2019-08-27T08:37:00-04:00</updated><id>http://0.0.0.0:4000/blog/2019/08/27/GitHub-cleanup</id><content type="html" xml:base="http://0.0.0.0:4000/blog/2019/08/27/github-cleanup"><p>As I am continuing to check items off my TODO list before school starts, I have come to an item I have been putting off for a while. <strong>Clean up GitHub Account</strong>. Luckily, I discovered a little trick to make the process of deleting unused repos a little easier!</p>
|
||||
<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom" ><generator uri="https://jekyllrb.com/" version="3.8.6">Jekyll</generator><link href="http://0.0.0.0:4000/feed.xml" rel="self" type="application/atom+xml" /><link href="http://0.0.0.0:4000/" rel="alternate" type="text/html" /><updated>2019-08-31T14:39:01-04:00</updated><id>http://0.0.0.0:4000/feed.xml</id><title type="html">Evan Pratten</title><subtitle>Computer wizard, student, <a href="https://frc5024.github.io">@frc5024</a> programming team lead, and radio enthusiast.</subtitle><entry><title type="html">I did some cleaning</title><link href="http://0.0.0.0:4000/blog/2019/08/27/github-cleanup" rel="alternate" type="text/html" title="I did some cleaning" /><published>2019-08-27T08:37:00-04:00</published><updated>2019-08-27T08:37:00-04:00</updated><id>http://0.0.0.0:4000/blog/2019/08/27/GitHub-cleanup</id><content type="html" xml:base="http://0.0.0.0:4000/blog/2019/08/27/github-cleanup"><p>As I am continuing to check items off my TODO list before school starts, I have come to an item I have been putting off for a while. <strong>Clean up GitHub Account</strong>. Luckily, I discovered a little trick to make the process of deleting unused repos a little easier!</p>
|
||||
|
||||
<h2 id="getting-a-list-of-repos-to-delete">Getting a list of repos to delete</h2>
|
||||
<p>I could have automated this, but I prefer a little control. To get the list, start by opening up a new Firefox window with a single tab. In this tab, open your GitHub profile to the list of repos.
|
||||
@ -66,7 +66,7 @@ Starting from the top, scroll through, and middle click on anything you want to
|
||||
|
||||
<p>This is for a few reasons. Firstly, as mentioned above, shift2 uses base85 <strong>twice</strong>. Once before, and once after XOR encryption. Secondly, a file header is prepended to the output to help the decoder read the file. This header contains version info, the file length, and the encoding type.</p>
|
||||
|
||||
<h3 id="try-it-yourself">Try it yourself</h3>
|
||||
<h3 id="try-it-yourself-with-pip">Try it yourself with PIP</h3>
|
||||
<p>I have published shift2 on <a href="https://pypi.org/project/shift-tool/">pypi.org</a> for use with PIP. To install shift2, ensure both <code class="highlighter-rouge">python3</code> and <code class="highlighter-rouge">python3-pip</code> are installed on your computer, then run:</p>
|
||||
<div class="language-sh highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="c"># Install shift2</span>
|
||||
pip3 <span class="nb">install </span>shift-tool
|
||||
@ -76,8 +76,8 @@ shift2 <span class="nt">-h</span>
|
||||
</code></pre></div></div>
|
||||
|
||||
<div id="demo">
|
||||
<h3 id="web-demo">Web demo</h3>
|
||||
<p>I have ported the core code from shift2 over to <a href="http://www.brython.info/index.html">brython</a> to create this demo:</p>
|
||||
<h3 id="try-it-in-the-browser">Try it in the browser</h3>
|
||||
<p>I have ported the core code from shift2 to <a href="http://www.brython.info/index.html">run in the browser</a>. This demo is entirely client-side, and may take a few seconds to load depending on your device.</p>
|
||||
|
||||
<p><input type="radio" id="encode" name="shift-action" value="encode" checked="" />
|
||||
<label for="encode">Encode</label>
|
||||
|
@ -88,7 +88,7 @@ https://blog.mrtnrdl.de/feed.xml
|
||||
<span class="site-info">
|
||||
Site design by: <a href="https://retrylife.ca">Evan Pratten</a> |
|
||||
|
||||
This site was last updated at: 2019-08-31 14:36:54 -0400
|
||||
This site was last updated at: 2019-08-31 14:39:01 -0400
|
||||
</span>
|
||||
</div>
|
||||
|
||||
|
@ -101,7 +101,7 @@
|
||||
<span class="site-info">
|
||||
Site design by: <a href="https://retrylife.ca">Evan Pratten</a> |
|
||||
|
||||
This site was last updated at: 2019-08-31 14:36:54 -0400
|
||||
This site was last updated at: 2019-08-31 14:39:01 -0400
|
||||
</span>
|
||||
</div>
|
||||
|
||||
|
@ -146,7 +146,7 @@
|
||||
<span class="site-info">
|
||||
Site design by: <a href="https://retrylife.ca">Evan Pratten</a> |
|
||||
|
||||
This site was last updated at: 2019-08-31 14:36:54 -0400
|
||||
This site was last updated at: 2019-08-31 14:39:01 -0400
|
||||
</span>
|
||||
</div>
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user