Tutorial by Examples: st

On most GNU+Linux operating systems, PostgreSQL can easily be installed using the operating system package manager. Red Hat family Respositories can be found here: https://yum.postgresql.org/repopackages.php Download the repository to local machine with the command yum -y install https://downloa...
Ways to get Highcharts: Load directly from Highcharts CDN Download files from official website. Through npm; npm install highcharts Through bower; bower install highcharts To load the main library from vendor's CDN, simply add the following to your code: <script src="ht...
The JavaFX APIs are available as a fully integrated feature of the Java SE Runtime Environment (JRE) and the Java Development Kit (JDK ). Because the JDK is available for all major desktop platforms (Windows, Mac OS X, and Linux), JavaFX applications compiled to JDK 7 and later also run on all...
Models are typically defined in the models.py file under your application subdirectory. The Model class of django.db.models module is a good starting class to extend your models from. For example: from django.db import models class Book(models.Model): title = models.CharField(max_length=100...
Once your virtual environment has been activated, any package that you install will now be installed in the virtualenv & not globally. Hence, new packages can be without needing root privileges. To verify that the packages are being installed into the virtualenv run the following command to che...
1. Install the Ionic Framework and Cordova (since Ionic apps are based on Cordova) using npm (the Node Package Manager): Make sure you have an up-to-date version of Node.js installed on your system. If you don't have Node.js installed, you can install it from here. Also, for Mac users, having the ...
Consider we have a class Animal which has a child class Dog class Animal { public Animal() { Console.WriteLine("In Animal's constructor"); } } class Dog : Animal { public Dog() { Console.WriteLine("In Dog's constructor"); } ...
Requirements: Installed Java JDK or JRE (version 7 or higher for Gradle 3.x version) Installation steps: Download Gradle distribution from the official web site Unpack the ZIP Add the GRADLE_HOME environment variable. This variable should point to the unpacked files from the previous step. Ad...
Binary releases of Maven can be downloaded from the Maven website. The binary comes as a zip archive or as a tar.gz archive. After downloading it, the instructions from the install page can be followed: Ensure the JAVA_HOME environment variable is set and points to your JDK installation (not JRE...
The first step to start Xamarin development on an OS X machine, is to download and install Xamarin Studio Community version from the official website. A few fields need to be filled to download the installer as shown in the picture below. The Xamarin Unified installer takes care of identifying an...
Download Qt for Linux Open Source Version Go to https://www.qt.io/download-open-source/ and click on Download Now, make sure that you are downloading the Qt installer for Linux. A file with the name qt-unified-linux-x-online.run will be downloaded, then add exec permission chmod +x qt-unified-...
The Stop command will pause the execution when called. From there, the process can be resumed or be executed step by step. Sub Test() Dim TestVar as String TestVar = "Hello World" Stop 'Sub will be executed to this point and then wait for the user Ms...
Different flavors of application builds can contain different resources. To create a flavor-specific resource make a directory with the lower-case name of your flavor in the src directory and add your resources in the same way you would normally. For example, if you had a flavour Development and w...
The easiest way to get writing your first XAML is to install Microsoft Visual Studio. This is avaliable free from Microsoft. Once installed you can create a new project, of type WPF Application, either with a VB.NET or C# code. This is similar to windows forms in the sense that you have a series o...
Fortran is a language which can be compiled using compilers supplied by many vendors. Different compilers are available for different hardware platforms and operating systems. Some compilers are free software, some can be used free of charge and some require the purchase of a licence. The most comm...
All java Collection<E>s have stream() and parallelStream() methods from which a Stream<E> can be constructed: Collection<String> stringList = new ArrayList<>(); Stream<String> stringStream = stringList.parallelStream(); A Stream<E> can be created from an arra...
You don't have to check the IDisposable object for null. using will not throw an exception and Dispose() will not be called: DisposableObject TryOpenFile() { return null; } // disposable is null here, but this does not throw an exception using (var disposable = TryOpenFile()) { //...
Java 8 provides classes called IntSummaryStatistics, DoubleSummaryStatistics and LongSummaryStatistics which give a state object for collecting statistics such as count, min, max, sum, and average. Java SE 8 List<Integer> naturalNumbers = Arrays.asList(1, 2, 3, 4, 5, 6, 7, 8, 9, 10); IntSu...
Starting with PHP Sessions we can pass an array with session-based php.ini options to the session_start function. Example <?php if (version_compare(PHP_VERSION, '7.0.0') >= 0) { // php >= 7 version session_start([ 'cache_limiter' => 'private', ...
Getting started with Ember is easy. Ember projects are created and managed through our command line build tool Ember CLI. This tool provides: Modern application asset management (including concatenation, minification, and versioning). Generators to help create components, routes, and more. A ...

Page 31 of 369