Tutorial by Examples

[Service] # empty exec prevents error "docker.service has more than one ExecStart= setting, which is only allowed for Type=oneshot services. Refusing." ExecStart= ExecStart=/usr/bin/dockerd -H fd:// --log-driver=syslog This enables syslog logging for the docker daemon. The file sho...
There are two classes of methods for solving Linear Equations: Direct Methods: Common characteristics of direct methods are that they transform the original equation into equivalent equations that can be solved more easily, means we get solve directly from an equation. Iterative Method: It...
An equation of the type f(x)=0 is either algebraic or transcendental. These types of equations can be solved by using two types of methods- Direct Method: This method gives the exact value of all the roots directly in a finite number of steps. Indirect or Iterative Method: Iterative method...
Nesting controllers chains the $scope as well. Changing a $scope variable in the nested controller changes the same $scope variable in the parent controller. .controller('parentController', function ($scope) { $scope.parentVariable = "I'm the parent"; }); .controller('childContro...
Arch: An official pacman-package is available. Install the package as root, using: pacman -S postgis OpenSuse: In order to use the openSuse repositories for geospatial applications, enable the Geo-repository as root: zypper ar http://download.opensuse.org/repositories/Application:/Geo/openSUS...
Consider a simple asynchronous method: async Task Foo() { Bar(); await Baz(); Qux(); } Simplifying, we can say that this code actually means the following: Task Foo() { Bar(); Task t = Baz(); var context = SynchronizationContext.Current; t.ContinueWith(task...
To disable synchronization context you should call the ConfigureAwait method: async Task() Foo() { await Task.Run(() => Console.WriteLine("Test")); } . . . Foo().ConfigureAwait(false); ConfigureAwait provides a means to avoid the default SynchronizationContext capturi...
Detailed instructions on getting moodle set up or installed are in the official Moodle page in the section Installing Moodle For administrators who are experienced with installing web server applications and are in a hurry to get up and running visit Installation Quickstart Platform specific instr...
Public Function TblExists(sTable As String) As Boolean On Error Resume Next Dim tdf As TableDef Set tdf = CurrentDb.TableDefs(sTable) If Err.Number = 0 Then TblExists = True Else TblExists = False End If End Function
The navigation pane located at the left hand side of the admin panel is how you navigate to and access different administration functionalities in the OpenCart back end. Pane expander Current account name and role Dashboard Catalog Categories Products Recurring Profiles Filters Attrib...
An Odd-Even Sort or brick sort is a simple sorting algorithm, which is developed for use on parallel processors with local interconnection. It works by comparing all odd/even indexed pairs of adjacent elements in the list and, if a pair is in the wrong order the elements are switched. The next step ...
To get started we need a factory that produces WebClients. public class ClientFactory { private Map<String, WebClient> cache = new HashMap<>(); public enum RESTClient { PORTAL; } public WebClient fetchRestClient(RESTClient restClient) { if (th...
To connect to a server we must use SSH on the client as follows, # ssh -p port user@server-address port - The listening ssh port of the server (default port 22). user - Must be an existing user on the server with SSH privileges. server address - The IP/Domain of the server. For a real wor...
Both connecting to a remove SSH server and accepting SSH connections require installation of openssh Debian: # apt-get install openssh Arch Linux: # pacman -S openssh Yum: # yum install openssh
To generate keys for SSH client: ssh-keygen [-t rsa | rsa1 | dsa ] [-C <comment>] [-b bits] For example: ssh-keygen -t rsa -b 4096 - C [email protected] Default location is ~/.ssh/id_rsa for private and ~/.ssh/id_rsa.pub for public key. For more info, please visit man.openbsd.org
Detailed instructions on getting ssas set up or installed.
Detailed instructions on getting visual-foxpro set up or installed.
Usually we struggle through the process of making login in the Raspberry Pi using ssh or other similar tools. But we can make the process more pleasent. Once your Raspberry Pi is connected to a network it gets an IPv4 address and an IPv6 address, that is based on the NIC's MAC address. The good thi...
this can also be cv-qualified, the same as any other pointer. However, due to the this parameter not being listed in the parameter list, special syntax is required for this; the cv-qualifiers are listed after the parameter list, but before the function's body. struct ThisCVQ { void no_qualifi...
C++11 Similarly to this cv-qualifiers, we can also apply ref-qualifiers to *this. Ref-qualifiers are used to choose between normal and rvalue reference semantics, allowing the compiler to use either copy or move semantics depending on which are more appropriate, and are applied to *this instead of...

Page 982 of 1336