Skip to content

Instantly share code, notes, and snippets.

@zoltanarvai
zoltanarvai / dev.exs
Last active March 23, 2019 10:43
Dev configuration for Auth0
# Configure auth zero for the Auth module
config :orders,
auth0: %{
url: %URI{
host: "orders-sample.eu.auth0.com",
port: 443,
scheme: "https"
},
client_id: "6NeT3VHSzKK4mMXVq7BhSvAq0fUSUXUB",
client_secret: "9aAIvTnSL-09QyP-ttbxy9l0NavpyySHulTMTqUYpyfTG0Clt8qz1IEAcqN5spy6",
@zoltanarvai
zoltanarvai / gist:7a50c0cfec187e892436
Created January 23, 2015 13:52
Test code that uses Rx throttle() internally
(function () {
'use strict';
angular.module('adbrain.app.reporting').controller('ReportingV2Controller', ReportingV2Controller);
ReportingV2Controller.$inject= ['$scope', 'logger', 'advertisers', 'reportingV2Service'];
function ReportingV2Controller($scope, logger, advertisers, reportingV2Service) {
var vm = this;