docker inspect -f '{{range .NetworkSettings.Networks}}{{.IPAddress}}{{end}}' <containerName>
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
.type.storage,.type.storage.declaration, .storage.class.modifier { | |
font-family: 'Operator Mono Book'; | |
} | |
.type.storage.arrow.function { | |
font-family: 'Fira Code' | |
} | |
.token.keyword.operator { | |
font-family: 'Fira Code' |
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
npm test | gnomon -t elapsed-total -h 3 -m 1.5 |
These rules are adopted from the AngularJS commit conventions.
1.) npm i -D webpack-defaults
2.) Add webpack-defualts
to scripts
3.) Execute npm run webpack-defaults
Initial update checkpoint
- Babel outputs to
./dist
thefiles
field for an existing repo is all but guaranteed to be wrong and require updating. This should be documented unless there is a way to migrate existing files settings to incorporate thedist
output ( more trouble than it's worth imo) - Uses yarn,
yarn-debug.log*
needs to be ingored on update as well.
These rules are adopted from the AngularJS commit conventions.
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
stats: { | |
colors: true, | |
hash: true, | |
timings: true, | |
chunks: true, | |
chunkModules: false, | |
children: false, | |
modules: false, | |
reasons: false, | |
warnings: true, |
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
SELECT pg_terminate_backend(pid) | |
FROM pg_stat_activity | |
WHERE datname = 'regress' | |
AND pid <> pg_backend_pid() | |
AND state = 'idle' | |
AND state_change < current_timestamp - INTERVAL '1' MINUTE; |
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 { Injectable } from '@angular/core'; | |
import { | |
Http, | |
RequestOptions, | |
RequestOptionsArgs, | |
Response, | |
ConnectionBackend | |
} from '@angular/http'; | |
import { Observable } from 'rxjs/Observable'; |
#Comprehensive Introduction to @ngrx/store By: @BTroncone
Also check out my lesson @ngrx/store in 10 minutes on egghead.io!
Update: Non-middleware examples have been updated to ngrx/store v2. More coming soon!