Skip to content

Latest commit

 

History

History
22 lines (16 loc) · 1.1 KB

File metadata and controls

22 lines (16 loc) · 1.1 KB
layout default
title All Patterns

Here is a catalog of {{ site.the-patterns | size }} energy patterns that you can use to improve the energy efficiency of your code. All these patterns are provided in the latest edition of The Green Codeck.

Shuffle a random pattern

{% for category in site.data.categories %} {% assign cat_patterns = site.the-patterns | where: "category", category.name %}

{{ category.suit }} {{ category.name }} ({{ cat_patterns | size }})

{% for pattern in cat_patterns %} {% assign slugified_name = pattern.name | slugify %}

  • [{{ pattern.name }}]({{ '/the-patterns/' | append: slugified_name | relative_url }}) {% endfor %}

{% endfor %}

Know a pattern that's missing? [Contribute on GitHub](https://github.com/{{ site.github_username }}/the-green-codeck).