Tutorial by Examples: ti

SQLite.NET is an open source library which makes it possible to add local-databases support using SQLite version 3 in a Xamarin.Forms project. The steps below demonstrate how to include this component in a Xamarin.Forms Shared Project: Download the latest version of the SQLite.cs class and add...
If you have a directory with existing source files, you can use qmake with the -project-option to create a project file. Let's assume, the folder MyProgram contains the following files: main.cpp foo.h foo.cpp bar.h bar.cpp subdir/foobar.h subdir/foobar.cpp Then by calling qmake -projec...
SELECT val FROM (SELECT val, rownum AS rnum FROM (SELECT val FROM rownum_order_test ORDER BY val) WHERE rownum <= :upper_limit) WHERE rnum >= :lower_limit ; this way we can paginate the table data , just like web serch page
IISNode allows Node.js Web Apps to be hosted on IIS 7/8 just like a .NET application would. Of course, you can self host your node.exe process on Windows but why do that when you can just run your app in IIS. IISNode will handle scaling over multiple cores, process manageement of node.exe, and auto...
Using a Virtual Directory or Nested Application in IIS is a common scenario and most likely one that you'll want to take advantage of when using IISNode. IISNode doesn't provide direct support for Virtual Directories or Nested Applications via configuration so to achieve this we'll need to take adv...
Simulation environments A simulation environment for a VHDL design (the Design Under Test or DUT) is another VHDL design that, at a minimum: Declares signals corresponding to the input and output ports of the DUT. Instantiates the DUT and connects its ports to the declared signals. Instant...
This example deals with one of the most fundamental aspects of the VHDL language: the simulation semantics. It is intended for VHDL beginners and presents a simplified view where many details have been omitted (postponed processes, VHDL Procedural Interface, shared variables...) Readers interest...
Normal sorting Highlight the text to sort, and the type: :sort If you don't highlight text or specify a range, the whole buffer is sorted. Reverse sorting :sort! Case insensitive sorting :sort i Numerical sorting Sort by the first number to appear on each line: :sort n Remove duplicates a...
The following codes will output the numbers 1 through 10 in the console, although console.log could be any function that accepts an input. Method 1 - Standard for x in [1..10] console.log x Method 2 - Compact console.log x for x in [1..10]
Storage options in Azure provide a "REST" API (or, better, an HTTP API) The Azure SDK offers clients for several languages. Let's see for example how to initialize one of the storage objects (a queue) using the C# client libraries. All access to Azure Storage is done through a storage ac...
-v, --version Added in: v0.1.3 Print node's version. -h, --help Added in: v0.1.3 Print node command line options. The output of this option is less detailed than this document. -e, --eval "script" Added in: v0.5.2 Evaluate the following argument as JavaScript. The modules whi...
AutoIt is intended for use on the Microsoft Windows operating system. It is compatible with versions from Windows XP onwards. Download the installation utility from https://www.autoitscript.com/site/autoit/downloads/ If installing on a 64-bit version of Windows, the user is prompted to choose a 6...
NativeScript's global timer variable lets you set timeouts and intervals for asynchronous delayed function calls. Importing var timer = require("timer") Timeouts var callback = function(){ console.log("I will be executed once after 500ms"); } var timeoutId = timer.se...
For this tutorial, we'll use Entity Framework (EF) Code First to create the back-end database. Web API OData does not require EF. Use any data-access layer that can translate database entities into models. First, install the NuGet package for EF. From the Tools menu, select NuGet Package Mana...
Querying the Entity Set Add the following methods to ProductsController. [EnableQuery] public IQueryable<Product> Get() { return db.Products; } [EnableQuery] public SingleResult<Product> Get([FromODataUri] int key) { IQueryable<Product> result = db.Products.Wher...
Symfony REST Edition is a fully-functional Symfony2 application that you can use as the skeleton for your new applications. Available on Github It comes pre-configured with the following bundles: BundleDescriptionFrameworkBundleThe core Symfony framework bundle.SensioFrameworkExtraBundleAdds seve...
<bindings > <wsHttpBinding > <binding name="mybinding" > <security mode="Transport" > <transport clientCredentialType="Basic"/ > </security > </binding > </wsHttpBinding > </bindings > ...
To create a new collection "class": var Books = Backbone.Collection.extend({ // books will be sorted by title comparator: "title", initialize: function(models, options) { options = options || {}; // (Optional) you can play with the models her...
Here’re some basic JUnit annotations you should understand: @BeforeClass – Run once before any of the test methods in the class, public static void @AfterClass – Run once after all the tests in the class has been run, public static void @Before – Run before @Test, public void @After – Run after...
We can provide a meaningful name for our constructors. We can provide several constructors with the same number and type of parameters, something that as we saw earlier we can’t do with class constructors. public class RandomIntGenerator { private final int min; private final int max; ...

Page 313 of 505