Useful tips for everyday
How to create a category in craft CMS? By default, every category will have a Title field (the category name). You can also add additional…
Can histograms be drawn horizontally and vertically? TorF: Histograms can be drawn by using vertical or horizontal bars. How do you make a vertical histogram…
Is caching thread-safe? When you perform structural changes on your cache, such as creating or closing a Cache , Pool , or Region , synchronize…
What is Single Responsibility Principle? As the name suggests, this principle states that each class should have one responsibility, one single purpose. This means that…
How do you convert decimal numbers to binary and hexadecimal? Steps to Convert Binary to Hex Start from the least significant bit (LSB) at the…
How to count number of Records returned by group by? Select , ( Select Count ( Distinct column_1, column_2, column_3, column_4 ) From TempTable )…
How do you refactor a switch statement in Java? Seven Ways to Refactor Java switch Statements Implementing the Strategy Pattern via Java Enum. Application Name:…
How do you find velocity with height? Height and Velocity Functions Ascertain the height from which the object fell. Multiply the height by 2, and…
How do you sort large arrays? How to sort a big array with many repetitions? Create an empty AVL Tree with count as an additional…
How do you capture a function in lambda C++? Capture-by-value lambdas work almost identically to a standard functor: they both allocate an object where the…