Skip to content

Instantly share code, notes, and snippets.


Block or report user

Report or block dfparker2002

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

Neo4j Tutorial


Store any kind of data using the following graph concepts:

  • Node: Graph data records
  • Relationship: Connect nodes (has direction and a type)
  • Property: Stores data in key-value pair in nodes and relationships
  • Label: Groups nodes and relationships (optional)
dfparker2002 / Function hook
Created Jun 6, 2019 — forked from visiongeist/Function hook
This plugin hooks into an existing jQuery function and calls a user defined function after a jQuery function was called.
View Function hook
* Function hook jQuery plugin
* version 1.0
* author: Damien Antipa
(function(window, $, undefined){
* Hooks into a given method
dfparker2002 / curve-example.png
Created Jun 6, 2019 — forked from kevinweber/curve-example.png
d3.js: Custom curve with rounded steps. Based on d3.curveStep.
dfparker2002 / this.js
Created Jun 6, 2019 — forked from kevinweber/this.js
JavaScript: Ways to use `this` in callback function
View this.js
// The old way (before ES6)
var _self = this;
this.element.addEventListener('click', function (event) {
// The new way (ES6)
this.element.addEventListener('click', (event) => {
dfparker2002 / example.html
Created Jun 6, 2019 — forked from kevinweber/example.html
AEM: Include another resource + modify tag and class name #data-sly-resource
View example.html
<!--/* More: */-->
<!--/* By default, the AEM decoration tags are disabled, the decorationTagName option allows to bring them back, and the cssClassName to add classes to that element. */-->
<div data-sly-resource="${'headline' @
<!--/* More about the decoration tag: */-->

AEM 6.2 Authoring Editor to Site messaging API


 * @param group {String} group identifier name
 * @param [targetWindow=window.parent]
 * @param [origin='*']
 * @constructor
dfparker2002 /
Created Jun 6, 2019 — forked from kevinweber/
Collection of AEM Links, Commands & Tips / Cheat Sheet

Web Consoles & Tools

dfparker2002 /
Created Jun 6, 2019 — forked from knennigtri/
Useful JCR Locations for AEM Templates and components
dfparker2002 / examples.sql2
Created Jun 6, 2019 — forked from frieder/examples.sql2
JCR-SQL2 examples (AEM6)
View examples.sql2
Find all videos below a specific DAM path
SELECT * FROM [dam:Asset] AS asset
WHERE ISDESCENDANTNODE(asset, '/content/dam')
AND asset.[jcr:content/metadata/dc:format] LIKE 'video/%'
Find all pages with a specific template and an alias
dfparker2002 / table-summary-rte.js
Created Jun 6, 2019 — forked from rogerblanton/table-summary-rte.js
A sample of how to modify an existing RTE Plugin
View table-summary-rte.js
(function ($) {
"use strict";
var _ = window._,
Class = window.Class,
CUI = window.CUI,
EAEM_TABLE = null,
COLUMN_CONTAINER = ".coral-RichText-dialog-columnContainer",
SUMMARY_SEL = ".coral-RichText-dialog--tableprops textarea[data-type=\"summary\"]",
SUMMARY_HTML = '<div class="coral-RichText-dialog-columnContainer">'
You can’t perform that action at this time.