logo
  • Home
  • Blog
    • All articles
    • ProgrammingCategory covering programming languages and practices, sometimes I’ll cover more backend, sometimes frontend…
    • SystemI’ve worked years on Ubuntu, and since then managed to develop a “love/hate” relationship with Ubuntu. Every system update is exciting, what can possibly go wrong?
    • DevOpsEverything related to devops practices, continuous integration and delivery, configuring aws services…
    • UncategorizedThis category is like a junk drawer. Everything that I haven’t put into any category goes in here. How often/ do you organize your junk drawers?
  • Portfolio
  • Contact Me

Programming

Category covering programming languages and practices, sometimes I’ll cover more backend, sometimes frontend…

NextJS and Rust Creating a Custom Webpack Loader for Native Node Modules
Programming

NextJS and Rust: Creating a Custom Webpack Loader for Native Node Modules

Introduction I needed a custom solution for loading a native node module in my nextjs project. The module was published with neon-bindings, and none of the below solutions worked for me: It’s not an issue in any of the loaders, or nextjs framework, I just needed to create a custom Read more…

By Ana Bujan, 4 weeksMarch 1, 2023 ago
page digest chrome extension
Programming

First attempt at building a simple Chrome extension

I want to share my thoughts on how difficult it was to build a simple Chrome extension without any prior knowledge of the Chrome extension ecosystem. I built a simple extension on top of React and Material UI that generates a web page summary. The summary contains the total number Read more…

By Ana Bujan, 1 monthFebruary 17, 2023 ago
Programming

Fast and efficient slugify, written for Rust and Node

Slugify is an url slug generator, and slug is a part of the URI between 2 slashes: Usually, slugs are made from alphanumeric characters and dash. I rarely see an underscore in URL, but not because it’s forbidden, just that most of us somehow agreed that [a-z0-9\-]+ is best to Read more…

By Ana Bujan, 2 monthsFebruary 2, 2023 ago
refactor rust macro
Programming

Lets refactor a simple procedural macro in Rust

I know how to write macro, what it’s useful for, but can’t seem to define it well when people ask me. Rust book defines it as a way of writing code that writes other code, known as metaprogramming. In Java you would write an annotation and annotation processor, in Scala Read more…

By Ana Bujan, 3 monthsDecember 28, 2022 ago
draft custom github action release
DevOps

Make & publish a custom action 2 Github marketplace

I created a custom Github action that deploys a static website to s3, and I want to point out a few details of my process of building a reusable action. For detailed reference refer to https://docs.github.com/en/actions/creating-actions/about-custom-actions. There are 3 types of custom actions – docker, javascript and composite. For deploying Read more…

By Ana Bujan, 3 monthsDecember 23, 2022 ago
S3 public access
DevOps

Host a NextJS static website on S3

Unfortunately S3 static doesn’t offer rewrite of urls, and doesn’t know that /page.html should resolve to /page and vice versa. This solution shows how to host a Nextjs static website on S3 without the html extension. Configure S3 Bucket for static website hosting Programmatic access to S3 bucket Your S3 Read more…

By Ana Bujan, 3 monthsDecember 21, 2022 ago
Switch to monorepo with Lerna and Rollup
Programming

Switch to monorepo with Lerna and Rollup

I recently did a switch to monorepo for my React components with Lerna. I was usually against having a monorepo because For example, does your frontend colleague need to know about your backend? Now, that being said, monorepo is convenient because everything is in one place, and other repos can Read more…

By Ana Bujan, 4 monthsDecember 12, 2022 ago
create-tauri-app
Programming

Configure Tauri + Yew getting started project to work!

I wanted to try creating a desktop app with Rust, and found out there’s Tauri and Yew. Both look cool! Since there was no official documentation on how to configure a Tauri/Yew project, I wanted to post instructions for Linux users. I did run into some specific problems like: My Read more…

By Ana Bujan, 4 monthsDecember 7, 2022 ago
nextjs middleware
Programming

Create a NextJS Mongoose decorator

Decorator is a neat design pattern which lets you extend the functionality without modifying it. It’s usually also a higher order function = function that takes another function as an argument. I need a way connect to Mongodb In my NextJS project I use mongodb as a persistence layer, and Read more…

By Ana Bujan, 4 monthsDecember 1, 2022 ago
DevOps

Npm same scope from multiple registries

I recently found out that npm doesn’t support downloading same scope dependencies from multiple registries. Ideally, I’d like to define multiple registries for a scope. If npm fails to find the package from registry1, then it should try registry2 and so on. I use an @eisberg-labs scope for some private Read more…

By Ana Bujan, 4 monthsNovember 30, 2022 ago

Posts navigation

1 2 Next
Subscribe to my channel

actix Angular aws balsamiq buildx cdn cloudflare cloudfront commitizen continuous deployment continuous integration Django docker docker-compose ec2 elasticbeanstalk email git github gmail iam intellij jekyll launcher lightsail macro mailgun markdown mongoose nextjs nginx npm publish Python3.6 react rollup rust s3 ssh static website trello typescript ubuntu ubuntu 16.04 vpn

Recent Posts

  • Build multi arch docker images with Buildx and ECR
  • NextJS and Rust: Creating a Custom Webpack Loader for Native Node Modules
  • First attempt at building a simple Chrome extension
  • Fast and efficient slugify, written for Rust and Node
  • How to implement Adsense in a React NextJs App?

Archives

  • March 2023
  • February 2023
  • January 2023
  • December 2022
  • November 2022
  • October 2022
  • June 2022
  • March 2022
  • February 2022
  • November 2021
  • October 2021
  • October 2020
  • August 2020
  • December 2019
  • November 2018
  • September 2018
  • August 2018
  • October 2017
  • April 2017
  • January 2017
  • June 2016

About my blog


This blog is intended to be a self reference manual,
where I put cheatsheets, cookbooks and stories on how I approached some problems in programming.

A little bit about me

I’m a full-stack software developer and business owner of Eisberg Labs.
You can see some of my work experience at https://www.linkedin.com/in/anamarjanica/, or check out my superpowers at https://profile.codersrank.io/user/amarjanica.

I like learning and improving my skills, wrote a blog post about my path as a programmer.

Contact Me

If you want to get in touch with me. Don't hesitate to drop me a line via email. You can also send me an invitation on linkedin.

You agree to receive email communication from us by submitting this form and understand that your contact information will be stored with us.


  • Linkedin
  • Codersrank
  • Github
  • Eisberg Labs
  • And organization repo
  • Youtube
Hestia | Developed by ThemeIsle