Before using AWS create a monthly budget
If you are new to AWS, you should know one thing - every service is paid in AWS. It sounds naive, but many people don't realize how expensive it could be in reality, and by default AWS will not notify you if your account generate too much costs (regardless if…
Search in all Git branches for specific code
Recently I had to confirm that some particular code went to a release branch. Since we have multiple release branches (up to dozens) I though that doing it by hands it's too complicated. Thankfully there is a git command available which can grep for a specific code in a branch…
Ode to my headphones
In search of the best in-ear headphones I've tried 3 pairs from different price tiers: AirPods Pro, Jabra Elite 7 Active, and Edifier X3. My personal choice is Jabra, and this is why. In ear position The majority of people have a narrow gap between antitragus and tragus. But in…
Making RSpec CI build green for TruffleRuby
In this blog post I will share some problems I found during the work on adding TruffleRuby support for the RSpec project.…
Advanced search/replace technique using regex and capture groups
Let's imaging you are working on some legacy Java project and stumbled upon this test class: public void test_Sum_Operator() { ... } public void test_Div_Operator() { ... } public void test_Mod_Operator() { ... } Tests are correct, but the naming convention is off here so you decided to change the method using camel…
Ruby one-liner for skipping CSV header
Ruby one-liner for skipping CSV header…
Using Vim for YAML editing
How to make Vim more friendly for yml editing…
Before you left for vacation
Write down all passwords If you are going to have a long vacation (2+ weeks), most probably you will forget all of the passwords. Don't count on your memorizing abilities and write them down Push unfinished code Otherwise, the feature you haven't finish by the vocation will be blocked by…
Catalogue your test/resources folder
Have you ever seen something similar in your current project when every resource which was used for testing was dump into the same folder called resources. The main problem with this approach is that is simply impossible to reuse those files if you are not an author of the tests…
App: Just shrink it! 2.0
Today I am launching the second version of the mobile application for image resizing “Just shrink it! [market://details?id=net.amortizedcost.batchimageshrinker]”. Google Play listing [https://play.google.com/store/apps/details?id=net.amortizedcost.batchimageshrinker] The “problem” of modern smartphones is that by default they take a photo…