Tutorial by Examples: c

For the layout above your customrow.axml file is as shown below <?xml version="1.0" encoding="utf-8"?> <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="fill_parent" android:layout_heigh...
Usually to use the converter, we have to define it as resource in the following way: <converters:SomeConverter x:Key="SomeConverter"/> It is possible to skip this step by defining a converter as MarkupExtension and implementing the method ProvideValue. The following example conve...
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...
<img src="{{ asset('static/images/logo-default.png') }}" alt="Logo"/> <!--Generates path for the file "/web/static/images/logo-default.png" -->
<img src="{{ app.request.getSchemeAndHttpHost() ~ asset('static/images/logo-default.png') }}" alt="Logo"/> <!--Generates path for the file "/web/static/images/logo-default.png" -->
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1">...
Make sure to have mongodb running first! mongod --dbpath data/ package.json "dependencies": { "mongoose": "^4.5.5", } server.js (ECMA 6) import mongoose from 'mongoose'; mongoose.connect('mongodb://localhost:27017/stackoverflow-example'); const db = mon...
On error move to labelled code and see if there is a specific error that needs to be handled. Public Const cErrCodeNotNumber = 2262 ' This value must be a number. Public Const cErrCodeNumericOverflow = 2263 ' The number is too large. Private Sub MySub() Dim objConn As ADODB.Connection ...
While in the sources tab use CTRL+O (⌘+O for Mac) to search by filename.
Use CTRL+SHIFT+O (⌘+SHIFT+O for mac) to navigate to a javaScript function/CSS rule when viewing a file.
List of commands that will be introduced here: ls #view contents of a directory touch #create new file mkdir #create new directory cp #copy contents of one file to another mv #move file from one location to another rm #delete a file or directory ls examples jennifer@my_co...
michael@who-cares:~$ The symbol ~ after the who-cares: is the current directory. ~ actually means the person's home directory. In this case, that's /home/michael. michael@who-cares:~$ cd Downloads michael@who-cares:~/Downloads$ Looks for Downloads in the current directory, then makes that th...
Authentication filters Are a new kind of filter added in ASP.NET MVC 5.0 .That run prior to authorization filters in the ASP.NET MVC pipeline and allow you to specify authentication logic per-action, per-controller, or globally for all controllers. Authentication filters process credentials in th...
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...
Ionic Platform: Build, push, deploy, and scale your Ionic apps, the easy way. Title Description: The Ionic Platform is a cloud platform for managing and scaling cross-platform mobile apps. Integrated services enable you and your team to build, deploy, and grow your apps efficiently. Docume...
When a hit is sent to Google Analytics the data must be processed. Processing latency is 24-48 hours. This means that it can take time before you will see data under standard reports (Not real-time) any data that you do see may not be correct as it has probably not completed processing. Standard a...
It is possible to create more complex loops with dictionaries. From vars: packages: - present: tree - present: nmap - absent: apache2 then the loop: - name: manage packages package: name={{ item.value }} state={{ item.key }} with_items: '{{ packages }}' Or, if you don't like ...
You can use a dictionary for a slightly more complex loop. - name: manage packages package: name={{ item.name }} state={{ item.state }} with_items: - { name: tree, state: present } - { name: nmap, state: present } - { name: apache2, state: absent }
To decouple and reuse the same error logging code for all your services you need two boilerplate classes and tuck them away in a library somewhere. ErrorhandlerAttribute implementing IServiceBehavior. FaultErrorhandler implementing IErrorhandler which logs all the exceptions. [AttributeUsage(Attr...

Page 546 of 826