Friday, August 7, 2020

Console log freezes / hangs in Eclipse

Sometimes your Eclipse console log becomes very jerky, freezes or even hang up.

It's very likely that your console log got something which is very long without word warp. It can even causes Windows itself becomes freezing too!

So make your console "Word wrap". Or set a width limit on the console in Eclipse preference. The problem will be solved.

SQL Developer installation in Windows 10

 Quick suggestion for getting the SQL Developer to work in Windows 10:

  1. Get the SQL Developer (with JRE) edition. I got bad experience when getting SQL Developer to work with my own JDK 1.8 installation in Windows 10. No matter where I copy the MSVCR100.DLL (It always said JAVA_HOME\jre\bin\msvcr100.dll cannot be launched, crazy). So, just get the "with JRE" version.

  2. The font size are crazily small on a high DPI screen. So get a larger font, right-click on the "sqldeveloper.exe", choose "Compatibility > Change high DPI settings > High DPI scaling override > System (Enhanced)"
    (Reference: https://christian-gohmann.de/2018/10/25/running-sql-developer-on-high-dpi-screens/)

Sync multiple git repo at once

Use the following command in Linux will do the job:  ls -d RepoNames* | xargs -I{} git -C {} pull