Tutorial by Examples: a

This approach will prevent a user from embedding a second SQL statement in their input for execution. Dim strSQL As String Dim db As DAO.Database Dim qdf As DAO.QueryDef strSQL = "PARAMETERS [FirstName] Text(255), [LastName] Text(255), [Phone] Text(255); " _ & "INS...
// create the dictionary that will be sent to the blocks var myDictionary:Dictionary<String, Any> = Dictionary<String, Any>() myDictionary["InitialKey"] = "InitialValue" // create block queue let myBlockQueue:MKBlockQueue = MKBlockQueue() // block 1 let b1...
Detailed instructions on getting opengl-es-2.0 set up or installed.
First we need a table to hold our data class CreateUsers < ActiveRecord::Migration def change create_table :users do |t| t.string :name t.string :password t.string :type # <- This makes it an STI t.timestamps end end end Then lets create some ...
Let's apply the State Machine pattern for parsing lines with the specific pattern using S4 Class feature from R. PROBLEM ENUNCIATION We need to parse a file where each line provides information about a person, using a delimiter (";"), but some information provided is optional, and instea...
UILabel, UITextField, & UITextView classes have a new property starting from iOS 10 for automatically resizing their font when a user changes their preferred reading size named adjustsFontForContentSizeCategory. Swift @IBOutlet var label:UILabel! if #available(iOS 10.0, *) { label.adju...
Lets start installing the popular library Alamofire to our Xcode project! Lets first install CocoaPods by using the command: [sudo] gem install cocoapods Then let's create a new project in Xcode called Start! Navigate to the folder that contains the .xcodeproj and create a new text file called ...
(clj-time/date-time 2017 1 20) Gives you a Joda time of 20th Jan 2017 at 00:00:00. Hours, minutes and seconds can also be specified as (clj-time/date-time year month date hour minute second millisecond)
In the directory if the xcodeproj, create a new file called Podfile. The following is an example of a Podfile that installs the pod 'AFNetworking' version 1.0 to the app MyApp. target 'MyApp' pod 'AFNetworking', '~> 1.0'
Graph In computer science, a graph is an abstract data type that is meant to implement the undirected graph and directed graph concepts from mathematics. A graph data structure consists of a finite (and possibly mutable) set of vertices or nodes or points, together with a set of unordered pairs of...
To use MQTT in the application we have variety of Libraries available for different programming languages. MQTT Library LIBRARYLANGUAGEDESCRIPTIONEclipse PahoC, C++, Java, Javascript, Python, Go, C#Paho clients are among the most popular client library implementations.Fusesource MQTT ClientJa...
Go to ActiveMQ Website and download latest stable version of activeMQ click here to activeMQ downloads after downloading, unzip it if you're using windows 32 Go to apache-activemq-5.14.3\bin\win32 if windows 64 apache-activemq-5.14.3\bin\win64 run the activemq batch file thats it...
In the tsconfig.json set "sourceMap": true, to generate mappings alongside with js-files from the TypeScript sources using the tsc command. The launch.json file: { "version": "0.2.0", "configurations": [ { "type"...
Create a Node.js debug configuration and use index.js as Node parameters.
Add ts-node to your TypeScript project: npm i ts-node Add a script to your package.json: "start:debug": "ts-node --inspect=5858 --debug-brk --ignore false index.ts" The launch.json needs to be configured to use the node2 type and start npm running the start:debug script: ...
Scala supports lazy evaluation for function arguments using notation: def func(arg: => String). Such function argument might take regular String object or a higher order function with String return type. In second case, function argument would be evaluated on value access. Please see the example...
create Dynamic web project in sts/eclipse download the eclipse paho jar from click here to download and paste jar file in webcontent->webinf->folder->lib Publish Example String broker = "tcp://localhost:1883"; String topicName = "test/topic"; int qos = 1; Mqt...
Even though colorblind people can recognize a wide range of colors, it might be hard to differentiate between certain colors. RColorBrewer provides colorblind-friendly palettes: library(RColorBrewer) display.brewer.all(colorblindFriendly = T) The Color Universal Design from the University ...
These instructions are for a base install of Community Edition for local development purposes. Mac (Official documentation is maintained here) 1. Install Dependencies: Homebrew brew install arangodb If you don't want Homebrew or otherwise prefer a binary, you can download it instead here. 2...
Following points are to be kept in mind always: Take the PRD (Product Requirement Document from Business Analyst/Project Manager). If they don't have it, insist on a documentation since that will be the bible for your testing Once you get it, make sure to read it thoroughly. You will get comple...

Page 940 of 1099