Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@zoltanarvai
zoltanarvai / mix.exs
Last active March 23, 2019 10:43
OrdersSample mix Setup
# Generate your sample application
# mix phx.new orders-sample --app orders --no-webpack --no-html
# Add this to your deps in mix config
[
{:guardian, "~> 1.2.1"}, # Guardian library
{:httpoison, "~> 1.5"} # We'll use it to make HTTP Requests to Auth0
]
@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;