C#
Visual Studio 2015 (latest update) - you can download the community version here for free: www.VisualStudio.com
Important: update all VS extensions to their latest versions
Tools->Extensions and Updates->Updates
Download the Bot Application template from here: Template Dow...
XML Example
The below configuration configures two appenders (log output). The first logs to standard system output (console) and the other logs to file. In this example, the location of the file can be set statically in configuration (appender file) or dynamically via maven filtering feature (<...
Recursive functions can get quite expensive. If they are pure functions (functions that always return the same value when called with the same arguments, and that neither depend on nor modify external state), they can be made considerably faster at the expense of memory by storing the values already...
Conditions: package should be at least installed. If not loaded in the current session, not a problem.
## Checking package version which was installed at past or
## installed currently but not loaded in the current session
packageVersion("seqinr")
# [1] ‘3.3.3’
packageVer...
A frequent reason why your read operation may not work is because your security rules reject the operation, for example because you're not authenticated (by default a database can only be accessed by an authenticated user).
You can see these security rule violations in the Console output. But it's ...
Standard Version
To install the standard version, go to the Plugin section of your WordPress installation. Search for "Advanced Custom Fields" and install/activate. You will now have access to a new area in the WordPress administrative area labeled "Custom Fields" where you can ...
A typical payment flow with Stripe can be divided in two steps:
Client-side, in your frontend (HTML + Javascript) code, you collect the customer's payment information using Stripe's prebuilt Checkout form or Elements form field(s). This will return a token that you then send to your server.
...
Fabric.js is just like any other JS library just specific to canvas. Easy to setup and get started. All you need to do is download the fabric.js from HERE and include it in your project just like any other JS library for example the way you do it for jQuery. Then create the html file suppose index.h...
Installation
CocoaPods
CocoaPods is a dependency manager for Cocoa projects. You can install it with the following command:
$ gem install cocoapods
CocoaPods 1.1.0+ is required to build Alamofire 4.0.0+.
To integrate Alamofire into your Xcode project using CocoaPods, specify it in your Po...
A very useful and logical follow-up to histograms and density plots would be the Empirical Cumulative Distribution Function. We can use the function ecdf() for this purpose. A basic plot produced by the command
plot(ecdf(rnorm(100)),main="Cumulative distribution",xlab="x")
wo...
Android supports fingerprint api from Android 6.0 (Marshmallow) SDK 23
To use this feature in your app, first add the USE_FINGERPRINT
permission in your manifest.
<uses-permission
android:name="android.permission.USE_FINGERPRINT" />
Here the procedure to follow
...
In a test you can disable animations by adding in setUp:
app.launchEnvironment = ["animations": "0"]
Where app is instance of XCUIApplication.
if( function_exists('acf_add_options_page') ) {
acf_add_options_page();
}
Add the above code to functions.php and an options page named 'Options' will appear in your Wordpress admin area. You now need to asign some custom fields to the page.
Performance testing is a subject/process/testing methodology but not a tool to setup.
It includes the following core activities:
Identify Test Environment
Identify Performance Acceptance Criteria
Plan and Design Tests
Configure Test Environment
Implement Test Design
Execute Tests
Analyze, ...