Skip to content

Instantly share code, notes, and snippets.

View thomgre's full-sized avatar
:octocat:

Thomas thomgre

:octocat:
View GitHub Profile
@thomgre
thomgre / datasource.ngrx.ts
Created March 6, 2018 09:53
Material DataSource with ngrx
export class ExampleDataSource extends DataSource<Example> {
filterChange = new BehaviorSubject('');
constructor(private examples$: Observable<Example[]>) {
super();
}
get filter(): string {
return this.filterChange.value;
}
@thomgre
thomgre / settings.json
Last active June 9, 2017 09:54
My VSCode settings (Linux)
// Place your settings in this file to overwrite the default settings
{
"search.exclude": {
"**/node_modules": true,
"**/bower_components": true,
"**/public": true,
"**/dist": true,
"**/coverage": true
},
"editor.minimap.enabled": true,