Tutorial by Examples: a

XmlView: <mvc:View controllerName="sap.ui.demo.wt.controller.App" xmlns="sap.m" xmlns:mvc="sap.ui.core.mvc" displayBlock="true"> <App> <pages> <Page content="{path:'Tiles>/Tiles',fact...
DATA table-name; INFILE "file-path/file-name.csv" dsd; INPUT Name $ City $ Age; RUN;
InvocationExpression class allows invocation of other lambda expressions that are parts of the same Expression tree. You create them with static Expression.Invoke method. Problem We want to get on the items which have "car" in their description. We need to check it for null before searc...
Tables for Layout The structure of an HTML email file is similar to that of a web page: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Hello!</title> </head> <body> &...
The IE=Edge meta tag is for telling the destination rendering engine to use the latest (edge) version of IE rendering engine, which enables responsive behavior in Windows phones. <meta http-equiv="X-UA-Compatible" content="IE=edge"> Occasionally this breaks images in Li...
Apple iOS 10 Mail doesn't always auto-scale non-responsive emails. The auto-scale meta tag can be used to disable auto-scale feature in iOS 10 Mail entirely. <meta name="x-apple-disable-message-reformatting">
Most Rx operators take an optional scheduler on which to schedule their future iterations. If not supplied they will use their default configured scheduler. Supplying a scheduler can be useful for testing purposes in which we like to talk about virtual time instead of real time for speed of test exe...
YAML supports three styles of escape notation: Entity Escapes a. space: " " b. colon: ":" c. ampersand: "&" Unicode Escapes a. space: "\u0020" b. single quote: "\u0027" c. double quote: "\u0022" ...
Use this to reset the table to the condition at which it was created. This deletes all rows and resets values such as auto-increment. It also doesn't log each individual row deletion. TRUNCATE TABLE Employees
Create a folder where you would like to have your game live, and move into that mkdir my-new-game cd my-new-game Initialize the directory using npm. npm init -y Install phaser as a node package. npm install phaser Install http-server as a global module, to be used on the...
First simple Example: You have a ticket automat which gives exchange in coins with values 1, 2, 5, 10 and 20. The dispension of the exchange can be seen as a series of coin drops until the right value is dispensed. We say a dispension is optimal when its coin count is minimal for its value. Let M ...
With the Tap Gesture, you can make any UI-Element clickable (Images, Buttons, StackLayouts, ...): (1) In code, using the event: var tapGestureRecognizer = new TapGestureRecognizer(); tapGestureRecognizer.Tapped += (s, e) => { // handle the tap }; image.GestureRecognizers.Add(tapGestureR...
We have a set of jobs J={a,b,c,d,e,f,g}. Let j in J be a job than its start at sj and ends at fj. Two jobs are compatible if they don't overlap. A picture as example: The goal is to find the maximum subset of mutually compatible jobs. There are several greedy approaches for this problem: Earli...
Open a raster that covers the globe and extract a subset of the raster. import gdal # Path to a tiff file covering the globe # http://visibleearth.nasa.gov/view.php?id=57752 tif_name = "/path_name/land_shallow_topo_21600.tif" # Open raster in read only mode ds = gdal.Open(tif_n...
The HTML <p> element defines a paragraph: <p>This is a paragraph.</p> <p>This is another paragraph.</p> Display- You cannot be sure how HTML will be displayed. Large or small screens, and resized windows will create different results. With HTML, you cannot chang...
In the view file In the base html (index.html) where we usually include the angular scripts or the html that is shared across the app, leave an empty div element, the flash messages will be appearing inside this div element <div class="flashmessage" ng-if="isVisible"> ...
In order to create a scheduler,the entry needs to be created in liferay-portlet.xml provding scheduler class and trigger value for timing of scheduler triggering <portlet-name>GetSetGo</portlet-name> <icon>/icon.png</icon> <scheduler-entry> ...
There are numerous problems minimizing lateness, here we have a single resource which can only process one job at a time. Job j requires tj units of processing time and is due at time dj. if j starts at time sj it will finish at time fj=sj+tj. We define lateness L=max{0,fj-dh} for all j. The goal is...
Dependencies: GNU Make Version > 3.80 an ISO/ ANSI C-Compiler (e.g. gcc) an extractor like tar or gzip zlib-devel readline-devel oder libedit-devel Sources: Link to the latest source (9.6.3) Now you can extract the source files: tar -xzvf postgresql-9.6.3.tar.gz There are a large ...

Page 848 of 1099