Tag: devops

How to migrate Next.JS from Vercel to your own VPS on Digital Ocean

crysfel Programming

I’ve seen many people complaining in twitter about Vercel pricing and how cheap it is to run your own VPS instead of using Vercel. Migrating is quite easy, I’m not a devops engineer and it took me just a few hours to figure it out and automate my whole deployment process, I believe it’s worth investing the time as you will save thousands of dollars potentially. In this tutorial I’ll show you how to setup Github Actions to automatically deploy to your VPS on every new push to main. The Continue reading

Installing ComfyUI in AWS to generate images using Flux

crysfel Programming

Generative AI requires a lot of resources and powerful equipment, you need to buy Nvidia cards to being able to successfully run stable diffusion or any other model. If you are like me you might look for affordable solutions such as AWS. In this tutorial I’m going to show you how to install Flux to generate awesome images in Ubuntu. Setting up the instance First thing you need to do is to login into Amazon AWS console, in the top search input, type EC2 and select the first option in the Continue reading

The number of method references in a .dex file cannot exceed 64K

crysfel Programming

I've been maintaining a React Native app for several years now, I'm really happy with my stack as I can quickly add new features and iterate for Android an iOS. However, a few days ago I migrated to Sentry as my third-party service to keep track of crashes and errors in the app. Everything went well on iOS after installation, however, on Android, I started getting errors when trying to build the app. D8: Cannot fit requested classes in a single dex file (# fields: 67142 > Continue reading