Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am benmagyar on github.
  • I am benmagyar (https://keybase.io/benmagyar) on keybase.
  • I have a public key whose fingerprint is 4949 76A7 FD56 482F 6DBD 77BD 98A6 542E 5982 66E9

To claim this, I am signing this object:

var app = angular.module('app', [
'ui.router',
'app.MyModule'
]);
// State provider from original app.js
app.config(function($stateProvider, $urlRouterProvider){
$urlRouterProvider.otherwise('/');
@BenMagyar
BenMagyar / index.js
Created June 3, 2014 02:46
requirebin sketch
var request = require('request');
var searches = [ { url: 'http://musicbrainz.tranquilbase.org/ws/2/release-group?query=' + 'test',
type: 'album' },
{ url: 'http://musicbrainz.tranquilbase.org/ws/2/artist?query=' + 'test',
type: 'artist' }
];
searches.map(function(search){
request(search.url + '&fmt=json&limit=5', function(error, response, body){