Tutorial by Examples: 2

webpack 2 introduces tree shaking which can remove unused code when ES2015 modules are used to import and export code. Install npm install babel-preset-es2015-webpack --save-dev Usage in .babelrc: { "presets": [ "es2015-webpack" ] }
OpenCL is low level api so it must be implemented in "C space" first. For that, one needs to download header files from Khronos' site. My hardware is AMD and capable of version 1.2, downloading opencl.h cl_platform.h cl.h cl_ext.h cl_egl.h cl_dx9_media_sharing.h cl_d3d10.h c...
Goto - http://www.jorambarrez.be/blog/2010/08/02/tutorial-a-bpmn-2-0-hello-world-with-activiti-5-0-alpha4-in-5-steps/ A very Good and detailed tutorial by Joram Barrez (one of the core Developer of Activiti)
Go to Catalog > Categories and Edit a category. Under the Data tab add the filters you want to be able to apply to that category (e.g. Color > Blue, Color > Red).
db.collection.createIndex() method is used to create a 2dsphere index. The blueprint of a 2dsphere index : db.collection.createIndex( { <location field> : "2dsphere" } ) Here, the location field is the key and 2dsphere is the type of the index. In the following example we are goi...
Download the Stripe API Library and place it in vendor Folder source : [https://github.com/stripe/stripe-php][1] include the library in your controller use Stripe\BalanceTransaction; use Stripe\Charge; use Stripe\Stripe; require_once('../vendor/stripe/init.php'); set the strip key \Stripe...
NOTE: for best results, make sure your project was created using the Angular-CLI. npm install angular/{core,common,compiler,platform-browser,platform-browser-dynamic,http,router,forms,compiler-cli,tsc-wrapped,platform-server} You don't have to do this step if you project already has angular 2 an...
... "angularCompilerOptions": { "genDir": "./ngfactory" } ... This is the output folder of the compiler.
<div class="container" id="con"> <div class="row"> <div class="span12"> <div class="well"> <h1> Header </h1> </div> </div&gt...
Installations Download and install: Java 8 - download the relevant installation from Oracle site. Activator - download zip from www.playframework.com/download and extract files to the target Play folder, for example to: c:\Play-2.4.2\activator-dist-1.3.5 sbt - download from www.sc...
svn2git is a Ruby wrapper around git's native SVN support through git-svn, helping you with migrating projects from Subversion to Git, keeping history (incl. trunk, tags and branches history). Examples To migrate a svn repository with the standard layout (ie. branches, tags and trunk at the root l...
php bin/magento setup:upgrade => Setup Upgrade php bin/magento setup:di:compile => Setup: Compile php bin/magento indexer:reindex => Reindex php bin/magento cache:flush => Clear Cache php bin/magento deploy:mode:set...
You can easily create tables for Your database or drop them if You want. If You wish to do that, You should learn how to write Migrations for desired database. Migrations files must be located in config/Migrations folder. File names can be in next formats: YYYYMMDDHHIISS_(Create|Alter|Delete)Ad...
MATLAB R2016b featured a generalization of its scalar expansion1,2 mechanism, to also support certain element-wise operations between arrays of different sizes, as long as their dimension are compatible. The operators that support implicit expansion are1: Element-wise arithmetic operators: +, -,...
Showing Basic Example of the View Page in Yii2 For New Learners These are basic classes you must to add to create form using yii2 ActiveForm <?php Use yii\helpers\Html; Use yii\widgets\ActiveForm; The Below line will start the form tag for our form below showing example shows that how to...
Passing a 2d array to a functions seems simple and obvious and we happily write: #include <stdio.h> #include <stdlib.h> #define ROWS 3 #define COLS 2 void fun1(int **, int, int); int main() { int array_2D[ROWS][COLS] = { {1, 2}, {3, 4}, {5, 6} }; int n = ROWS; int m...
SAML specifies three key roles: The Identity Provider (IdP) The party which provides and maintains the identity of the users. This can be a directory service like ADFS or a custom database solution. The Service Provider (SP) The Service Provider is the actual service which the user tries...
image: jangrewe/gitlab-ci-android before_script: - apt-get --quiet update --yes - apt-get --quiet install --yes wget tar unzip lib32stdc++6 lib32z1 openjdk-8-jdk - echo y | ${ANDROID_HOME}/tools/android --silent update sdk --no-ui --all --filter android-24 - echo y | ${ANDROID_HOME}/too...
For live plnkr click... <!doctype html> <html> <head> <title>ng for loop in angular 2 with ES5.</title> <script type="text/javascript" src="https://code.angularjs.org/2.0.0-alpha.28/angular2.sfx.dev.js"></script> <scr...
The %>% operator can also be used to pipe the dplyr output into ggplot. This creates a unified exploratory data analysis (EDA) pipeline that is easily customizable. This method is faster than doing the aggregations internally in ggplot and has the added benefit of avoiding unnecessary intermediat...

Page 11 of 21