ruby (3)

Sorting multidimensional works with a few caveats

Recently at work, I've been doing some work on a project written in Ruby to enable an endpoint to paginate. Something we need for our mobile apps so we can make a list more performant. In the proces... Keep Reading


Setting up a custom variable on your posts that makes it really easy to aggregate posts on a page

Jekyll makes it super easy to create pages and posts and then loop over them to render lists of them. There are a few commands that you can utilize in Liquid to narrow down that list for only render... Keep Reading


Need to assign a new variable with a subset of an array. Insert slicing.

While liquid has a way to ensure that a for loop will exit once it hits a certain iteration. You may need to slice an array of items outside of a for loop. After some time on Google, I couldn't find... Keep Reading