Backfill previous posts.

main
Joshua Potter 2023-12-17 15:24:47 -07:00
parent 78faa48853
commit 81b7c9add7
16 changed files with 176 additions and 19 deletions

View File

@ -2,10 +2,6 @@
layout: default layout: default
--- ---
<h1>
{{ page.title }}
</h1>
<ul class="posts-container"> <ul class="posts-container">
{% for post in site.posts %} {% for post in site.posts %}
{% unless post.next %} {% unless post.next %}
@ -14,14 +10,18 @@ layout: default
{% capture year %}{{ post.date | date: '%Y' }}{% endcapture %} {% capture year %}{{ post.date | date: '%Y' }}{% endcapture %}
{% capture nyear %}{{ post.next.date | date: '%Y' }}{% endcapture %} {% capture nyear %}{{ post.next.date | date: '%Y' }}{% endcapture %}
{% if year != nyear %} {% if year != nyear %}
<hr />
<h3>{{ post.date | date: '%Y' }}</h3> <h3>{{ post.date | date: '%Y' }}</h3>
{% endif %} {% endif %}
{% endunless %} {% endunless %}
<li itemscope> <li itemscope>
<a href="{{ site.github.url }}{{ post.url }}">{{ post.title }}</a> <div class="post-tags">
<p> <a href="{{ site.github.url }}{{ post.url }}">{{ post.title }}</a>
{{ post.content | strip_html }} {% for tag in post.tags %}
</p> <div class="{{ tag }}">{{ tag }}</div>
{% endfor %}
</div>
<p>{{ post.content | strip_html }}</p>
<p class="post-date"><span><i class="fa fa-calendar" aria-hidden="true"></i> {{ post.date | date: "%B %-d" }}</span></p> <p class="post-date"><span><i class="fa fa-calendar" aria-hidden="true"></i> {{ post.date | date: "%B %-d" }}</span></p>
</li> </li>
{% endfor %} {% endfor %}

View File

@ -3,7 +3,7 @@ layout: default
--- ---
<p class="home-description"> <p class="home-description">
The following websites are served from <a href="https://nixos.org/" target="_blank">NixOS</a> Most applications listed below are served from <a href="https://nixos.org/" target="_blank">NixOS</a>
machines hosted on <a href="https://www.digitalocean.com/" target="_blank">Digital Ocean</a>. machines hosted on <a href="https://www.digitalocean.com/" target="_blank">Digital Ocean</a>.
Configuration files for each of my machines can be found <a href="https://github.com/jrpotter/nixos-configuration" target="_blank">here</a>. Configuration files for each of my machines can be found <a href="https://github.com/jrpotter/nixos-configuration" target="_blank">here</a>.
If interested in starting a similar hosting solution, consider getting a $200 If interested in starting a similar hosting solution, consider getting a $200
@ -18,12 +18,25 @@ layout: default
</h1> </h1>
{% if post.image %} {% if post.image %}
<div class="thumbnail-container"> <div class="thumbnail-container">
<a href="{{ post.href }}" target="_blank"><img src="{{ site.github.url }}/assets/img/{{ post.image }}"></a> <a href="{{ post.href }}" target="_blank">
<img src="{{ site.github.url }}/assets/img/{{ post.image }}">
</a>
</div> </div>
{% endif %} {% endif %}
<p> <p>
{{ post.content }} <div class="post-tags">
<span class="post-date"><a href="{{ post.href }}" target="_blank">{{ post.href }}</a> - <i class="fa fa-calendar" aria-hidden="true"></i> {{ post.date | date_to_string }}</span> {% for tag in post.tags %}
<div class="{{ tag }}">{{ tag }}</div>
{% endfor %}
</div>
<p>{{ post.content }}</p>
<span class="post-date">
{% if post.href %}
<a href="{{ post.href }}" target="_blank">{{ post.href }}</a> -
{% endif %}
<i class="fa fa-calendar" aria-hidden="true"></i>
{{ post.date | date_to_string }}
</span>
</p> </p>
</div> </div>
{% endif %} {% endif %}

