⌘T | go to file |
⌘⌃P | go to project |
⌘R | go to methods |
⌃G | go to line |
⌘KB | toggle side bar |
⌘⇧P | command prompt |
This file contains hidden or 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
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
##Resources
This file contains hidden or 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
// custom component event | |
// constants.ts | |
export const BLUE = '#b13138'; | |
export const RED = '#1976d2' | |
//color_picker_component.ts | |
import {Input, Output, EventEmitter} from "@angular/core"; | |
@Component({ |
Observable and reactive forms: http://blog.thoughtram.io/angular/2016/01/06/taking-advantage-of-observables-in-angular2.html#demos
Dependency Injection: http://blog.thoughtram.io/angular/2015/05/18/dependency-injection-in-angular-2.html
This file contains hidden or 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
/^(([^<>()\[\]\.,;:\s@\'']+(\.[^<>()\[\]\.,;:\s@\']+)*)|(\'.+\''))@(([^<>()[\]\.,;:\s@\'']+\.)+[^<>()[\]\.,;:\s@\'']{2,})$/i |
Facebook doesn't allow users to purchase "likes", our social network will have this.
Sponsor: to raise investments. Developer: to earn money by programming. Users: to share photos and purchase popularity. Bank: to make commission on every purchase. Government: to protect society against abusive content.
OlderNewer