The ethos part, which wins you the "interest and the good will of the audience," as Cicero puts it. (He calls this section the exordium.)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import * as userActions from '../actions/user'; | |
import * as skillActions from '../actions/skill'; | |
export interface State { | |
user: { | |
isPro: boolean; | |
skills: any[]; | |
id; | |
cards: any[]; | |
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"legal_entity.address.city": "CA", | |
"legal_entity.address.line1": "56 Bridgeport Street", | |
"legal_entity.address.line2": "", | |
"legal_entity.address.postal_code": "92629", | |
"legal_entity.address.state": "California", | |
"legal_entity.dob.day": 26, | |
"legal_entity.dob.month": 8, | |
"legal_entity.dob.year": 1992, | |
"legal_entity.ssn_last_4": 0000, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { Injectable } from '@angular/core'; | |
import { Effect, Actions } from '@ngrx/effects'; | |
import { Action } from '@ngrx/store'; | |
import { Observable } from 'rxjs/Observable'; | |
import { Scheduler } from 'rxjs/Scheduler'; | |
import { of } from 'rxjs/observable/of'; | |
import { handleError } from './handleError'; | |
import { GithubService } from '../services/github.service'; |
Your company runs on a private network. Your employees access that network from home using a VPN. Every day your company relies on that connection to keep your data safe.
Web: The public web is the collection of sites that start have a www
prefix.
VPN: The private network that your company firewalls it's sensitive data behind.
Browser Application: Any application that runs in a web browser such as Chrome, Internet Explorer, Edge, and Firefox.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export const environment = { | |
production: false, | |
apiUrl: 'http://localhost:1337' | |
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { Injectable } from '@angular/core'; | |
import { Http, Response } from '@angular/http'; | |
import { environment } from '../environments/environment'; | |
@Injectable() | |
export class SkillsService { | |
constructor(private http: Http) { } | |
getSkills() { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { Injectable } from '@angular/core'; | |
import { Http, Response } from '@angular/http'; | |
@Injectable() | |
export class SkillsService { | |
constructor(private http: Http) { } | |
getSkills() { | |
return this.http.get('localhost:3000/skill/'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { Component, OnInit } from '@angular/core'; | |
import { UserService } from './user.service'; | |
@Component({ | |
selector: 'app-root', | |
templateUrl: './app.component.html', | |
styleUrls: ['./app.component.css'] | |
}) | |
export class AppComponent implements OnInit { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { Injectable } from '@angular/core'; | |
import { Http, Response } from '@angular/http'; | |
import { Observable } from 'rxjs/Observable'; | |
import 'rxjs/add/operator/catch'; | |
import 'rxjs/add/operator/map'; | |
@Injectable() | |
export class UserService { | |
private usersUrl = 'https://jsonplaceholder.typicode.com/users'; |