Skip to content

Instantly share code, notes, and snippets.

View mbao01's full-sized avatar
🌍
Global Village

Ayomide Bakare mbao01

🌍
Global Village
View GitHub Profile
@mbao01
mbao01 / README.md
Created September 22, 2018 03:39 — forked from hofmannsven/README.md
My simply MySQL Command Line Cheatsheet
@mbao01
mbao01 / GitCommitEmoji.md
Created May 5, 2018 14:17 — forked from parmentf/GitCommitEmoji.md
Git Commit message Emoji
@mbao01
mbao01 / example.component.ts
Created April 12, 2018 18:39 — forked from gilhanan/example.component.ts
Example on how to achieve RxJS observable caching and storage in Angular 2+. Ideal for storing Http requests client side for offline usage.
import { Component, OnInit, OnDestroy } from '@angular/core';
import {Http} from "@angular/http";
import { LocalCacheService } from "./local-cache.service";
@Component({
selector: 'app-example',
templateUrl: './app.component.html',
styleUrls: ['./app.component.scss']
})
export class ExampleComponent implements OnInit, OnDestroy {
@mbao01
mbao01 / basic.md
Created June 1, 2017 19:49 — forked from zenorocha/basic.md
New Firebase Auth vs Old Firebase Auth
@mbao01
mbao01 / ContentProjection.ts
Created March 30, 2017 22:03 — forked from pietmichal/ContentProjection.ts
Angular 2.x - Template Outlet vs Content Projection
@Component({
selector: 'app',
template: `
<h1>Angular's content projection and lifecycle example</h1>
<app-content>
<app-nested-component></app-nested-component>
</app-content>
`,
})
export class App {}