Tutorial by Examples: er

This is an example of an end marker specified with a minimal number of parameters. Note that the stroke color of the original element is not inherited by the marker. <svg width="800px" height="600px"> <defs> <marker id="examplemarker" vi...
The axis offsets for drawing the marker that are specified by refX and refY are applied before the rotation specified by the orient parameter. Below you can see the effects of various combinations of orient and refX, refY to illustrate this. <svg width="800px" height="600px"&...
The default for drawing markers is to use the stroke width of the calling element, but you can explicitly specify that markers be drawn using the unit system for the element the marker is being applied to by specifying markerUnits="userSpaceOnUse". Markers are drawn into a 3x3 markerUnits ...
Elements can specify start, mid and end markers separately. Below are examples of start, mid and end markers for all elements that can be marked. Please note that Chrome does not currently (July 2016) calculate auto orientation correctly for start and end markers for polygons (bug# 633012), and also...
add below dependencies to build.gradle file in dependency section. (this is an unOfficial library for date picker) compile 'com.wdullaer:materialdatetimepicker:2.3.0' Now we have to open DatePicker on Button click event. So create one Button on xml file like below. <Button ...
Parameters hints can be customized by the user as indicated in this link: http://docs.notepad-plus-plus.org/index.php/Auto_Completion#How_to_create_keyword_auto-completion_definition_files How to create keyword auto-completion definition files Since version 5.0 Notepad++ has support for so calle...
// Generate stream that references itself in its evaluation lazy val primes: Stream[Int] = 2 #:: Stream.from(3, 2) .filter { i => primes.takeWhile(p => p * p <= i).forall(i % _ != 0) } .takeWhile(_ > 0) // prevent overflowing // Get list of 10 primes assert(primes.take(...
ODS (on-disk structure) version is a number representing version of the database low-level data layout structure (ODS). When a new feature is added to Firebird it might or might not require the structure of database pages or system tables (database metadata) to change. If it does, the ODS version mu...
UISplitViewController needs to the root view controller of your app’s window AppDelegate.m - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { self.window = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]] self.window.ba...
Copy the package installer unit file to /etc where changes will not be overwritten on an upgrade: cp /lib/systemd/system/docker.service /etc/systemd/system/docker.service Update /etc/systemd/system/docker.service with your options on ExecStart: ExecStart=/usr/bin/dockerd -H fd:// -H tcp://0.0.0...
Ionic uses Gulp, so install gulp-babel and gulp-plumber. npm install --save-dev gulp-babel gulp-plumber Add babel to gulpfile.js like so: //... var babel = require("gulp-babel"); var plumber = require("gulp-plumber"); var paths = { es6: ['./src/es6/*.js'], sass: ...
Sometimes you have to deal with structures defined in terms of C data types from Perl. One such application is the creation of raw network packets, in case you want to do something fancier than what the regular socket API has to offer. This is just what pack() (and unpack() of course) is there for. ...
This pattern will allow you to filter lines depending on its length $cat file AAAAA BBBB CCCC DDDD EEEE $awk 'length($0) > 4 { print $0 }' file AAAAA $ Anyway, the pattern will allow the next code block to be executed, then, as the default action for AWK is printing the current ...
Pattern matching can be used effectively with awk as it controls the actions that follows it i.e. { pattern } { action }. One cool use of the pattern-matching is to select multiple between two patterns in a file say patternA and patternB $ awk '/patternA/,/patternB/' file Assume my file contents...
Convert in lowercase the string argument Syntax: LOWER(str) LOWER('fOoBar') -- 'foobar' LCASE('fOoBar') -- 'foobar'
A class can have non-static member functions, which operate on individual instances of the class. class CL { public: void member_function() {} }; These functions are called on an instance of the class, like so: CL instance; instance.member_function(); They can be defined either ins...
One can verify whether a method was called on a mock by using Mockito.verify(). Original mock = Mockito.mock(Original.class); String param1 = "Expected param value"; int param2 = 100; // Expected param value //Do something with mock //Verify if mock was used properly Mockito.veri...
Factory Method is one of creational design patterns. It is used to deal with the problem of creating objects without specifying exact result type. This document will teach you how to use Factory Method DP properly. Let me explain the idea of it to you on a simple example. Imagine you're working in ...
set alpha {a 1 b 2 c 3} dict get $alpha b # => 2 dict get $alpha d # (ERROR) key "d" not known in dictionary If dict get is used to retrieve the value of a missing key, an error is raised. To prevent the error, use dict exists: if {[dict exists $alpha $key]} { set result [d...
The DatePicker class has a property, SelectedDate, which enable you to get or set the selected date. If there is none selected, it means its value will be null. if (datePicker.SelectedDate == null) { // Do what you have to do }

Page 210 of 417