Skip to content

Instantly share code, notes, and snippets.

Svelte, Netlify and Fauna

Nikos QuantumInformation

Svelte, Netlify and Fauna
Block or report user

Report or block QuantumInformation

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
QuantumInformation / cloudSettings
Created Jul 21, 2018
Visual Studio Code Settings Sync Gist
View cloudSettings
View gist:8b9b5d7a6b6714638bb7ae376c98e654
(function webpackUniversalModuleDefinition(root, factory) {
if(typeof exports === 'object' && typeof module === 'object')
module.exports = factory();
else if(typeof define === 'function' && define.amd)
define("SolarPopup", [], factory);
else if(typeof exports === 'object')
exports["SolarPopup"] = factory();
root["SolarPopup"] = factory();
})(this, function() {
View feed-me-to-code-generator.json
"shouldBeNumber1": "1",
"shouldBeString1": ".1",
"shouldBeBoolean1": "false",
"shouldBeFragment1": {
"FshouldBeNumber1": "1",
"FshouldBeString1": "bar",
"FshouldBeBoolean1": "false"
QuantumInformation / getUniqueQueryPathToDomEventTarget
Created Jul 18, 2015
Get unique query selector for element
View getUniqueQueryPathToDomEventTarget
* @param e event from the DOM that we want to workout the testing path.
getUniqueQueryPathToDomEventTarget: function (e) {
let hasEmberIdRegex = /ember[\d]+/;
if ( && !hasEmberIdRegex.test( {
return "#" +;
} else {
let path = e.path.reverse().slice(2); //remove the window and document path sections
View designer.html
<link rel="import" href="../components/polymer/polymer.html">
<polymer-element name="my-element">
:host {
position: absolute;
width: 100%;
height: 100%;
You can’t perform that action at this time.