Tutorial by Topics: pi

The pipe | character is used to apply pipes in Angular 2. Pipes are very similar to filters in AngularJS in that they both help to transform the data into a specified format. Function/ParameterExplanation@Pipe({name, pure})metadata for pipe, must immediately precede pipe classname: stringwhat y...
The C language is traditionally a compiled language (as opposed to interpreted). The C Standard defines translation phases, and the product of applying them is a program image (or compiled program). In c11, the phases are listed in §5.1.1.2. Filename extensionDescription.cSource file. Usually ...
What we do with HttpServiceLayer class is extend the Http class from angular and add our own logic to it. We then inject that class in the bootstrap class of the application and tell angular that were we import the Http class, in the back to insert the HttpServiceLayer. Anywhere in the code we ...
Android Marshmallow introduced Runtime Permission model. Permissions are categorized into two categories i.e. Normal and Dangerous Permissions. where dangerous permissions are now granted by the user at run time. From sdk 23 Android requires runtime permissions for permissions on devices runni...
pip is the most widely-used package manager for the Python Package Index, installed by default with recent versions of Python. pip <command> [options] where <command> is one of: install Install packages uninstall Uninstall packages freeze Output installed pack...
Web scraping is an automated, programmatic process through which data can be constantly 'scraped' off webpages. Also known as screen scraping or web harvesting, web scraping can provide instant data from any publicly accessible webpage. On some websites, web scraping may be illegal. Useful P...
MPI is a standard for communication among a group of distributed (or local) processes. It includes routines to send and receive data, communicate collectively, and other more complex tasks. The standard provides an API for C and Fortran, but bindings to various other languages also exist. Ver...
Be careful to be aware of the type of cv::Mat you are dealing with. For example, if you have a cv::Mat of type CV_8UC3, but access it with image.at<uchar>(r,c) no error will occur, but your program will have some unexpected behavior.
A spy is defined as a test specific function which intercepts calls to an underlying function in the application code and dispatches its own implementation when the underlying function is called to test the interface rather than the implementation.
This section discusses some of the common mistakes that a C programmer should be aware of and should avoid making. For more on some unexpected problems and their causes, please see Undefined behavior
The pimpl idiom (pointer to implementation, sometimes referred to as opaque pointer or cheshire cat technique), reduces the compilation times of a class by moving all its private data members into a struct defined in the .cpp file. The class owns a pointer to the implementation. This way, it can...
reader = new FileReader(); Property/MethodDescriptionerrorA error that occurred while reading the file.readyStateContains the current state of the FileReader.resultContains the file contents.onabortTriggered when the operation is aborted.onerrorTriggered when an error is encountered.onloadT...
Picasso is an image library for Android. It's created and maintained by Square. It simplifies the process of displaying images from external locations. The library handles every stage of the process, from the initial HTTP request to the caching of the image. In many cases, only a few lines of code a...
javap [options] <classes> NameDescription<classes>List of classes to disassemble. Can be in either package1.package2.Classname format, or package1/package2/Classname format. Do not include the .class extension.-help, --help, -?Print this usage message-versionVersion information-v...

Page 2 of 16