In this blog post I will list of the troubles I went through getting to run the Bookmarks.dev API on PM21 in cluster mode on an Ubuntu system with Node.js managed by NVM. The PM2 setup was on a single node (aka fork mode) until now with no problems, but I decided to take advantage of the multi-core capability and enable cluster mode with PM2.

Continue Reading ...

Motivation

Finding the desired link again or that working piece of code can be sometimes a tedious job. It can even become frustrating when you don’t find it in a reasonable amount of time, because you know it’s there somewhere, you’ve seen it before… After a struggle of about two or more minutes you finally find it.

Nailed it

For code snippets it might take even longer depending on your project portfolio’s size. I had sometimes the impression I spent more time looking for stuff than actually programming

This time you bookmark the resource, and say to yourself - “from now on I will be more disciplined and consciously use bookmarks and a code snippet manager”.

So far, so good, but soon the bookmarks toolbar won’t fit into your 4k wide monitor anymore, and you might lose more time browsing through them… Because you bookmarked it, right?

Or didn't you?
Or didn't you?
Continue Reading ...

Being on a constant lookout for bookmarks management optimization on www.bookmarks.dev, I had this idea lately to add a bookmark to my history not only when I click the title of the bookmark (main URL), but also when I click hyperlinks in the description of the bookmark - sometimes I tend to bookmark the “parent” url and add “child” or related bookmarks in the description (an example would be bookmarking the same “resource” which is deployed on different environments like dev, test and prod):

Click on link in bookmark description

This plays really well now with the recently introduced hot keys to access the history and pinned bookmarks

Octocat Source code for bookmarks.dev is available on Github.

Well, let’s see how this looks like in code:

Continue Reading ...

You know how good ideas come out of the blue? Recently it hit me that I could more easily access my bookmarks history and the pinned bookmarks on www.bookmarks.dev with hot keys. So I sat down and implemented this feature. This post details how.

Hot Keys on Bookmarks.dev demo

Continue Reading ...

So, I wrote my first IntelliJ plugin to help me save code snippets, aka codelets, easier to www.bookmarks.dev. How does it work? Select text > Right mouse click > Save to Bookmarks.dev.

Save to Bookmarks.dev showcase

The plugin is available to download and install in JetBrain Plugins Repository and the source code is available on Github

In this blog post we’ll cover the steps to develop this simple IntelliJ plugin.

Continue Reading ...