Skip to content

Commit

Permalink
feat :: adds project language meta
Browse files Browse the repository at this point in the history
  • Loading branch information
carbontwelve committed Feb 16, 2022
1 parent c363268 commit 6b72797
Show file tree
Hide file tree
Showing 25 changed files with 31 additions and 6 deletions.
3 changes: 2 additions & 1 deletion _includes/layouts/project.njk
Expand Up @@ -2,9 +2,10 @@

{% block content %}
<article>
<h1>
<h1 class="with-sub-title">
{{ title }}
</h1>
<p>{{ sub_title or description }}</p>
{% if git %}<a href="{{ git }}" title="Visit git repository for {{ title }}" target="_blank">git</a>{% endif %}
{% if packagist %}<a href="{{ packagist }}" title="Visit on packagist" target="_blank">packagist</a>{% endif %}
{% if npm %}<a href="{{ npm }}" title="Visit on npm" target="_blank">npm</a>{% endif %}
Expand Down
8 changes: 4 additions & 4 deletions projects.njk
Expand Up @@ -9,7 +9,7 @@
<h2>Featured</h2>
<ul>
{% for project in collections.projects | onlyFeatured %}
<li><a href="{{ project.url }}" title="Read {{ project.data.title }}">{{ project.data.title }}</a></li>
<li><a href="{{ project.url }}" title="Read {{ project.data.title }}">{{ project.data.title }}</a> <small>{{ project.data.language }}</small></li>
{% endfor %}
</ul>
</section>
Expand All @@ -20,7 +20,7 @@
<h2>Work In Progress / Help appreciated</h2>
<ul>
{% for project in wipProjects %}
<li><a href="{{ project.url }}" title="Read {{ project.data.title }}">{{ project.data.title }}</a></li>
<li><a href="{{ project.url }}" title="Read {{ project.data.title }}">{{ project.data.title }}</a> <small>{{ project.data.language }}</small></li>
{% endfor %}
</ul>
</section>
Expand All @@ -30,7 +30,7 @@
<h2>Tinkering</h2>
<ul>
{% for project in collections.projects | withoutFeatured | onlyCategory('tinkering') %}
<li><a href="{{ project.url }}" title="Read {{ project.data.title }}">{{ project.data.title }}</a></li>
<li><a href="{{ project.url }}" title="Read {{ project.data.title }}">{{ project.data.title }}</a> <small>{{ project.data.language }}</small></li>
{% endfor %}
</ul>
</section>
Expand All @@ -39,7 +39,7 @@
<h2>Abandoned / Shelved</h2>
<ul>
{% for project in collections.projects | withoutFeatured | onlyCategory('abandoned') %}
<li><a href="{{ project.url }}" title="Read {{ project.data.title }}">{{ project.data.title }}</a></li>
<li><a href="{{ project.url }}" title="Read {{ project.data.title }}">{{ project.data.title }}</a> <small>{{ project.data.language }}</small></li>
{% endfor %}
</ul>
</section>
Expand Down
1 change: 1 addition & 0 deletions projects/basic-server-monitoring-with-rrdtools.md
Expand Up @@ -5,6 +5,7 @@ git:
categories:
- abandoned
draft: true
language: PHP
---

...
1 change: 1 addition & 0 deletions projects/clover-coverage-cli.md
Expand Up @@ -3,6 +3,7 @@ title: Clover Coverage Cli
description: Command line parser of clover.xml code coverage
git: https://github.com/photogabble/clover-coverage-cli
featured: true
language: PHP
---

I built this tool in PHP as a command line parser of clover.xml code coverage files. The idea was that it could be run as part of CI/CD against unit test coverage as a way of failing a deployment if a certain coverage threshold was not met.
Expand Down
1 change: 1 addition & 0 deletions projects/code-coverage-info.md
Expand Up @@ -5,6 +5,7 @@ git:
categories:
- wip
draft: true
language: PHP
---

...
1 change: 1 addition & 0 deletions projects/colour.md
Expand Up @@ -4,6 +4,7 @@ description: A lightweight toolset for colour manipulation, ported from polished
git: https://github.com/photogabble/colour
categories:
- abandoned
language: Go
---