View File

@ -3,7 +3,11 @@ layout: default
--- ---
<h1> <h1>
{% if page.href %}
<a href="{{ page.href }}" target="_blank">{{ page.title }}</a> <a href="{{ page.href }}" target="_blank">{{ page.title }}</a>
{% else %}
{{ page.title }}
{% endif %}
</h1> </h1>
{% if page.image %} {% if page.image %}
<div class="page-image-container"> <div class="page-image-container">

View File

@ -6,16 +6,33 @@ layout: default
{% if post.categories contains "project" %} {% if post.categories contains "project" %}
<div class="posts-container"> <div class="posts-container">
<h1> <h1>
{% if post.href %}
<a href="{{ post.href }}" target="_blank">{{ post.title }}</a> <a href="{{ post.href }}" target="_blank">{{ post.title }}</a>
{% else %}
{{ post.title }}
{% endif %}
</h1> </h1>
{% if post.image %} {% if post.image %}
<div class="thumbnail-container"> <div class="thumbnail-container">
<a href="{{ post.href }}" target="_blank"><img src="{{ site.github.url }}/assets/img/{{ post.image }}"></a> <a href="{{ post.href }}" target="_blank">
<img src="{{ site.github.url }}/assets/img/{{ post.image }}">
</a>
</div> </div>
{% endif %} {% endif %}
<p> <p>
{{ post.content }} <div class="post-tags">
<span class="post-date"><a href="{{ post.href }}" target="_blank">{{ post.href }}</a> - <i class="fa fa-calendar" aria-hidden="true"></i> {{ post.date | date_to_string }}</span> {% for tag in post.tags %}
<div class="{{ tag }}">{{ tag }}</div>
{% endfor %}
</div>
<p>{{ post.content }}</p>
<span class="post-date">
{% if post.href %}
<a href="{{ post.href }}" target="_blank">{{ post.href }}</a> -
{% endif %}
<i class="fa fa-calendar" aria-hidden="true"></i>
{{ post.date | date_to_string }}
</span>
</p> </p>
</div> </div>
{% endif %} {% endif %}

View File

@ -0,0 +1,12 @@
---
layout: post
title: Mini Java
categories: project
tags: [java]
href: "https://github.com/jrpotter/mini-java"
---
A Java implemention of a subset of Java. Generates code that targets mJAM, an
abstract machine included in the source that supports running `miniJava`. In
particular, this implementation supports various primitives, array types, and,
to a certain degree, classes.

View File

