Tutorial by Examples: a

Detailed instructions on getting gmail-api set up or installed.
BigDecimal provides static properties for the numbers zero, one and ten. It's good practise to use these instead of using the actual numbers: BigDecimal.ZERO BigDecimal.ONE BigDecimal.TEN By using the static properties, you avoid an unnecessary instantiation, also you've got a literal in you...
The LineChart class presents the data as a series of data points connected with straight lines. Each data point is wrapped in XYChart.Data object, and the data points are grouped in XYChart.Series. Each XYChart.Data object has two fields, which can be accessed using getXValue and getYValue, that co...
/** * Save the results from the saved search as .csv and store in file cabinet * Get the file's internal id when loading the file * Use \n to process each row * Get the internal id and whatever columns that need updating * Create a filtered search and pass the internal id * If the passe...
If you have the following data file cat data.csv 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 maybe you need to read the fourth column of the third line, this would be "24" awk 'NR==3 ...
// Add MPVolumeView in a holder view let mpVolumeHolderView = UIView(frame: CGRect(x: 0, y: view.bounds.midY, width: view.bounds.width, height: view.bounds.height)) // Set the holder view's background color to transparent mpVolumeHolderView.backgroundColor = .clear let mpVolume = MPVolumeView(fr...
Here, "table" is meant broadly (covering data.frame, table, Printing to plain text Printing (as seen in the console) might suffice for a plain-text document to be viewed in monospaced font: Note: Before making the example data below, make sure you're in an empty folder you can write to....
Sweave from the utils package allows for formatting code, prose, graphs and tables together in a LaTeX document. Further Resources Knitr and RMarkdown
Consider you have a Parent Frame(Frame-Parent). and 2 child frames(Frame_Son,Frame_Daughter). Lets see various conditions and how to handle. 1.From Parent to Son or Daughter: driver.switchTo().frame("Frame_Son"); driver.switchTo().frame("Frame_Daughter"); 2.From Son to Pa...
In quite a few cases your frame might not show up immediately and you probably have to wait till it is loaded to switch. Or else you will have NoSuchFrameException. So its always a good choice to wait before you switch. Following is a ideal way to wait till a frame is loaded. try{ new Web...
A fully featured OS designed around penetration testing. Download Link: https://www.offensive-security.com/kali-linux-arm-images/ Requirements: 8GB Class 10 SD Card Minimum 16GB Class 10 SD Card Recommended Default Login: Username: root Password: toor Notes Install gparted and expa...
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...
<!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content="text/html"> <title>JSP Comments</title> </head> <body> <%-- JSP comments --%> -- Ignored by container, you can't see this comment in source code...
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...
Suppose we have the following JSON data: { "TESTS": [ { "YEAR": "2017", "MONTH": "June", "DATE": "28" } ] } import groovy.json...
This section is only relevant if you work with the Sass version of Materialize. First, you need to install Sass in your working directory: gem install sass When you have Sass installed on your project and you want to update your output .css file, you need to use the following command: sass sas...
The autocomplete UI control is a search dialog with built-in autocomplete functionality. As a user enters search terms, the control presents a list of predicted places to choose from. When the user makes a selection, a GMSPlace (Place in Xamarin) instance is returned, which your app can then use to ...
This converts valid json strings to MySQL JSON type: SELECT CAST('[1,2,3]' as JSON) ; SELECT CAST('{"opening":"Sicilian","variations":["pelikan","dragon","najdorf"]}' as JSON);
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...
Create @myjson variable as JSON type (read more): SET @myjson = CAST('["A","B",{"id":1,"label":"C"}]' as JSON) ; SELECT some members! SELECT JSON_EXTRACT( @myjson , '$[1]' ) , JSON_EXTRACT( @myjson , '$[*].label') , JSON_EXTRACT( @...

Page 930 of 1099