Tutorial by Examples: at

Two loops are concatenated if it’s possible to reach one after exiting the other on same path from entrance to exit. Sometimes these two loops are independent to each other. In those cases we can apply the design techniques specified as part of single loop testing. But if the iteration values in on...
Ubuntu # sudo apt-get update # sudo apt-get install vlc vlc-plugin-pulse mozilla-plugin-vlc Windows Recommended The normal and recommended way to install VLC on a Windows operating system is via the installer package.(Download Link)
The simplest approach to the problem (and the most commonly used so far) is to split sentences into tokens. Simplifying, words have abstract and subjective meanings to the people using and receiving them, tokens have an objective interpretation: an ordered sequence of characters (or bytes). Once sen...
Open Visual Studio Select File --> New --> Project menu or push Ctrl + Shift + N buttons Select Outlook VSTO Add-in template Add the following code to the project: private void ThisAddIn_Startup(object sender, System.EventArgs e) { MessageBox.Show("Hel...
Associated objects are useful when you want to add functionality to existing classes which requires holding state. For example, adding a activity indicator to every UIView: Objective-C Implementation #import <objc/runtime.h> static char ActivityIndicatorKey; @implementation UIView (Ac...
This will be a very basic app which will illustrate different ModalpresentationStyle in iOS. According to documentation found here, There are 9 different values for UIModalPresentationStyle which are as follows, fullScreen pageSheet formSheet currentContext custom overFullScreen overCurrent...
When generating new Angular 2 components in a .NET Core project, you may run into the following errors (as of version 0.8.3): Error locating module for declaration SilentError: No module files found OR No app module found. Please add your new Class to your component. Identica...
import java.sql.*; class Rsmd { public static void main(String args[]) { try { Class.forName("oracle.jdbc.driver.OracleDriver"); Connection con = DriverManager.getConnection( "jdbc:oracle:thin:@localhost:1521:xe", ...
The following example declares a new instance of the Random class and then uses the method .Next to generate the next number in the sequence of pseudo-random numbers. Dim rnd As New Random Dim x As Integer x = rnd.Next The last line above will generate the next pseudo-random number and assign ...
MySQL Workbench is available for all major operating systems -Windows, Linux, Mac- You can find the version for you operating system from here. For windows: It uses the msi (Windows installer) to install packages. You only need to right click install and it starts. For Linux: There are multiple ....
#include <windows.h> static Windows::Foundation::DateTime GetCurrentDateTime() { // Get the current system time SYSTEMTIME st; GetSystemTime(&st); // Convert it to something DateTime will understand FILETIME ft; SystemTimeToFileTime(&st, &ft); ...
Detailed instructions on getting oracle12c set up or installed.
Jenkins: The leading open source automation server, Jenkins provides hundreds of plugins to support building, deploying and automating any project. Sonar Qube: SonarQube provides the capability to not only show health of an application but also to highlight issues newly introduced. Apache Ant: A...
Suppose there is a peak of normally (gaussian) distributed data (mean: 3.0, standard deviation: 0.3) in an exponentially decaying background. This distribution can be fitted with curve_fit within a few steps: 1.) Import the required libraries. 2.) Define the fit function that is to be fitted to th...
The volatile keyword tells the compiler that the value of the variable may change at any time as a result of external conditions, not only as a result of program control flow. The compiler will not optimize anything that has to do with the volatile variable. volatile int foo; /* Different ways to ...
The function EventEmitter.eventNames() will return an array containing the names of the events currently subscribed to. const EventEmitter = require("events"); class MyEmitter extends EventEmitter{} var emitter = new MyEmitter(); emitter .on("message", function(){ //list...
To successfully create a sparkpost email api setup, add the below details to env file and your application will be good to start sending emails. MAIL_DRIVER=sparkpost SPARKPOST_SECRET= NOTE: The above details does not give you the code written in controller which has the business logic to send em...
Detailed instructions on getting shapeless set up or installed.
If You have Role: +-----------------------------+ | roleId | name | discription | +-----------------------------+ Rights: +-----------------------------+ | rightId | name | discription| +-----------------------------+ rightrole +------------------+ | roleId | rightId | +----------...
By creating multiple properties files for the different environments or use cases, its sometimes hard to manually change the active.profile value to the right one. But there is a way to set the active.profile in the application.properties file while building the application by using maven-profiles. ...

Page 420 of 442