Tutorial by Examples

SharePoint 2013: Access User Profile Service Data using JSOM in SharePoint 2013 ​ In this article, we will learn to manage or access User Profile Service(UPS) Application using JSOM (Javascript Object Model) and create a basic App. Before we start, lets go through basic UPS terminology first. Us...
webpack-dev-server can be installed via npm npm --save-dev webpack-dev-server now you can start server ./node_modules/.bin/webpack-dev-server To simplify usage you can add script to package.json // package.json { ... "scripts": { "start": "webpack-dev-se...
Getting started with Ext JS 6. Prerequisite steps: Download Sencha Cmd 6 and install it with sencha command set in environment path variables. Download trail version of Sencha SDK (ext-6.2.1.zip) and unzip it.(on location D:\ext-6.2.1) System is ready to create Extjs 6 application. Create ...
It's possible to have your own custom code styles, share them with other team members and use a shortcut to auto format the code in a file. To create your own custom code style, go to: Preferences -> Editor -> Code Style There are some general code style settings here. You can also select ...
Its good practice to time out logged in session after specific time, you can achieve that with Flask-Login. from flask import Flask, session from datetime import timedelta from flask_login import LoginManager, login_require, login_user, logout_user # Create Flask application app = Flask(__n...
To use typescript with webpack you need typescript and ts-loader installed npm --save-dev install typescript ts-loader Now you can configure webpack to use typescript files // webpack.config.js module.exports = { .. resolve: { // .js is required for react imports. // .tsx is ...
Block Size and Blocks in HDFS : HDFS has the concept of storing data in blocks whenever a file is loaded. Blocks are the physical partitions of data in HDFS ( or in any other filesystem, for that matter ). Whenever a file is loaded onto the HDFS, it is splitted physically (yes, the file is divi...
Dim number As Integer = 8 Select Case number Case 1 To 5 Debug.WriteLine("Between 1 and 5, inclusive") ' The following is the only Case clause that evaluates to True. Case 6, 7, 8 Debug.WriteLine("Between 6 and 8, inclu...
Introduction So you want to start using bootstrap for your project? Great! then lets get started right now!. What is bootstrap? Bootstrap is an open source library wich you can use to make amazing responsive projects with using responsive design and simple code. Responsive Design is a design phil...
Pouriya@Jahanbakhsh ~ $ git clone https://github.com/Pouriya-Jahanbakhsh/director.git
Note that OTP>=19 required (if you want to upgrade it using release_handler). Go to director and use rebar or rebar3. Pouriya@Jahanbakhsh ~ $ cd director rebar Pouriya@Jahanbakhsh ~/director $ rebar compile ==> director_test (compile) Compiled src/director.erl Pouriya@Jahanbakhsh ~/di...
director needs a callback module (like OTP supervisor). In callback module you should export function init/1. What init/1 should return? wait, i'll explain step by step. -module(foo). -export([init/1]). init(_InitArg) -> {ok, []}. Save above code in foo.erl in director directory an...
rebar: Pouriya@Jahanbakhsh ~/director $ rebar doc rebar3: Pouriya@Jahanbakhsh ~/director $ rebar3 edoc erl Pouriya@Jahanbakhsh ~/director $ mkdir -p doc && erl -noshell\ -eval "edoc:file(\"./src/direc...
section .data msg_eq db 'Equal', 10 len_eq equ $ - msg_eq msg_le db 'Less than', 10 len_le equ $ - msg_le msg_gr db 'Greater than', 10 len_gr equ $ - msg_gr ; Length of msg_gr section .text global _main ; Make the _main label global for linker _main: cmp...
Example using JsonCoverter to deserialize the runtime property from the api response into a Timespan Object in the Movies model JSON (http://www.omdbapi.com/?i=tt1663662) { Title: "Pacific Rim", Year: "2013", Rated: "PG-13", Released: "12 Jul ...
Users may face the following issue: log4j:WARN No appenders could be found for logger (dao.hsqlmanager). log4j:WARN Please initialize the log4j system properly. log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info. One reason this can occur is if the log4j.prop...
SEO or Search Engine Optimalization is optimizing your live projects so that it can be found by search engines. SEO consists of a list of rules to live by, by following these rules you are optimizing your site to be found first by a search engine. Shortly: Follow the rules and get a higher rank in s...
After php 5.4. 5.5 and 5.6 this new mayor update came. The update comes with many new programming features, techniques and ways of writing code. Installing PHP 7 could be done in multiple ways. To install it for a localhost development like WAMP or XAMPP either check for software updates from their...
Before checking the specific syntax, let's take a look on how to setup your environment to load needed plugins. Setup To load data directly from ElasticSearch you need to download the elasticsearch-hadoop plugin. You have different ways to make it work, for a quick setup you can do the following. ...
section .data msg db 'Hello, world!', 0xA len equ $ - msg section .text global _main _main: mov rax, 0 ; This will be the current number mov rcx, 10 ; This will be the last number _loop: cmp rax, rcx jl .loopbody ; Jump to .loopbody if rax < rcx jge _e...

Page 1239 of 1336