Ognjen Regoje bio photo

Ognjen Regoje
But you can call me Oggy


I make things that run on the web (mostly).
More ABOUT me and my PROJECTS.

me@ognjen.io LinkedIn
Check out
The Marketplace Guide
A collection of lessons for the early stages of building a marketplace startup.
https://themarketplace.guide

#technical

Ruby String::negative

A way to calculate the "negative" of a string to be able to sort an array of objects in alphabetic order of one field but reverse alphabetic order of another. (372)

Technical blogging in the era of Stack Overflow

While Stack Overflow does cover the most commonly encountered issues, particularly for beginners, there is still a lot of value in technical blogging for solutions that are the result of experience. (965)

Generate PDF of Jekyll Page

Updated postI strongly suggest you follow the new way instead: Generating PDF from Jekyll using pandoc An improved way of generating ... (284)

Flatten Plugin for Jekyll

I wanted to be able to get a list of categories from a group of posts. That’s easy enough to do using the map liquid filter:{{posts | map: 'categories'}}The result is an array o... (214)

Compact Plugin for Jekyll (where not nil)

I wanted to generate an index of metadata from posts in Jekyll. The field that I wanted to index wasn’t compulsory, it was an additional one that I sometimes set, and sometimes ... (249)

Schedule Jekyll posts using cron and rsync

This is a static site generated using Jekyll. It’s also hosted on one of my servers rather then on Git(Lab/Hub).I deploy it using a rsync to copy the _site directory to the serv... (566)

Complete list of ipay88 payment ids

Note that this is not taken from their documentation but from inspecting an iPay88 page that the user is redirected to.GeneralThese are the options that are available from the d... (461)

How Supplybunny handled a 10x spike in traffic

The beginning of the MCO was quite stressful but I’m happy about a small victory shown in this screenshot:Supplybunny site was live and taking orders the entire time, handling p... (280)

A small victory in the MCO war

The beginning of the MCO was quite stressful but I’m happy about a small victory shown in this screenshot:Supplybunny site was live and taking orders the entire time, handling p... (280)

Tools for PWA icons

I keep having to look for these four tools when making PWA icons. Convert SVG to PNGhttps://ezgif.com/svg-to-png/ (set the width to at least 512) Make sure the icon ... (92)

Rails pattern: state params

A useful pattern that I didn’t see documented before is what I call “state params”: returning different permitted params based on the state of the record.If there is an order mo... (180)