Skip to content

Instantly share code, notes, and snippets.

View triodesk's full-sized avatar

Triodesk triodesk

View GitHub Profile
@triodesk
triodesk / CSS.md
Last active August 28, 2017 17:17
CSS syllabus
  •   CSS Introduction
    
  •   CSS Syntax
    
  •   CSS Id & Class
    
  •   CSS Styling
    
  •   Styling Backgrounds
    
  •   Styling Text
    
  •   Styling Fonts
    
  •   Styling Links
    
  •   Styling Lists
    
  • Styling Tables
@triodesk
triodesk / HTML.md
Last active August 28, 2017 17:14
HTML syllabus

HTML Elements

Syllabus Covered (HTML)

  • Introduction of different Web Technology
    
  •   Introduction
    
  •   HTML Elements
    
  •   HTML Attributes
    
  •   HTML Headings
    
  • HTML Paragraphs
importScripts('https://www.gstatic.com/firebasejs/4.2.0/firebase.js');
// Initialize Firebase
var config = {
apiKey: "AIzaSyAe16AkNjKud_......",
projectId: "fcmtest-11c2f",
messagingSenderId: "32882833521"
};
firebase.initializeApp(config);
const messaging = firebase.messaging();
@triodesk
triodesk / child.component.ts
Created August 2, 2017 10:24
child for input decorator
import { Component, Input } from '@angular/core';
@Component({
selector: 'app-child',
templateUrl: './child.component.html',
styleUrls: ['./child.component.css']
})
export class ChildComponent implements OnInit {
@Input() parentVal: string;
constructor() { }