Tutorial by Examples

Detailed instructions on getting corona set up or installed.
CloudCannon offers hosting and a CMS for Jekyll applications. Here are the steps in hosting your Jekyll application on CloudCannon (http://cloudcannon.com). Without version control: Create your blog locally using some local files and jekyll serve Create a CloudCannon account and create a new si...
SWIFT: Getting an instance of UIStoryboard programmatically can be done as follows: let storyboard = UIStoryboard(name: "Main", bundle: nil) where: name => the name of the storyboard without the extension bundle => the bundle containing the storyboard file and its relate...
A basic principle of functional programming is that it avoids changing the application state (statelessness) and variables outside it's scope (immutability). Pure functions are functions that: with a given input, always return the same output they do not rely on any variable outside their scope...
RTL (Right-to-left) support is an essential part in planning for i18n and L10n. Unlike English language which is written from left to right, many languages like Arabic, Japanese, Hebrew, etc. are written from right to left. To appeal to a more global audience, it is a good idea to plan your layouts ...
Starting SDK 17 (Android 4.2), RTL support was added in Android layouts and is an essential part of localization. Going forward, the left/right notation in layouts should be replaced by start/end notation. If, however, your project has a minSdk value less than 17, then both left/right and start/end ...
To test if the layouts that have been created are RTL compatible, do the following : Go to Settings -> Developer options -> Drawing -> Force RTL layout direction Enabling this option would force the device to use RTL locales and you can easily verify all parts of the app for RTL suppo...
The first step for coding for localization is to create default resources. This step is so implicit that many developers do not even think about it. However, creating default resources is important because if the device runs on an unsupported locale, it would load all of its resources from the defau...
To provide translations in other languages (locales), we need to create a strings.xml in a separate folder by the following convention : res/values-<locale>/strings.xml An example for the same is given below: In this example, we have default English strings in the file res/values/string...
Creating language specific layouts is often unnecessary if you have specified the correct start/end notation, as described in the earlier example. However, there may be situations where the defaults layouts may not work correctly for certain languages. Sometimes, left-to-right layouts may not transl...
By default, the escape character is ~. Just go ahead and type ~. in your opened SSH session. After hitting Enter your session will end immediately. Go ahead and try it in any session, it works regardless of the responsiveness of your session.
First method - Concatenation of strings The simplest method to plot multiple data files is to insert a for loop inside the plot command of gnuplot. Assuming you have N files named sequently, i.e. file_1.dat file_2.dat file_3.dat ... file_N.dat Executing the command plot for[i = 1:N] &quot...
In version 2.10, JMeter introduced a mechanism that saves you time when creating scripts - JMeter Templates. These templates are skeletons that can be reused as the base for your new scripts. JMeter already has several available templates with detailed descriptions, and you can also add your own. T...
JMeter also enables you to manually configure your workspace. It’s more complex, but you can make the scripts fit your exact needs. Configure your browser proxy Configure your browser, as described in chapter 1. Configure JMeter The “WorkBench” branch can be used as a temporary workspace for...
JMeter can also can be used for recording mobile performance testing. Mobile scripts recording is very similar to web application scripts recording. Configure JMeter Configure “JMeter Templates” as specified in chapter 1. Configure your mobile phone After the JMeter configuration is prepared...
If your web application uses the SSL encryption, you need to capture HTTPS traffic instead of HTTP. To record HTTPS Traffic with JMeter, you need to configure the SSL certificates. Configure your SSL proxy Make sure the SSL proxy is configured the same way the HTTP proxy is configured: Conf...
So far we’ve covered the basic ways to record test scenarios. But one of the fastest and easiest ways to record your performance scripts, which is also free, is to use the BlazeMeter Recorder Chrome extension. These recordings can be run in JMeter or in BlazeMeter. The reason the extension is so us...
Another useful 3rd party recording tool is BadBoy. However, it works only for Windows OS. To create a new performance script: Install BadBoy here Enter the URL under test in the address bar Press the record button, shaped like a red circle and perform the actions you want to captur...
Easy Install Go to http://pharo.org/download and select a fitting download and run it. Details There are a lot of different ways to install Pharo. Pharo itself consists of a vm and an image. In addition it needs its sources and plugins, and has some dependencies: It is a cross-platform environ...
From the gnuplot 5.0 official online documentation: The command language of gnuplot is case sensitive, i.e. commands and function names written in lowercase are not the same as those written in capitals. All command names may be abbreviated as long as the abbreviation is not ambiguous. Any number...

Page 1104 of 1336