@ -0,0 +1,12 @@
---
layout: post
title: Fifth
categories: project
tags: [python]
href: "https://github.com/jrpotter/fifth"
---
A library for parsing various rulesets for cellular automata machines (CAMs).
The parsed CAM is displayed using [matplotlib](https://matplotlib.org){:target="_blank"}.
For instance, this library parses ruleset `B3/S23` and then produces a running
visualization of Conway's Game of Life.

13
_posts/2015-10-01-pong.md Normal file
View File

@ -0,0 +1,13 @@
---
layout: post
title: Pong
categories: project
tags: [verilog]
href: "https://github.com/jrpotter/pong"
---
An implementation of the classic pong video game, written from scratch on an
Artix FPGA using System Verilog. This works on a custom ALU intended to process
an arbitrary MIPS program with modified memory configuration: `.text 0x0000`
and `.data 0x2000`. A memory mapped IO scheme is used to draw to the monitor and
interact with the keyboard.

View File

@ -0,0 +1,12 @@
---
layout: post
title: Highlight Plugin
categories: project
tags: [vim, vimscript]
href: "https://github.com/jrpotter/vim-highlight"
---
A small Vim plugin that maintains a custom registry for manipulating highlights.
This registry allows highlighting different keywords without overriding previous
seaarches. Includes a small snippet for including the active highlight from
within the statusline.

View File

@ -0,0 +1,11 @@
---
layout: post
title: Join Plugin
categories: project
tags: [vim, vimscript]
href: "https://github.com/jrpotter/vim-join"
---
A small Vim plugin that joins a number of lines together and then breaks them
again with respect to the `textwidth` parameter. This enables re-flowing a set
of lines similar in manner to `fold` or `fmt`.

View File

@ -0,0 +1,13 @@
---
layout: post
title: Postlude
categories: project
tags: [haskell]
href: "https://github.com/jrpotter/postlude"
---
An example of a custom-rolled
[Prelude](https://hackage.haskell.org/package/base-4.19.0.0/docs/Prelude.html){:target="_blank"}.
Serves as a fairly comprehensive list of imports I found relevant across the
various Haskell projects I worked on as well as a demonstration on how
forwarding imports with Haskell works.

View File

@ -0,0 +1,15 @@
---
layout: post
title: Looped
categories: home
tags: [python, swift, kotlin, vue]
image: looped.png
---
VP of engineering at Looped, the "Ultimate Virtual Venue". Featured on
[TechCrunch](https://techcrunch.com/2021/03/02/looped-raises-7-7m-to-expand-its-interactive-live-event-platform){:target="_blank"}
after the initial seed round. Led development on the Kotlin-based
[Android app](https://play.google.com/store/apps/details?id=com.vipvr.android){:target="_blank"}
(featuring 50K+ downloads and a 4.5 star review), the Swift-based iOS app (no
longer available), the Vue-based web app (no longer available), and the
Django-based backend.

View File

@ -6,7 +6,7 @@ tags: [rust, git, nix]
href: "https://github.com/jrpotter/homesync" href: "https://github.com/jrpotter/homesync"
--- ---
An experimental Rust-based project for automatically syncing files scross your An experimental Rust-based project for automatically syncing files across your
desktop to a git repository. Allows upstream and downstream syncing with a desktop to a git repository. Allows upstream and downstream syncing with a
single command, without any need to copy files manually to and from a git single command, without any need to copy files manually to and from a git
repository. Separately, a daemon can be spawned that watches files for changes repository. Separately, a daemon can be spawned that watches files for changes

View File

@ -1,6 +1,6 @@
--- ---
layout: post layout: post
title: Boostrap title: Bootstrap
categories: project categories: project
tags: [c, nix] tags: [c, nix]
href: "https://github.com/jrpotter/bootstrap" href: "https://github.com/jrpotter/bootstrap"

View File

@ -0,0 +1,11 @@
---
layout: post
title: NixOS Configuration
categories: project
tags: [nix]
href: "https://github.com/jrpotter/nixos-configuration"
---
The [nix](https://nixos.org){:target="_blank"} configuration files used to
declaratively describe my local and remote machines. The site you are on now is
declared within this project!

View File

@ -0,0 +1,12 @@
---
layout: post
title: Bookshelf Doc Generator
categories: project
tags: [lean]
href: "https://github.com/jrpotter/bookshelf-doc"
---
A fork of [doc-gen4](https://github.com/leanprover/doc-gen4){:target="_blank"}
tightly coupled to my [bookshelf](https://github.com/jrpotter/bookshelf){:target="_blank"}
project. This augments the `:docs` facet to convert LaTeX files into PDFs and
then list them in the generated navbar.

View File

@ -7,13 +7,25 @@
} }
} }
.post-tags {
display: flex;
gap: 8px;
div {
background: #e0e0e0;
border-radius: 999px;
padding: 2px 8px;
font-size: 16px;
}
}
.post-date { .post-date {
display: block; display: block;
margin-top:3px; margin-top: 3px;
margin-bottom: 1rem; margin-bottom: 1rem;
color: $light-gray-color; color: $light-gray-color;
font-family: $sans-serif-font-family; font-family: $sans-serif-font-family;
font-size:0.8rem; font-size: 0.8rem;
} }
@media (max-width: $elements-responsive-width) { @media (max-width: $elements-responsive-width) {