Tutorial by Examples

To create an kivy application sub class the app class Implement the build method, which will return the widget. Instantiate the class an invoke the run. from kivy.app import App from kivy.uix.label import Label class Test(App): def build(self): return Label(text='Hello worl...
We have simple module available in npm for goggle authetication name passport-google-oauth20 Consider the following example In this example have created a folder namely config having the passport.js and google.js file in the root directory. In your app.js include the following var express = requ...
Code example : Now Start with Creating the Pagination Controller public with sharing class Pagination { } i am going to show all the contacts in the form of pagination and there should be one checkbox for each contact to selected or deselect contact to perform delete operation on contacts. ...
fun startNewActivity(){ val intent: Intent = Intent(context, Activity::class.java) startActivity(intent) } You can add extras to the intent just like in Java. fun startNewActivityWithIntents(){ val intent: Intent = Intent(context, Activity::class.java) intent.putExtra(KEY_NA...
This is a single value metrics aggregation that calculates the average of the numeric values that are extracted from the aggregated documents. POST /index/_search? { "aggs" : { "avd_value" : { "avg" : { "field" : "name_of_field" } } ...
A single-value metrics aggregation that calculates an approximate count of distinct values. Values can be extracted either from specific fields in the document or generated by a script. POST /index/_search?size=0 { "aggs" : { "type_count" : { "ca...
A multi-value metrics aggregation that computes stats over numeric values extracted from the aggregated documents. These values can be extracted either from specific numeric fields in the documents, or be generated by a provided script. The extended_stats aggregations is an extended version of the ...
Most online batch scripts come with a lot of quote issues. Examples and Solutions Example A if %var%==abc echo Test This code works - when the content of %var% does not contains space or other special characters. Now let's assume %var% contains 1 whitespace. Now cmd.exe sees: if ==abc echo...
.* in regex basically means "catch everything until the end of input". So, for simple strings, like hello world, .* works perfectly. But if you have a string representing, for example, lines in a file, these lines would be separated by a line separator, such as \n (newline) on Unix-like s...
Consider this example: He went into the cafe "Dostoevski" and said: "Good evening." Here we have two sets of quotes. Let's assume we want to match both, so that our regex matches at "Dostoevski" and "Good evening." At first, you could be tempted to keep...
Keypoint :- SortedMap interface extends Map. entries are maintained in an ascending key order. Methods of sorted Map : Comparator comparator( ). Object firstKey( ). SortedMap headMap(Object end). Object lastKey( ). SortedMap subMap(Object start, Object end). SortedMap tailMap(Object s...
Key Points:- Implementation of Map. stores only weak references to its keys. Weak References : The objects that are referenced only by weak references are garbage collected eagerly; the GC won’t wait until it needs memory in that case. Diffrence between Hashmap and WeakHashMap:- If the Jav...
Prerequisites: Setting up the Development Environment Before we get started, we have to setup our environment. Install Node.js and npm if they are not already on your machine. Verify that you are running at least node 6.9.x and npm 3.x.x by running node -v and npm -v in a terminal/console wi...
Key Points:- Is Hash table and Linked list implementation of the Map interface, with predictable iteration order. inherits HashMap class and implements the Map interface. contains values based on the key. only unique elements. may have one null key and multiple null values. ...
if object_id('tempdb.dbo.#temp') is not null drop table #temp create table #temp ( dateValue datetime, category varchar(3), amount decimal(36,2) ) insert into #temp values ('1/1/2012', 'ABC', 1000.00) insert into #temp values ('2/1/2012', 'DEF', 500.00) insert into #temp value...
DICOM Standard - http://dicom.nema.org/standard.html - This link contains the current, official documents. They can be downloaded or read online as web pages. DICOM Browser - https://dicom.innolitics.com/ - This link is a useful website for browsing the various DICOM information objects.
DICOM Tutorial - http://dicomiseasy.blogspot.com/p/introduction-to-dicom.html - Multi-chapter tutorial covering some of the most common DICOM questions. DICOM User Group - https://groups.google.com/forum/#!forum/comp.protocols.dicom - Active user group for DICOM related questions and discussions....
DCM4CHEE - http://www.dcm4che.org/ - Open Source Java DICOM toolkit. DCMTK - http://dicom.offis.de/dcmtk.php.en - C++ DICOM toolkit. Grassroots DICOM - https://sourceforge.net/projects/gdcm/ - C++ with various bindings DICOM toolkit. Merge - http://www.merge.com/Solutions/Toolkits/Merge-DICOM-T...
| Name | Phone | Age | |-------+-------+-----| | Peter | 1234 | 17 | | Anna | 4321 | 25 | To add a Table in org-mode, simply surround your columns with a bar (|) | column1 | column2 | this column is wider | When you press Return from inside a column, org-mode will automatically creat...
You can read all items either from any config file or type it inline. Considering if its saved in Config File // Read all list items from config file string[] countryDV = ConfigurationManager.AppSettings["countryDV"].Split(',').Select(s => s.Trim().ToUpper()).ToArray(); int DVRowLim...

Page 1310 of 1336