create different ssh key according the article Mac Set-Up Git
$ ssh-keygen -t rsa -C "[email protected]"
create different ssh key according the article Mac Set-Up Git
$ ssh-keygen -t rsa -C "[email protected]"
I have moved this over to the Tech Interview Cheat Sheet Repo and has been expanded and even has code challenges you can run and practice against!
\
| var Middleware = function() {}; | |
| Middleware.prototype.use = function(fn) { | |
| var self = this; | |
| this.go = (function(stack) { | |
| return function(next) { | |
| stack.call(self, function() { | |
| fn.call(self, next.bind(self)); | |
| }); |
| import { AfterViewInit, Directive, ElementRef, NgZone, OnDestroy } from '@angular/core'; | |
| import { NavigationEnd, NavigationStart, Router } from '@angular/router'; | |
| import { Subscription } from 'rxjs/Subscription'; | |
| import { ScrollTrackerService } from './scroll-tracker.service'; | |
| @Directive({ | |
| selector: '[scrollTracker]' | |
| }) | |
| export class ScrollTrackerDirective implements AfterViewInit, OnDestroy { |