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
class Animal { | |
name: string; | |
} | |
class Dog extends Animal { | |
bark() {}; | |
} | |
class Cat extends Animal { | |
meow() {}; |
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
/* | |
// file should be in ${workspaceRoot}/loaders/ | |
const path = require('path'); | |
webpackConfig = { | |
resolveLoader: { | |
modules: [ | |
'node_modules', | |
path.resolve(__dirname, 'loaders') |
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
# Adding this to .bash_profile updates the tab title when the directory changes | |
# can also manually name a tab eg: title FOOBAR | |
function title { | |
export TITLE_OVERRIDDEN=1 | |
PROMPT_COMMAND='' | |
echo -ne "\033]0;"$*"\007" | |
} | |
case "$TERM" in |
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
import {BrowserModule} from "@angular/platform-browser"; | |
import {NgModule} from "@angular/core"; | |
import {FormsModule, ReactiveFormsModule} from "@angular/forms"; | |
import {HttpModule} from "@angular/http"; | |
import {NgBootstrapFormValidationModule} from "ng-bootstrap-form-validation"; | |
import {AppComponent} from "./app.component"; | |
import {CUSTOM_ERRORS} from "./custom-errors"; | |
@NgModule({ | |
declarations: [ |
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
{ | |
"cookoff" : { | |
"complete" : true, | |
"criteria" : [ { | |
"name" : "Taste" | |
}, { | |
"name" : "Aftertaste" | |
}, { | |
"name" : "Aroma" | |
}, { |
NewerOlder