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

Blog

buildx tutorial
DevOps

Build multi arch docker images with Buildx and ECR

Internally my nextjs app uses a native node module built in Rust, and the awkward part is that my production uses a different processor architecture. I opted for the arm64 architecture. I can’t say much about it except it was Read more…

By Ana Bujan, 3 weeks ago
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, 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 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 Read more…

By Ana Bujan, 2 monthsFebruary 2, 2023 ago
Uncategorized

How to implement Adsense in a React NextJs App?

I’m running Adsense on a few of my React websites, and they’re server side rendered with Next.js. Getting approved 1. SSR your app You’ll have issues with getting approved by Adsense team if you’re not server side rendering the app. Read more…

By Ana Bujan, 2 monthsJanuary 30, 2023 ago
System

Don’t reduce swap space, you need it!

That’s right. I did this and forgot about it, and was wondering why my laptop freezes after running a single IntelliJ, Chrome with 20 open tabs, docker desktop with 4 running containers and maybe a single nodejs process. I thought Read more…

By Ana Bujan, 2 monthsJanuary 23, 2023 ago
Uncategorized

Serve Nextjs behind Nginx or how to setup Nextjs on Elastic Beanstalk

In this post I’ll explain a setup for one of my NextJS websites on elasticbeanstalk. You probably already know about what are NextJS, Nginx and elasticbeanstalk, so I’ll skip the introductory definitions. I have a hybrid NextJS website. Some content Read more…

By Ana Bujan, 3 monthsJanuary 5, 2023 ago
DevOps

Use Cloudfront as Cdn for NextJS static data

You do not need to enable static website hosting and unblock public access. Following this instruction, your S3 bucket is secure behind a Cloudfront distro. It’s not only for Next.js app, but I did document this following my own Next.js Read more…

By Ana Bujan, 3 monthsJanuary 2, 2023 ago
s3 sync with elastic beanstalk
DevOps

Use S3 bucket as persistent storage for Elastic Beanstalk

By default every elastic beanstalk application has an associated S3 bucket for storing application versions, rotated logs (enable it) and temporary configuration. Multiple elastic beanstalks in a same region share the same S3 bucket. More on it in https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/AWSHowTo.S3.html Push Read more…

By Ana Bujan, 3 monthsJanuary 2, 2023 ago
Cloudflare and Cloudfront compared
Uncategorized

Content Delivery with Cloudflare and Cloudfront combined

Content delivery network (CDN) is my recommended way of serving statics because of : 1. Separation of concerns Meat of the app is on the main example.com, assets are on a subdomain like cdn.example.com. 2. Cookie-less domain Asset domain remains Read more…

By Ana Bujan, 3 monthsDecember 29, 2022 ago

Posts navigation

1 2 … 5 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