Code Snippets

I have never found any good way to save snippets. I tried a lot of different tools. None of them really worked for me. So this place reflects my different approach. My snippets and solution to problems I came across will live here from now on. To make it useful I will be adding short descriptions for most of them.

USED STACK AND INTERESTS

**JavaScript**: Node JS, frontend, Electron

Chromium: Web Extensions, Automation, Devtools protocol, Chromedriver / Webdriver / Selenium.

**Cloud development**: Azure, Google Cloud, Docker

I work with RPA quite a lot - BluePrism mostly. Because of that I have to use .NET and C# sometimes.

Never pass a chance to automate stuff with AutoHotkey :)

Recent Posts

Git repository as dependency in package.json.

Iterating through nested JavaScript object and extracting data.

Modules Cheatsheet

Ultimate slugify function

XPath cheatsheet

Vanilla JS XPath query function

Online code utilities

Toggle window snippet (show / hide / bring to front) with Autohotkey

Remove new lines in quotations from csv with Regex

See all posts →