(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
/** | |
* Cleans the URL based on the preferences set in the configuration options. | |
* set config queries from {{url_cleaner_conf}} | |
* custom dim storage not implemented - since it is more easily stored using a dataleyer var | |
* to setup combine set page path in with gtm tags | |
*/ | |
function() { | |
var opts = { 'stripQuery' : true, 'queryDimensionIndex': null, 'indexFilename' : 'index.html', 'trailingSlash': 'remove'}; | |
if( {{url_cleaner_conf}} != null) | |
opts = JSON.parse( {{url_cleaner_conf}} ); |
var result = Object.getOwnPropertyNames(data).filter(/./.test.bind(new RegExp("^g"))); | |
console.table(data,Object.getOwnPropertyNames(data).filter(/./.test.bind(new RegExp("^g")))); |
(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
import android.util.Log; | |
import java.text.MessageFormat; | |
/* | |
* Copyright 2015 Dor Sakal | |
* | |
* Licensed under the Apache License, Version 2.0 (the "License"); | |
* you may not use this file except in compliance with the License. | |
* You may obtain a copy of the License at |
SELECT Salary FROM | |
( | |
SELECT DISTINCT Salary FROM Employee ORDER BY Salary DESC LIMIT 10 | |
) AS Emp ORDER BY Salary LIMIT 1; |
[SQL Fiddle][1]
MySQL 5.6 Schema Setup:
CREATE TABLE Clients
(client_id int NOT NULL AUTO_INCREMENT,
client_name VARCHAR(25),
PRIMARY KEY(client_id)
)