Ognjen Regoje bio photo

MY NAME IS
Ognjen Regoje
BUT YOU CAN CALL ME OGGY


I make things that run on the web (mostly).
More /ABOUT me.

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

#technical

2021

August 02, 2021

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. (915)

May 15, 2021

Collecting user feedback using only your analytics

In the early stages, or for a side project, it’s not worth building an entire system in order to track user feedback. Instead, it can be done quite well by capturing the feedbac... (173)

March 12, 2021

Generate PDF of Jekyll Page

I wanted to generate a PDF of a page rendered in Jekyll.I found a gem called jekyll-pdf but it seems to have been abandoned.The alternative I came up with was to add a hook that... (241)

March 12, 2021

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)

March 12, 2021

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)

March 01, 2021

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)

January 02, 2021

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)

May 16, 2020

Challenges in implementing ant colony optimization

Here are the more technical details of ACO implementation are discussed. The reasoning behind it and the conclusion are in a separate post.ImplementationI started off with an ex... (1795)

May 07, 2020

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)

May 07, 2020

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)

April 25, 2020

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)

March 21, 2020

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)

March 21, 2020

mysql2 - activerecord version compatibility list

In the course of doing upgrades for an older project I’ve discovered that not every activerecord version is compatible with every mysql2 version. The adapters use ~> to lock ... (147)

March 01, 2020

Pro-tip when diagnosing a performance issue

When diagnosing a performance issue look for the end-points that don’t appear in the logs as frequently as they should.If the entire application slows down and all requests are ... (49)