Tutorial by Examples: am

<div class="dropdown"> <button class="btn btn-primary dropdown-toggle" type="button" data-toggle="dropdown">Dropdown Example <span class="caret"></span></button> <ul class="dropdown-menu"> &...
In the following example consider you have a solution hosting two projects: ConsoleApplication1 and SampleClassLibrary. The first project will have the classes SampleClass1 and SampleClass2. The second one will have SampleClass3 and SampleClass4. In other words we have two assemblies with two classe...
//Create a layout var tableLayout = new sap.ui.commons.layout.MatrixLayout({ layoutFixed : false, columns : 2, width : "100%", height : "100%", widths : [ "20%","80%"] }).addStyleClass('dsAvailLayout'); sap.ui.table.Table.extend(...
Start from a Cython program with a entrypoint: def do_stuff(): cdef int a,b,c a = 1 b = 2 c = 3 print("Hello World!") print([a,b,c]) input("Press Enter to continue.") Create a setup.py file in the same folder: from distutils.core import set...
public DateTime SomeCalculation() { return DateTime.Now.AddDays(3); } vs public DateTime SomeCalculation(DateTime inputDate) { return inputDate.AddDays(3); }
It is possible to pass multiple bound values as a CommandParameter using MultiBinding with a very simple IMultiValueConverter: namespace MyProject.Converters { public class Converter_MultipleCommandParameters : MarkupExtension, IMultiValueConverter { public object Convert(object...
After All the setup, To make Hello World App To create Simple Blank App, run below command on terminal : ionic start HelloWorld blank // create new project cd HelloWorld // get into HelloWorld directory open the HelloWorld Project in subline/webstrome IDE : Edit ind...
While in the sources tab use CTRL+O (⌘+O for Mac) to search by filename.
Encryption is used to transform data in its orignal format (Eg: The contents of a letter, Credentials part of authorizing a financial transaction) to something that cannot be easily reconstructed by anyone who is not intended to be part of the conversation. Basically encryption is used to preve...
'use strict'; import React, {Component} from 'react'; import ReactNative from 'react-native'; const { AppRegistry, StyleSheet, Text, View, Navigator, Alert, TouchableHighlight } = ReactNative; //This is the app container that contains the navigator stuff class AppC...
A minimal Flask application looks something like this: from flask import Flask app = Flask(__name__) @app.route("/") def index(): return "Hello World!" A large Flask application can separate one file into multiple files by blueprints. Purpose Make it easier for ...
let doc = require('dynamodb-doc'); let dynamo = new doc.DynamoDB(); var tblName = "MyTable"; exports.handler = (event, context, callback) => { readOperation(context); } function readOperation(cnxt) { var params = { TableName: tblName, Key: { "id": ...
Things are easy when you have to use a C++ library in a Python project. Just you can use Boost. First of all here is a list of components you need: A CMakeList.txt file, because you're going to use CMake. The C++ files of the C++ project. The python file - this is your python project. Let's...
<div class="container"> <h2>Alerts</h2> <div class="alert alert-success"> <strong>Success!</strong> </div> <div class="alert alert-info"> <strong>Info!</strong> </div> <div ...
<UserControl x:Class="Example.View" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"...
Before understand require to follow some setup for project integrate with firebase. Create your project in Firebase Console and download google-service.json file from console and put it in app level module of your project, Follow link for Create Project in console After this we require to...
This creates a window in fullscreen with size 500x500 pixels: pygame.init() screen = pygame.display.set_mode((500, 500), pygame.FULLSCREEN) screen represents from now on the window on screen; it is a pygame.Surface object. Anything that should be come visible to the user has to be drawn onto it...
DECLARE -- declare a variable message varchar2(20); BEGIN -- assign value to variable message := 'HELLO WORLD'; -- print message to screen DBMS_OUTPUT.PUT_LINE(message); END; /
apply plugin: 'com.android.library' apply plugin: 'maven' apply plugin: 'maven-publish' android { compileSdkVersion 21 buildToolsVersion "21.1.2" repositories { mavenCentral() } defaultConfig { minSdkVersion 9 targetSdkVersion 21 versionCode 1 version...
Suppose we have container "CustomersContainer" which connects a "Customers" dumb component to the Redux store. In index.js: import { Component }, React from 'react'; import { render } from 'react-dom'; import { Provider } from 'react-redux'; import { createStore } from 'redu...

Page 76 of 129