// blog

Notes and write-ups

35 notes and counting. Filter by tag, or scroll — it's not that long.

tag map
3 min

Showing the active Firebase project in the command line

If you are working on a project where Firebase is used, most likely you have a separate project created for each environment (dev, staging, prod, sometimes maybe even more). During the development, it often happens that you need to configure something using Firebase CLI. Whenever you intend to make a change you want to make sure the right project is set as active. This can be verified easily by running

firebase scripting utilities
12 min

How We Migrated All User Files to AWS S3

Migrating data is often a challenging job, especially when every little mistake can instantly impact a user’s experience. Thus, it is necessary to research the task properly, pinpoint possible issues, and make sure the description is totally clear and everyone knows what is the expected result. Nevertheless, errors may (and most probably will) occur during the process so it is also important to keep that in mind and design the solution in a way that anticipates that and handles it accordingly. In the ideal situation, we want to complete the migration process without anyone even noticing that something has changed.

aws nodejs scripting
3 min

Sharing gRPC protobufs between microservices

If you work with gRPC you need to find a way of sharing proto files across individual microservices. I just got into this “gRPC-and-microservices” thing recently and had to research and learn everything so now I want to share how I tackled it.

grpc automation
1 min

Automatically pausing Spotify on macOS

I really enjoy listening to some good music before sleeping. But the question is who will stop the music once you fall asleep, right? If you’re using iPhone you can schedule a timer which will stop playing after time elapses.

scripting utilities
3 min

When dream comes true (USA trip)

Yes I did it, I can’t believe I’m really here! 😍 (After taking part-time job for last two years in addition to high school I finally earned enough money to begin my two weeks United States trip).

travelling
1 min

Watching your UNIX scripts

In one project I needed to run the Laravel’s queue:work command for sending emails on production. The problem was that sometimes it quit silently and emails were accumulating in database. To solve it you would probably install program like supervisord or similar.

scripting
4 min

How I bypassed our school internet system. Twice.

I live at student’s dormitory and we have got one rule here. Internet here turns off every day after 11pm. And it sucks 😏. So my roommate and I wanted to do something with that. We knew that internet is controlled via program which is located in computer in office downstairs. The goal was simple – edit configuration file of program. We had some information about how it works in advance.

scripting
2 min

Sending exceptions to mail in Laravel

Update 2019: This article was written at the time when I didn’t have a lot of knowledge about error handling, system architecture and common practices in general. It is definitely not a recommended solution for tracking application errors. There are many better ways for handling these situations (e.g. Sentry).

laravel