While writing [Go Pixels Fight!](https://github.com/photogabble/go-pixel-fight) I needed to be able to mix two colours to produce an average of the two to show which colour was winning; during my research I stumbled upon the _color_ helpers in [polished.js](https://github.com/styled-components/polished) and while they didn't work for what I needed I thought it would be useful to myself in the future and others if they were ported to Go.
Expand Down
1 change: 1 addition & 0 deletions projects/confusable-homoglyphs.md
Expand Up @@ -4,6 +4,7 @@ description: A PHP port of vhf/confusable_homoglyphs
git: https://github.com/photogabble/php-confusable-homoglyphs
packagist: https://packagist.org/packages/photogabble/php-confusable-homoglyphs
featured: true
language: PHP
---

> Unicode homoglyphs can be a nuisance on the web. Your most popular client, AlaskaJazz, might be upset to be impersonated by a trickster who deliberately chose the username ΑlaskaJazz. (The A is the greek letter [capital alpha](http://www.amp-what.com/unicode/search/%CE%91))
Expand Down
1 change: 1 addition & 0 deletions projects/draughts.md
Expand Up @@ -5,6 +5,7 @@ git:
categories:
- tinkering
draft: true
language: PHP
---

...
1 change: 1 addition & 0 deletions projects/floppy-box.md
Expand Up @@ -5,6 +5,7 @@ git:
categories:
- wip
draft: true
language: Node
---

...
1 change: 1 addition & 0 deletions projects/go-git-archive.md
Expand Up @@ -4,6 +4,7 @@ description: A small command line tool for zipping all files changed between two
git: https://github.com/photogabble/go-git-archive
categories:
- tinkering
language: Go
---

This was written as a learning exercise while I was learning to program in Go. It solves a problem that I faced at the time which was that we needed to upload just the files changed between commit versions as a zip to an FTP endpoint for deployment.
Expand Down
1 change: 1 addition & 0 deletions projects/go-pixels-fight.md
Expand Up @@ -4,6 +4,7 @@ description: A Golang port of pixelsfighting.com
git: https://github.com/photogabble/go-pixel-fight
categories:
- tinkering
language: Go
---

This ia port to Go of the JavaScript [Pixel Fighting](http://pixelsfighting.com/) simulation by [Jan Tewes Thede](https://twitter.com/jtthede). There are a few notable differences between Jan's version and my port, namely mine contains a positive feedback loop so that once one side begins to gain ground their velocity increases until a winner in found rather than oscillating between the two sides. Once a side has one the simulation resets and a fresh pair of colours are selected.
Expand Down
1 change: 1 addition & 0 deletions projects/go-space-mines.md
Expand Up @@ -4,6 +4,7 @@ description: Command Line Space Mines Simulator Game ported from BASIC to Go
git: https://github.com/photogabble/go-space-mines
categories:
- tinkering
language: Go
---

This is a port to Go of a BASIC strategy/management game called Space Mines. The BASIC code was originally published in 1982 in an Usborne book titled [Computer Space-games](http://www.worldofspectrum.org/infoseek.cgi?regexp=^Computer+Spacegames$&loadpics=1). In the same year the game was released on tape for the ZX Spectrum 16K, [click here](http://www.worldofspectrum.org/infoseekid.cgi?id=0019122) for more information and a download link to the Spectrum tape image.
Expand Down
1 change: 1 addition & 0 deletions projects/laravel-registration-validator.md
Expand Up @@ -4,6 +4,7 @@ description: Solid credential validation for Laravel >= 5.5
git: https://github.com/photogabble/laravel-registration-validator
packagist: https://packagist.org/packages/photogabble/laravel-registration-validator
featured: true
language: PHP
---

> _An all-Latin username containing confusables is probably fine, and an all-Cyrillic username containing confusables is probably fine, but a username containing mostly Latin plus one Cyrillic code point which happens to be confusable with a Latin one… is not._ - [James Bennet](https://www.b-list.org/weblog/2018/feb/11/usernames/)
Expand Down
2 changes: 2 additions & 0 deletions projects/laravel-remember-uploads.md
@@ -1,9 +1,11 @@
---
title: Laravel Remember Uploads
sub_title: Laravel uploaded file middleware
description: Laravel Middleware and helper for remembering file uploads during validation redirects
git: https://github.com/photogabble/laravel-remember-uploads
packagist: https://packagist.org/packages/photogabble/laravel-remember-uploads
featured: true
language: PHP
---

This middleware solves the issue of unrelated form validation errors redirecting the user back and losing the files that had been uploaded. It does this by temporarily caching server-side the file fields that have passed validation so that they may be processed once the whole form has been submitted passing validation.
1 change: 1 addition & 0 deletions projects/ldpl-space-mines.md
Expand Up @@ -4,6 +4,7 @@ description: Command Line Space Mines Simulator Game ported from BASIC to LDPL
git: https://github.com/photogabble/ldpl-space-mines
categories:
- tinkering
language: LDPL
---

This is a port to LDPL of a BASIC strategy/management game called Space Mines. The BASIC code was originally published in 1982 in an Usborne book titled [Computer Space-games](http://www.worldofspectrum.org/infoseek.cgi?regexp=^Computer+Spacegames$&loadpics=1). In the same year the game was released on tape for the ZX Spectrum 16K, [click here](http://www.worldofspectrum.org/infoseekid.cgi?id=0019122) for more information and a download link to the Spectrum tape image.
Expand Down
1 change: 1 addition & 0 deletions projects/ldpl-spark.md
Expand Up @@ -4,6 +4,7 @@ description: ▁▂▃▅▂▇ in your shell, ported from bash to LDPL.
git:
categories:
- tinkering
language: LDPL
---

This is a port to LDPL of the [BASH Shell script spark](https://github.com/holman/spark). It doesn't 100% duplicate the functionality because you can't pipe values in nor will it accept comer delimited input (yet?)
Expand Down
1 change: 1 addition & 0 deletions projects/like-pie-net.md
Expand Up @@ -5,6 +5,7 @@ git:
categories:
- wip
draft: true
language: Node
---

...
1 change: 1 addition & 0 deletions projects/php-rrdtool-helpers.md
Expand Up @@ -4,6 +4,7 @@ description: Basic server monitoring with PHP & RRDTools
git: https://github.com/photogabble/php-rrdtools-server-monitor
categories:
- abandoned
language: PHP
---

If you feel that a monitoring service such as Cacti is too heavy for you needs you may find this project of interest. This provides monitoring with minute resolution for Nginx, CPU Usage, Network Traffic and Memory Usage.
1 change: 1 addition & 0 deletions projects/php-urls.md
Expand Up @@ -5,6 +5,7 @@ git:
categories:
- wip
draft: true
language: Node
---

...
1 change: 1 addition & 0 deletions projects/portcullis.md
Expand Up @@ -5,6 +5,7 @@ git:
categories:
- tinkering
draft: true
language: PHP
---

...
1 change: 1 addition & 0 deletions projects/t-irc.md
Expand Up @@ -4,6 +4,7 @@ description: A tiny IRC client written in Golang, with zero dependencies
git: https://github.com/photogabble/go-tirc
categories:
- tinkering
language: Go
---

...
2 changes: 1 addition & 1 deletion projects/todo-ci.md
Expand Up @@ -5,9 +5,9 @@ git: https://github.com/photogabble/todo
categories:
- wip
draft: true
language: Node
---


This project acts to provide a CI service that can scrape source files for `todo` items and provide a tracked list of items added/removed by the current commit as well as providing an overall list of todo items for the project as a whole.

This is made up of two projects: a web api for persisting project todo state and a command line tool for scraping a project's source code and reporting to the api.
Expand Down
1 change: 1 addition & 0 deletions projects/tuppence-boilerplate.md
Expand Up @@ -5,6 +5,7 @@ git: https://github.com/photogabble/tuppence-boilerplate
packagist: https://packagist.org/packages/photogabble/tuppence-boilerplate
categories:
- abandoned
language: PHP
---

This boilerplate wraps [Tuppence](https://github.com/photogabble/tuppence) with some project structure and includes a service provider for the [Plates PHP](http://platesphp.com/) template system and [Docrtine ORM](http://www.doctrine-project.org/projects/orm.html).
Expand Down
1 change: 1 addition & 0 deletions projects/tuppence.md
Expand Up @@ -5,6 +5,7 @@ git: https://github.com/photogabble/tuppence
packagist: https://packagist.org/packages/photogabble/tuppence
categories:
- abandoned
language: PHP
---

Tuppence is a very small unimposing library that brings together a [dependency injection container](http://container.thephpleague.com/), [router](http://route.thephpleague.com/) and [events](http://event.thephpleague.com/2.0/) all provided by _The League of Extraordinary Packages_.
Expand Down
2 changes: 2 additions & 0 deletions projects/word-stats-pluginfor-eleventy.md
@@ -1,9 +1,11 @@
---
title: Word Stats Plugin for Eleventy
sub_title: Reading Time + Word Count for 11ty
description: A lightweight wrapper for making available reading-time to the Eleventy Static Site Generator.
git: https://github.com/photogabble/eleventy-plugin-word-stats
npm: https://www.npmjs.com/package/@photogabble/eleventy-plugin-word-stats
featured: true
language: JS
---

This middleware solves the issue of unrelated form validation errors redirecting the user back and losing the files that had been uploaded. It does this by temporarily caching server-side the file fields that have passed validation so that they may be processed once the whole form has been submitted passing validation.

0 comments on commit 6b72797

Please sign in to comment.