1. How to improve web pages download in Firefox

    If you're a Firefox user, then there's a easy way for you to speed up web pages loading up to 42% ! Just open your browser settings, go to Privacy and enable Tell sites that i do not want to be tracker. Former Mozilla software engineer Monica Chew and Computer Science…


  2. Docker selenium grid optimal configuration

    Not so long time ago i was doing some research on how to make our Selenium tests to run in Grid. After some googling, i decided to try to run Selenium grid in Docker. All images can be found on Official Github page. But how to decide which configuration will…


  3. Thread safe singleton in Java

    When we think about signleton, we think about something similar to this : public class OurClass { private static OurClass _instance; public static synchronized OurClass getInstance() { if (_instance == null) { _instance = new OurClass(); } return _instance; } But there's this synchronized word that makes code a bit slower. Before i thought that this is the…


  4. Magical fix for vagrant "Net::HTTPNotFound: No gems found matching" error

    I was trying to make work one vagrant + selenium grid setup and faced with next problem : Net::HTTPNotFound: No gems found matching "vagrant-vmware-fusion" "2.4.1" nil After some googling i found a magical fix for it. Are you ready? Just try to install plugin one…


  5. Better option for common Java Thread.sleep()

    Usually when i need to put some defined waits in Java( i know that it's not good practice, but sometimes it's actually what is needed) i use all well known Thread.sleep(), but what i don't like in this method is that you have to specify time duration in milliseconds.…


  6. Increasing IDE memory limit in IntelliJ IDEA on Mac

    The time has come - at some point 700 Mb of RAM was not enough for one of Java projects i was working on and i decided to increase Java heap size memory to fix that. In older version of IDEA you would probably modify Info.plist file and put…