Java read file into string

How to read content of a file into string in java.

Find max common divisor

Find max common divisor.

IP address classes and subnetting

IP address classes (Class A, B, C) and subnetting (CIDR).

OSI model and DoD model

OSI model and DoD (TCP/IP) model in computer networking.

Setup selenium grid to use in robotframework

Setup selenium grid to use in robotframework for web browser automation testing.

Python open file with with statement

It is good practice to use the with keyword when dealing with file objects. This has the advantage that the file is properly closed after its suite finishes, even if an exception is raised on the way. It is also much shorter than writing equivalent try-finally blocks.

Python multiprocessing

Python multiprocessing.

Python multithreading

Python multithreading. NOTE that although multiple threads can run within the python interpreter, ONLY one thread is being executed by the interpreter at any given time, which is ensured by the GIL (global interpreter lock) in python virtual machine. Python multithreading is more appropriate for I/O-bound applications than for CPU-bound applications as I/O releases GIL.

Java private field access

Java private field access.

Java okhttp trustall certificate

Java okhttp client trustall certificate (for test only).