Skip to content

Instantly share code, notes, and snippets.

dfparker2002

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
@dfparker2002
dfparker2002 / .nifi on docker with flow persistance part1.md
Created Jan 18, 2020 — forked from mannharleen/.nifi on docker with flow persistance part1.md
current status: not using docker-compose. need to run nifi, registry and jupyter notebook under once container
View .nifi on docker with flow persistance part1.md

sOME sETUP:

ubuntu@ip-10-201-97-84:~/nifi-persisted/nouser$ ls
getnifi.sh  nifi-1.8.0  nifi-1.8.0-bin.zip  nifi-toolkit-1.8.0  nifi-toolkit-1.8.0-bin.zip  scripts

ubuntu@ip-10-201-97-84:~/nifi-persisted/nouser$ ls scripts/
common.sh  start.sh           toolkit.sh                          update_login_providers.sh
secure.sh  update_cluster_state_management.sh

ubuntu@ip-10-201-97-84:~/nifi-persisted/nouser$ cat getnifi.sh
@dfparker2002
dfparker2002 / README.md
Created Jan 18, 2020 — forked from pawndev/README.md
Apache Nifi docker-compose local test
View README.md

docker compose nifi

To launch this project, simply use the docker-compose cli

docker-compose up

Wait a couple of seconds, then execute the next command :

View bitnami-bitnami.conf
# Default Virtual Host configuration.
<IfVersion < 2.3 >
NameVirtualHost *:443
</IfVersion>
# Default SSL Virtual Host configuration.
<IfModule !ssl_module>
LoadModule ssl_module modules/mod_ssl.so
@dfparker2002
dfparker2002 / jquery-es6-example.md
Created Nov 20, 2019 — forked from mgol/jquery-es6-example.md
jQuery ES6 modules example usage
View jquery-es6-example.md

jQuery source is now authored using ES6 modules. It's possible to use them directly in the browser without any build process.

To test it locally, first clone the jQuery repository:

git clone git@github.com:jquery/jquery.git

Then, write the following index.html file:

@dfparker2002
dfparker2002 / microservices.md
Created Nov 15, 2019 — forked from remibantos/microservices.md
Microservices - Cheat sheet
View microservices.md

Microservices - Cheat sheet

Based on Microservices presentation by Martin Fowler recorded at GOTO Berlin 2014.

Common caracteristics

  1. Components (= independently upgradable, replaçable) communicating through services (instead of libs for monoliths)
  2. Organized around business capabilities
  3. Smart endpoints and dumb pipes. Routing logic is managed by end-points
  4. Decentralized data management. Each Microservice manages its own data
View neo4j_cypher_cheatsheet.md

Neo4j Tutorial

Fundamentals

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
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
* http://github.com/dantipa/
*/
(function(window, $, undefined){
/**
* Hooks into a given method
@dfparker2002
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
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) {
_self.doSomething(event);
});
// The new way (ES6)
this.element.addEventListener('click', (event) => {
this.doSomething(event);
});
@dfparker2002
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: https://docs.adobe.com/docs/en/htl/docs/block-statements.html#resource */-->
<!--/* 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' @
resourceType='about-project/components/content/c34-section-headline',
decorationTagName='span',
cssClassName='className'
}"></div>
<!--/* More about the decoration tag: https://docs.adobe.com/docs/en/aem/6-3/develop/components/decoration-tag.html */-->
You can’t perform that action at this time.