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

POSTS RSS

Turns out Elastic aren't the bad guys

Elastic changed the licence for ElasticSearch disallowing providing it as a service. A lot of people were upset. My reflex was to join in the outrage but I wanted to better understand the motivation behind this decision. My reflex was to join in the outrage but I wanted to better understand the motivation behind this decision. I also wanted to consider the different arguments against it. I bookmarked the HackerNews threads and came back to them only recently. I tried to strip away the emotion and noise. Following is a summary of the different arguments that helped me form a more nuanced understanding of the situation. (2343)

Generating more interesting image previews using imagemagick

A couple of tries at generating more interesting image previews using imagemagick with the mini_magick gem. (2394)

Introducing the Front Matter Editor

A side project in Electron and React for easier editing of front matter in many markdown files (348)

Challenges when starting data analysis as a first-time founder

One of the first challenges a first time-founder encounters is having to do data analysis.In the course of building Supplybunny we tried to make decisions based on data as much ... (1351)

A review of the blog in 2020

This post is mostly for me to see what’s happened to the blog last year. I planned on taking it much more seriously. I did but only for a while.QuantityPublished 32 items. wc -w... (519)

Using CSS to more efficiently cache user-specific content

:after and specifically classes can be populated with user-specific content using CSS so that cached elements don't have to be duplicated for minor variations. (725)

How to get the direct path to a Webpacker pack

If you are making use of a serviceworker to cache JS or CSS or you’re rendering some JS server-side you have to have the full path to the file.If, at the same time, you’re using... (119)

How to reload the content after the user switches away

In Ooradee, I wanted to have the ability to see updates I made in another window.The correct way to do this is to implement something like ActionCable. I didn’t want to do this ... (394)

How to run your own link shortener on Jekyll

I wanted to have the ability to use short links to external resources. I also wanted to be able to change the targets of the links.I suppose that it would have been possible wit... (440)

Jekyll Combining an External Folder into Posts

There's a more complete version of this post. I use markdown to take notes. Previously, I wanted make a link to that folder and publish only some of those notes using Jek... (1179)

Publishing a linked folder in Jekyll

There's a more complete version of this post. I use markdown to take notes. I wanted to publish a part of those notes using Jekyll.The obvious way to do this is to just c... (879)

An innovative design for passport entry

It's a video, it might take a second to load. (25)

Put Rails scopes nearer to where they're used

This improves readability especially for scopes that are very feature specific (342)

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)

Capturing screenshot of a node using Chrome DevTools

A nifty feature in Chrome DevTools I recently discovered is the ability to take a screenshot of a HTML node.For me it’s quite useful for creating Canva-like graphics without hav... (88)

Overriding rails_amp image helper to cater for lazy-loaded images

I make use of the rails_amp gem in the affiliate site. It generates AMP from normal views.One of it’s features is automatically converting the image_tag into the AMP compatible ... (254)

SPAs and PWAs should duplicate the store and the routes

For the sake of being DRY we've made single-page applications and progressive web apps too DRY. In order to offer a better user experience we need to stop considering the client-side and server side store and routes as logically related. (927)

nit: Link to publications that wrote about you

Lots of startups put logos of reputable publications that have written about them. Almost none actually link to the coverage.Similarly, lots of them put logos of companies that ... (54)

Concept: Tinder interface for restaurants

The Tinder interface is great for making a quick judgement for a low impact decision. A while back I built several prototypes that use that interface and realized that it works ... (262)

Please set better file names

One of my pet peeves are useless file names. If software generates a file then it will eventually need to be found. File names that are just strings of numbers that make sense o... (146)

nit: If you have a newsletter please have an archive

For reading online content I prefer to get use either Pocket or an RSS reader. I prefer email to be separated from “media”.Newsletters are getting more popular now. There are so... (127)

FOREND.digital case studies

Case study on improving performance for a client Diagnosed and resolved performance issues and suggested improvements to facilitate ... (213)

Prototype interviewing process for a remote-first company

Originally devised during the Covid lockdowns, here's what I imagined might be a good hiring process for a remote-first company. (482)

‹ newer older ›