Skip to content

Instantly share code, notes, and snippets.

View abhilive's full-sized avatar

Abhishek Srivastava abhilive

View GitHub Profile
var isPublic = typeof window != "undefined";
(function(global) {
// map tells the System loader where to look for things
var map = {
'app': 'app', // 'dist',
'@angular': (isPublic)? '@angular' : 'node_modules/@angular',
'rxjs': (isPublic)? 'rxjs' : 'node_modules/rxjs'
};
// packages tells the System loader how to load when no filename and/or no extension
https://code.tutsplus.com/tutorials/authenticating-nodejs-applications-with-passport--cms-21619
Working on this :
http://www.bogotobogo.com/MEAN-Stack/MEAN-Stack-MongoDB-ExpressJS-AngularJS-NodeJS-Authentication-Passport-App.php
Working on this :
https://scotch.io/tutorials/easy-node-authentication-setup-and-local
https://github.com/nax3t/angular-express-passport-tutorial
@abhilive
abhilive / iris.data
Last active November 11, 2016 14:10
Example of kNN implemented from Scratch in Python
5.1,3.5,1.4,0.2,Iris-setosa
4.9,3.0,1.4,0.2,Iris-setosa
4.7,3.2,1.3,0.2,Iris-setosa
4.6,3.1,1.5,0.2,Iris-setosa
5.0,3.6,1.4,0.2,Iris-setosa
5.4,3.9,1.7,0.4,Iris-setosa
4.6,3.4,1.4,0.3,Iris-setosa
5.0,3.4,1.5,0.2,Iris-setosa
4.4,2.9,1.4,0.2,Iris-setosa
4.9,3.1,1.5,0.1,Iris-setosa