Tutorial by Examples: and

SELECT DISTINCT object_name(i.object_id) AS [Object Name], c.name AS [Partition Column], s.name AS [Partition Scheme], pf.name AS [Partition Function], prv.tot AS [Partition Count], prv.miVal AS [Min Boundry Value], prv.maVal AS [Max Boundry Value] FROM sys.object...
Salt commands are executed using a common structure: salt '*' pkg.install vim [target] [module.function] [arguments] The target determines which systems apply the command. In the example above we target all ('*') the Salt minions. See the targeting minions documentation for more...
JSON_OBJECT creates JSON Objects: SELECT JSON_OBJECT('key1',col1 , 'key2',col2 , 'key3','col3') as myobj; JSON_ARRAY creates JSON Array as well: SELECT JSON_ARRAY(col1,col2,'col3') as myarray; Note: myobj.key3 and myarray[2] are "col3" as fixed string. Also mixed JSON data: S...
Interrupts are handled by a protected procedure with no parameters. ------------------------------------------------------------------ -- Interrupt Counting Package -- ------------------------------------------------------------------ with Ada.Interrupts.Names; use Ada.Interrupts.Names; packa...
Description of the installation process : Debian jessie -- Installation Guide Each architecture has his own installation guide : amd64 i386 armel s390x powerpc armhf mips AArch64 POWER. Download an iso image of the Debian distribution (stable release): Debian installer Use ...
Out of the box Acumatica allows to create and maintain the list of shipping terms in the system. Shipping terms are used to define the shipping, packaging and handling costs, depending on the shipment amount. In this example I will show how to calculate freight amount for a shipment based on sales ...
The following is a full example of using XHTML with JavaScript served by PHP as a single-file. <?php if (isset($_SERVER['HTTP_ACCEPT']) && stristr($_SERVER['HTTP_ACCEPT'],'application/xhtml+xml')) { // Client header isset` and explicitly declares XHTML parser support. header('Conte...
HTML5 defines some HTML attributes as boolean; a boolean can only be true or false. The specification simply states that the presence of a boolean attribute implies that the attribute is set to true. In example using a disabled attribute in the following example disables the button input element: &...
Using XHTML you should avoid methods such as document.write and innerHTML as they treat XML as text and do not properly serialize code; an id attribute in HTML is essentially dumped in to the DOM and the id attribute is not serialized which means when trying to reference to it with something such as...
This example shows a simple global definition of a complexType. The definition is considered global as it is a child of the xs:schema. Globally defined types can be used elsewhere in the schema. This is the most common form for declaring a global xs:complexType, it defines the child elements using ...
The COMPILER system handle let's you look at information regarding a recent compile. Assuming ok-program.p is a program without any errors or warning: COMPILE ok-program.p SAVE NO-ERROR. DEFINE VARIABLE iError AS INTEGER NO-UNDO. MESSAGE "Errors: " COMPILER:ERROR SKIP ...
Executes a OS-command. OS-COMMAND without any options will start a new shell and not exit it - thus you will on graphical OS:es leave a window "hanging". DEFINE VARIABLE cmd AS CHARACTER NO-UNDO. cmd = "dir". OS-COMMAND VALUE(cmd). There are three options: SILENT, NO...
Generate a random letter between a and z by using the Next() overload for a given range of numbers, then converting the resulting int to a char Random rnd = new Random(); char randomChar = (char)rnd.Next('a','z'); //'a' and 'z' are interpreted as ints for parameters for Next()
Executable C++ program code is usually produced by a compiler. A compiler is a program that translates code from a programming language into another form which is (more) directly executable for a computer. Using a compiler to translate code is called compilation. C++ inherits the form of its compi...
A version control system allows a developer or development team access to essentially I time machine. If the source code, settings, etc., that were used to build a program or system are under version control then the developers can step back in time to recover lost functionality, trace how errors we...
The partition key is the minimum specifier needed to perform a query using a where clause. If you declare a composite clustering key, the order matters. Say you have the following primary key: PRIMARY KEY((part_key1, part_key_2), (clust_key_1, clust_key_2, clust_key_3)) Then, the only valid qu...
This is my FirebaseMessagingService public class MyFirebaseMessagingService extends FirebaseMessagingService { Bitmap bitmap; @Override public void onMessageReceived(RemoteMessage remoteMessage) { String message = remoteMessage.getData().get("message"); //imageUri will ...
<?php $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, "https://api.dropboxapi.com/2/files/list_folder"); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); curl_setopt($ch, CURLOPT_CAINFO, "cacert.pem"); curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 0); curl_setopt($ch, CURLOP...
import javax.inject.Singleton; import dagger.Module; import dagger.Provides; @Module public class VehicleModule { @Provides @Singleton Motor provideMotor(){ return new Motor(); } @Provides @Singleton Vehicle provideVehicle(){ return new Vehicle(...
There are several ways interact with an Xml file. Xml Document XDocument XmlReader/XmlWriter Before LINQ to XML we were used XMLDocument for manipulations in XML like adding attributes, elements and so on. Now LINQ to XML uses XDocument for the same kind of thing. Syntaxes are much easie...

Page 128 of 153