cmd
This commit is contained in:
parent
dd3f1332d3
commit
1e5e0968bd
3
.gitignore
vendored
Normal file
3
.gitignore
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
_site
|
||||
.kotlin-for-frc
|
||||
.sass-cache
|
9
_posts/WIP-2019-09-09-fstrings.md
Normal file
9
_posts/WIP-2019-09-09-fstrings.md
Normal file
@ -0,0 +1,9 @@
|
||||
---
|
||||
layout: post
|
||||
title: "What the fstring?" #"PEP 498: Literal String Interpolation"
|
||||
description: "Every language should have this feature"
|
||||
date: 2019-09-09 14:09:00
|
||||
categories: python
|
||||
---
|
||||
|
||||
If you haven't notices by now, I love Python.
|
@ -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-09-07 13:15:10 -0400
|
||||
This site was last updated at: 2019-09-10 10:43:19 -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-09-07 13:15:10 -0400
|
||||
This site was last updated at: 2019-09-10 10:43:19 -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-09-07 13:15:10 -0400
|
||||
This site was last updated at: 2019-09-10 10:43:19 -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-09-07 13:15:10 -0400
|
||||
This site was last updated at: 2019-09-10 10:43:19 -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-09-07 13:15:10 -0400
|
||||
This site was last updated at: 2019-09-10 10:43:19 -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-09-07 13:15:10 -0400
|
||||
This site was last updated at: 2019-09-10 10:43:19 -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-09-07 13:15:10 -0400
|
||||
This site was last updated at: 2019-09-10 10:43:19 -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-09-07 13:15:10 -0400
|
||||
This site was last updated at: 2019-09-10 10:43:19 -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-09-07 13:15:10 -0400
|
||||
This site was last updated at: 2019-09-10 10:43:19 -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-09-07 13:15:10 -0400
|
||||
This site was last updated at: 2019-09-10 10:43:19 -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-09-07 13:15:10 -0400
|
||||
This site was last updated at: 2019-09-10 10:43:19 -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-09-07 13:15:10 -0400
|
||||
This site was last updated at: 2019-09-10 10:43:19 -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-09-07 13:15:10 -0400
|
||||
This site was last updated at: 2019-09-10 10:43:19 -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-09-07 13:15:10 -0400
|
||||
This site was last updated at: 2019-09-10 10:43:19 -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-09-07 13:15:10 -0400
|
||||
This site was last updated at: 2019-09-10 10:43:19 -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-09-07 13:15:10 -0400
|
||||
This site was last updated at: 2019-09-10 10:43:19 -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-09-07 13:15:10 -0400
|
||||
This site was last updated at: 2019-09-10 10:43:19 -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-09-07 13:15:10 -0400
|
||||
This site was last updated at: 2019-09-10 10:43:19 -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-09-07 13:15:10 -0400
|
||||
This site was last updated at: 2019-09-10 10:43:19 -0400
|
||||
</span>
|
||||
</div>
|
||||
|
||||
|
@ -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-09-07 13:15:10 -0400
|
||||
This site was last updated at: 2019-09-10 10:43:19 -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-09-07 13:15:10 -0400
|
||||
This site was last updated at: 2019-09-10 10:43:19 -0400
|
||||
</span>
|
||||
</div>
|
||||
|
||||
|
@ -157,7 +157,7 @@ fn printMyNumber(MyClass* self){
|
||||
<span class="site-info">
|
||||
Site design by: <a href="https://retrylife.ca">Evan Pratten</a> |
|
||||
|
||||
This site was last updated at: 2019-09-07 13:15:10 -0400
|
||||
This site was last updated at: 2019-09-10 10:43:19 -0400
|
||||
</span>
|
||||
</div>
|
||||
|
||||
|
@ -400,7 +400,7 @@
|
||||
<span class="site-info">
|
||||
Site design by: <a href="https://retrylife.ca">Evan Pratten</a> |
|
||||
|
||||
This site was last updated at: 2019-09-07 13:15:10 -0400
|
||||
This site was last updated at: 2019-09-10 10:43:19 -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-09-07 13:15:10 -0400
|
||||
This site was last updated at: 2019-09-10 10:43:19 -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-09-07T13:15:10-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">Doing Python OOP the wrong way</title><link href="http://0.0.0.0:4000/blog/2019/09/07/wrong-python" rel="alternate" type="text/html" title="Doing Python OOP the wrong way" /><published>2019-09-07T09:13:00-04:00</published><updated>2019-09-07T09:13:00-04:00</updated><id>http://0.0.0.0:4000/blog/2019/09/07/wrong-python</id><content type="html" xml:base="http://0.0.0.0:4000/blog/2019/09/07/wrong-python"><p>If you know me, you probably know of the many weird things I do with python. Most recent of which being this <a href="https://en.wikipedia.org/wiki/Fizz_buzz">FizzBuzz</a> implementation in one line of python code:</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-09-10T10:43:19-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">Doing Python OOP the wrong way</title><link href="http://0.0.0.0:4000/blog/2019/09/07/wrong-python" rel="alternate" type="text/html" title="Doing Python OOP the wrong way" /><published>2019-09-07T09:13:00-04:00</published><updated>2019-09-07T09:13:00-04:00</updated><id>http://0.0.0.0:4000/blog/2019/09/07/wrong-python</id><content type="html" xml:base="http://0.0.0.0:4000/blog/2019/09/07/wrong-python"><p>If you know me, you probably know of the many weird things I do with python. Most recent of which being this <a href="https://en.wikipedia.org/wiki/Fizz_buzz">FizzBuzz</a> implementation in one line of python code:</p>
|
||||
<div class="language-python highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="n">_</span><span class="o">=</span><span class="p">[</span><span class="k">print</span><span class="p">(</span><span class="s">"FizzBuzz"</span><span class="p">[</span><span class="n">_</span><span class="o">*</span><span class="n">_</span><span class="o">%</span><span class="mi">3</span><span class="o">*</span><span class="mi">4</span><span class="p">:</span><span class="mi">8</span><span class="o">--</span><span class="n">_</span><span class="o">**</span><span class="mi">4</span><span class="o">%</span><span class="mi">5</span><span class="p">]</span> <span class="ow">or</span> <span class="n">_</span><span class="p">)</span> <span class="k">for</span> <span class="n">_</span> <span class="ow">in</span> <span class="nb">range</span><span class="p">(</span><span class="mi">101</span><span class="p">)]</span>
|
||||
</code></pre></div></div>
|
||||
|
||||
|
@ -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-09-07 13:15:10 -0400
|
||||
This site was last updated at: 2019-09-10 10:43:19 -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-09-07 13:15:10 -0400
|
||||
This site was last updated at: 2019-09-10 10:43:19 -0400
|
||||
</span>
|
||||
</div>
|
||||
|
||||
|
@ -256,7 +256,7 @@
|
||||
<span class="site-info">
|
||||
Site design by: <a href="https://retrylife.ca">Evan Pratten</a> |
|
||||
|
||||
This site was last updated at: 2019-09-07 13:15:10 -0400
|
||||
This site was last updated at: 2019-09-10 10:43:19 -0400
|
||||
</span>
|
||||
</div>
|
||||
|
||||
|
BIN
assets/images/cmd.bmp
Normal file
BIN
assets/images/cmd.bmp
Normal file
Binary file not shown.
After Width: | Height: | Size: 127 B |
Loading…
x
Reference in New Issue
Block a user