Skip to content

Instantly share code, notes, and snippets.

View sandangel's full-sized avatar
🎯
Improving my workflow

San Nguyen sandangel

🎯
Improving my workflow
View GitHub Profile

RECIPE FOR ANGULAR INTERVIEWS:

1st Round: 1 hour max interview over phone or video conference, get to know the individuals background, ask trivia questions about Angular and JavaScript. i.e. What is the difference between a Component and Directive? How does inheritance work in the context of JavaScript?

2nd Round: Take Home Test 4-6 hour max time. Code an Angular application that has to deal with the following: Injectable, Component, Directive, Pipe and have the app make a Http Request and display some data in the View.

3rd Round: In Person or Remote. Ask the candidate to review the app, then make a change the client has requested. Watch how the candidate solves the problem, how it effects the architecture of the app.

4th Round: In Person. Invite the candidate in to get to know the team. You’ve already vetted thier knowledge, but have at least 1-2 sessions where the interviewer asks the candidate to architect a solution in Angular. No coding, just how would they solve the problem (on a whiteboard). Have

@sandangel
sandangel / data-channel.config.ts
Created May 11, 2018 07:43 — forked from steveblue/data-channel.config.ts
WebRTC DataChannel Angular Service
let uuid = function() {
return 'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'.replace(/[xy]/g, function(c) {
let r = Math.random() * 16 | 0, v = c === 'x' ? r : ( r & 0x3 | 0x8 );
return v.toString(16);
});
};
let defaultRoom = function() {
let text = '';
@sandangel
sandangel / handleHttpClientError.ts
Last active March 9, 2018 15:57
Show toast to get user response with error message in Angular HttpClient interceptor
return next.handle(req).pipe(catchError((err, original) => {
return showToast(err.error).pipe(concatMap(toastResult => toastResult ? original : throw(err)));
});
hci setting filter to: 1600000020c10000000000400000 +0ms
hci set event mask - writing: 01010c08fffffbff07f8bf3d +17ms
hci set le event mask - writing: 010120081f00000000000000 +8ms
hci read local version - writing: 01011000 +1ms
hci write LE host supported - writing: 016d0c020100 +0ms
hci read LE host supported - writing: 016c0c00 +1ms
hci read bd addr - writing: 01091000 +1ms
hci onSocketData: 040e0402010c00 +7ms
hci event type = 4 +1ms
hci sub event type = 14 +1ms