Tutorial by Topics: a

In my path to studying programming there have been simple, but interesting problems to solve as exercises. One of those problems was to rotate an array(or another collection) by a certain value. Here I will share with you a simple formula to do it.
In contrast to the Syntax API the exposes all kinds of syntax level information, the semantic model gives our code more "meaning" and allows us to answer questions like "What names are in scope at this location?", "What members are accessible from this method?", "W...
It is sometimes useful to get the maven properties, such as the current version, in code. Here are some ways to to it.
I'd like to describe the prerequisites and the steps how to build the Perl CPAN module sapnwrfc with the Strawberry Perl environment under Windows 7 x64. It should work also for all later Windows versions like 8, 8.1 and 10. I use Strawberry Perl 5.24.1.1 64 bit but it should also work with older v...
This topic would cover how angular-cli project is ready for production build, what all necessary steps taken before deploying, how to create war file for project deployment and finally how to configure the apache tomcat for angular-cli project deployment.
Anonymous classes are useful when simple, one-off objects need to be created. They can be used in place of a full class definition. They can everything a normal class can: pass arguments through to their constructors, extend other classes, implement interfaces, use traits. Anonymous classes are as...
A Virtual Environment ("virtualenv") is a tool to create isolated Python environments. It keeps the dependencies required by different projects in separate places, by creating virtual Python env for them. It solves the “project A depends on version 2.xxx but, project B needs 2.xxx” dilemma...
The arrival of Java 9 brings many new features to Java's Collections API, one of which being collection factory methods. These methods allow for easy initialization of immutable collections, whether they be empty or nonempty. Note that these factory methods are only available for the following int...
When dealing with objects in an MVC app, if any object should be shown in multiple places with the same format, we'd need some kind of standardized layout. ASP.NET MVC has made this kind of standardization easy to do with the inclusion of display and editor templates. In short, display and editor te...
Semaphores are not available in C++ as of now, but can easily be implemented with a mutex and a condition variable. This example was taken from: C++0x has no semaphores? How to synchronize threads?
How to remove public from URL in Laravel, there are many answers on internet but the easiest way is described below
Devise is authentication solution for Rails. Before going any further i would like to add quick note on API. So API does not handle sessions (is stateless) which means one that provide response after you request, and then requires no further attention, which means no previous or future state is requ...
First we need to know what a MessageBox is... The MessageBox control displays a message with specified text, and can be customised by specifying a custom image, title and button sets (These button sets allow the user to choose more than a basic yes/no answer). By creating our own MessageBox we can...
Working with threads might need some synchronization techniques if the threads interact. In this topic, you can find the different structures which are provided by the standard library to solve these issues.
The RAM can be divided into two parts. The kernel space and user space. The kernel runs in the kernel space, which no other programs can access. User programs have to run in user space. User space is a form of sand-boxing, where user programs can only access to memory that allocated to them so that ...
This topic is about the integration of third-party advertisement services, such as Unity Ads or Google AdMob, into a Unity project. This applies to Unity Ads. Make sure that Test Mode for Unity Ads is enabled during development You, as the developer, are not allowed to generate impressio...
Laravel requires some folders to be writable for the web server user.

Page 286 of 320