September 2020 - Page 15 of 59

State Design Pattern in Java — step-by-step Programming tutorial on Progressive Robot

State Design Pattern in Java

URL: https://www.progressiverobot.com/state-design-pattern-java/ State design pattern is one of the behavioral design pattern. State design pattern is used when an Object change its behavior based on its internal state. State Design Pattern ![state design pattern, state design pattern in java, state pattern](images/state-design-pattern-java-section-1.png) If we have to change the behavior of an object based on its state, […]

Read more
Ubuntu 20.04 — speex — vulnerability — patch and remediation guide — diagnosis and fix on Ubuntu 20.04

Ubuntu 20.04 — speex — vulnerability — patch and remediation guide

🟢 Low   ⏱ 5–15 min  Last verified: 23 September 2020 Affected versions: Ubuntu 20.04 (focal) 📖 ~4 min read  •  Source: Ubuntu Security Notice USN-5280-1 Related CVEs: CVE-2020-23903 Upstream summary: It was discovered that Speex incorrectly handled certain WAV files. An attacker could possibly use this issue to cause a denial of service. Table […]

Read more
Mockito @InjectMocks - Mocks Dependency Injection — step-by-step Programming tutorial on Progressive Robot

Mockito @InjectMocks – Mocks Dependency Injection

URL: https://www.progressiverobot.com/mockito-injectmocks-mocks-dependency-injection/ Mockito @InjectMocks annotations allow us to inject mocked dependencies in the annotated class mocked object. This is useful when we have external dependencies in the class we want to mock. We can specify the mock objects to be injected using [@Mock](/community/tutorials/mockito-mock-examples) or [@Spy](/community/tutorials/mockito-spy-partial-mock) annotations. Mockito @InjectMocks Mockito tries to inject mocked dependencies using […]

Read more
How to Install Drupal on Oracle Linux 8 — step-by-step Oracle Linux 8 tutorial on Progressive Robot

How to Install Drupal on Oracle Linux 8

Introduction This tutorial demonstrates how to Install Drupal on Oracle Linux 8 on Oracle Linux 8. It is written for administrators who want a repeatable, well-explained walkthrough that goes beyond a bare command list and explains each configuration choice. Every command is tested against a freshly registered Oracle Linux 8 system with the default AppStream […]

Read more
How To Install and Use PostgreSQL 9.4 on Debian 8 — step-by-step Linux tutorial on Progressive Robot

How To Install and Use PostgreSQL 9.4 on Debian 8

Relational databases are the cornerstone of data organization for a multitude of needs. They power everything from online shopping to rocket launches. A database that is both venerable but very much still in the game is PostgreSQL. PostgreSQL follows most of the SQL standard, has ACID transactions, has support for foreign keys and views, and is still in active development.

Read more
CHAT