Dev

StackOverflow - 2020 Developer Survey

StackOverflow published its Developer Survey 2020. Click here for details. In 2020, Python, Go, TypeScript, Rust are the programming language most loved by developers in the world. It means that these languages are in vogue and new learners are on the rise.

Maximize the cell size of Jupyter notebook

TL;DR Put the following magic command (cell magic) in a cell and execute it. %%javascript IPython.OutputArea.auto_scroll_threshold = 9999; Note: This is not line magic like % matplotlib inline and some

Display All Physical Fonts That Can Be Used As Strings in Java

TL;DR Use getLocalGraphicsEnvironment().getAllFonts(); method defined in java.awt.GraphicsEnvironment class. Cf. https://docs.oracle.com/javase/jp/8/docs/api/java/awt/GraphicsEnvironment.html Code Sample (Java): import java.awt.Font; import java.awt.GraphicsEnvironment; public class Main { public static void main(String[] args) throws Exception { Font[] fonts = GraphicsEnvironment.