Tutorial by Examples: st

Let's take the Range is from 18 to 80. So, to validate, We should check that the age is a positive integer. Then check it should be greater than or equal to 18 and less than or equal to 80. The test to check whether it is a number or not can be performed by a simple regular expression like ^[0-...
Many watchOS apps (like Workout, Weather, Music, etc) have a main WKInterfaceTable or a set of buttons which are hooked up to another controller, similar to the navigation on iOS. This is called hierarchical view structure. To connect a button, Ctrl-Drag from the button to a controller, and select ...
You finished your app, tested on debug mode and it is working perfect. Now, you want to prepare it to publish in the Google Play Store. Xamarin documentation provides good informations in here: https://developer.xamarin.com/guides/android/deployment,_testing,_and_metrics/publishing_an_application/...
It is quite easy to call a CGI-Script via GET. First you will need the encoded url of the script. Then you add a question mark ? followed by variables. Every variable should have two sections seperated by =. First section should be always a unique name for each variable, while the second part h...
Using Request Method POST in combination with SSL makes datatransfer more secure. In addition... Most of the encoding and decoding is not needed any more The URL will be visible to any one and needs to be url encoded. The data will be send separately and therefor should be secured via SSL The...
public class RecyclerTouchListener implements RecyclerView.OnItemTouchListener { private GestureDetector gestureDetector; private RecyclerTouchListener.ClickListener clickListener; public RecyclerTouchListener(Context context, final RecyclerView recyclerView, final RecyclerTouchL...
Multiple database connections, of any type, can be defined inside the database configuration file (likely app/config/database.php). For instance, to pull data from 2 MySQL databases define them both separately: <?php return array( 'default' => 'mysql', 'connections' => array...
Data can be extracted from a blastdb using blastdbcmd which should be included in a blast installation. You can specify from the options below as part of -outfmt what metadata to include and in what order. From the man page: -outfmt <String> Output format, where the available format sp...
Detailed instructions on getting tortoisesvn set up or installed.
Above example helps us how to turn on SSH on Pi. This example is the prerequisite of above example. For Linux OS: Open the terminal and write down this ssh pi@your local IP address. Then you will need to provide the password. Note: Here pi: your raspberry pi username and your local IP address: th...
Imagine many users all running a web application that is trying to increment a counter in the database. Each user must read the current count, add one and write out the updated value. To make sure no one reads the counter while someone else is is adding one we use a transaction: ref.transaction(fun...
Every Heroku app runs in at least two environments: on Heroku (we’ll call that production) and on your local machine (development). If more than one person is working on the app, then you’ve got multiple development environments - one per machine, usually. Usually, each developer will also have a te...
DB backup Database backup is a must before starting any Dynamics CRM upgrade process. This is mandatory as to always have the option to rollback in case of any major roadblock. Wrong Estimation DO NOT underestimate the work involved in a CRM Upgrade process. Audit your current Microsoft Dynamics...
Detailed instructions on getting tastypie set up or installed.
To run the script analyzer against a single script file execute: Invoke-ScriptAnalyzer -Path myscript.ps1 This will analyze your script against every built-in rule. If your script is sufficiently large that could result in a lot of warnings and/or errors. To run the script analyzer against a w...
To see all the built-in rules execute: Get-ScriptAnalyzerRule
First, you'll need to install the Kotlin plugin. For Windows: Navigate to File → Settings → Plugins → Install JetBrains plugin For Mac: Navigate to Android Studio → Preferences → Plugins → Install JetBrains plugin And then search for and install Kotlin. You'll need to restart the IDE af...
You can create a New Project in Android Studio and then add Kotlin support to it or modify your existing project. To do it, you have to: Add dependency to a root gradle file - you have to add the dependency for kotlin-android plugin to a root build.gradle file. buildscript { repositorie...
Kotlin Plugin for Android Studio support converting existing Java files to Kotlin files. Choose a Java file and invoke action Convert Java File to Kotlin File:
In windows Platform Step 1: Installation of Ruby If you already have installed ruby in your pc then you can skip this step. Go to rubyinstaller.org's download page and download one of the stable version of ruby corresponding to architecture of your windows platform. Again download development ...

Page 331 of 369