Skip to content

Instantly share code, notes, and snippets.

@efthemiosprime
efthemiosprime / mock.js
Created Mar 22, 2021
gMG Experience mock data
View mock.js
const mock = [
{
id: 0,
chapter: 'HOME',
items: [
{
chapter: 0,
timestamp: 0
},
]
View multifield_without_sling_model.html
<header class="cmp-header">
<div class="gmg-section-wrapper gmg-row gmg-gutter">
<div class="gmg-header-logo gmg-col gmg-col-2">
<a href="${properties.logoURL}.html">
<img src="${properties.fileReference @context = 'html'}" alt="gMG CYCLE" />
</a>
</div>
<nav class="gmg-menu-container gmg-col gmg-col-14" >
View aem_build_error.txt
[INFO] Reactor Summary for aem-argenx-project 0.0.2-SNAPSHOT:
[INFO]
[INFO] aem-argenx-project ................................. SUCCESS [  0.304 s]
[INFO] Argenx - Core ...................................... SUCCESS [  5.634 s]
[INFO] aem-argenx-project.ui.frontend - UI Frontend ....... FAILURE [  9.652 s]
[INFO] Argenx - Repository Structure Package .............. SKIPPED
[INFO] Argenx - UI apps ................................... SKIPPED
[INFO] Argenx - UI content ................................ SKIPPED
[INFO] Argenx - All ....................................... SKIPPED
[INFO] Argenx - Integration Tests Bundles ................. SKIPPED
View cycle.swift
class Employee {
var manager: Employee?
var reports: [Employee] = []
}
let hulio = Employee()
hulio.reports = [Employee(), Employee(), Employee()]
hulio.reports.forEach{ $0.manager = hulio}
View swipe.js
import Rx from "rxjs";
import r from "ramda";
export class Swipe {
constructor(dom) {
let xDown = null;
let yDown = null;
this.observer = new Rx.Subject();