This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
= Entitlements and Access Control Management | |
:neo4j-version: 2.2.0 | |
:author: Kenny Bastani | |
:twitter: @kennybastani | |
:description: Graph database access control, entitlements, authorization solutions | |
:tags: domain:finance, use-case:access-control | |
This interactive Neo4j graph tutorial covers entitlements and access control scenarios. | |
''' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const callerMap = {}; | |
function getCaller(error) { | |
if (error && error.stack) { | |
const lines = error.stack.split('\n'); | |
if (lines.length > 2) { | |
let match = lines[2].match(/at ([a-zA-Z\-_$.]+) (.*)/); | |
if (match) { | |
return { | |
name: match[1].replace(/^Proxy\./, ''), |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"database/sql" | |
"encoding/json" | |
"fmt" | |
"io" | |
"io/ioutil" | |
"net/http" | |
"time" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
if [ "$1" == "" ]; then | |
echo "Usage: $0 <PROJECT_ROOT> <GITHUB_REPO>" | |
exit 1 | |
fi | |
if [ "$2" == "" ]; then | |
echo "Usage: $0 <PROJECT_ROOT> <GITHUB_REPO>" | |
exit 1 | |
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<section> | |
<section id="kubernetes-hands-on"> | |
<h1>Kubernetes Zone</h1> | |
<h1>Hands-On Workshop</h1> | |
<br/> | |
<p><a href="https://www.eventbrite.com/e/kubernetes-zone-workshop-andor-reception-tickets-32538282880">Kubernetes Zone - April 17, 2017</a></p> | |
<p><a href="http://bit.ly/k8s-zone">bit.ly/k8s-zone</a></p> | |
</section> | |
<section data-state='blackout' data-background-color="#000000" id='presented-by'> | |
<p>presented by…</p> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import boto.ec2.cloudwatch | |
import sys | |
import os | |
AWS_KEY = os.environ.get("AWS_ACCESS_KEY_ID") | |
AWS_SECRET = os.environ.get("AWS_SECRET_ACCESS_KEY") | |
AWS_REGION = os.environ.get("AWS_EC2_REGION", "us-east-1") | |
TOPIC = 'YOUR_TOPIC' | |
def create_status_alarm(instance_id): |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /usr/bin/env python | |
import redis | |
import random | |
import pylibmc | |
import sys | |
r = redis.Redis(host = 'localhost', port = 6389) | |
mc = pylibmc.Client(['localhost:11222']) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
angular.module('app.resources', ['ngResource']) | |
.factory('api', function ($resource) { | |
var api = { | |
defaultConfig : {id: '@id'}, | |
extraMethods: { | |
'update' : { | |
method: 'PUT' | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- coding: utf-8 -*- | |
# This script is used to combine PHP source files together into one big glob. | |
# I wrote this so I could distribute a single file web application, but develop | |
# it in a sane fashion. | |
# Copyright (c) 2010, John M. Hobbs | |
# All rights reserved. | |
# | |
# Redistribution and use in source and binary forms, with or without modification, |
NewerOlder