- 10x 47Ω
- 10x 100Ω
- 10x 150Ω
- 10x 330Ω
- 10x 680Ω
- 10x 1KΩ
- 10x 2.2KΩ
- 10x 4.7KΩ
Ever wondered how to build a custom webpack config for Angular? I did and I jsut stumbled upon this file in the repository https://github.com/manfredsteyer/ngx-build-plus which aims to help building multiple standalone Angular Elements.
I quickly spotted this part in the angular.json
which will replace the default browser build.
"architect": {
"build": {
"builder": "ngx-build-plus:build",
}
My bucket list for stuff around GDPR.
Really good and structured overview is given by ICO
- Privayc by design (see smashingmagazine article)
- GDPR is all about consent (see Recital 32), giving choices to the user
- Controller vs Processor
- Personally Identifiable Information (PII)
npm install -g @angular/cli@next
npm install @angular/cli@next
ng update @angular/cli --from=1 --migrate-only
ng update @angular/core@next --force
ng update @angular/cdk@next
Now with rc5:
Checklist for some errors I had in ng-packagr.
-
You need Typescript 2.6 to use submodules otherwise you get
module not found errors
ng-packagr/ng-packagr#677 -
Always use
ng serve --follow-symlinks
when linked locally otherwise you get injection errors -
Never rely on barrel files link directly or at least link directly to a barrel. Otherwise you will receive ERROR in : Unexpected value 'undefined' imported by the module [...] during the AOT building phase
Some nice things you can start learning from day one.
Angular, React & Vue. That's your set of skill which makes you versatile. Angular is very famous in Germany. React in the rest of the world and you can benefit from React twice when you dive into ReactNative.
The official Tutorials for all three frameworks are great. Goal: Try them for all of them so you can talk about those frameworks.
import { Observable } from 'rxjs/Observable'; | |
const translations: any = { | |
'stage_headline' : 'hello' | |
}; | |
class MappedDataLoader implements TranslateLoader { | |
getTranslation(lang: string): Observable<any> { | |
return Observable.of(translations); | |
} |
All files listed here were publicly accessible and are only formatted with the prettyify button in Google Developer Console.
Referring to: https://wordpress.org/support/topic/timber-vs-ob_startcallback-prevents-meta-output
- Running Wordpress with VVV https://github.com/Varying-Vagrant-Vagrants/VVV
- Resutls in: WP 4.5.2 (under http://local.wordpress.dev/)
- Default Theme activated by default: Twenty Fifteen
- Preview Sample Page: http://local.wordpress.dev/?page_id=2
Scope: | |
How to create a local project which should be use in another local project- as a library | |
. | |
+ Make it a local linked package, install it in your other project, enable the library option in webpack, builed it manually or with the watch option. | |
1. Use npm link to symlink your local module A into module B. So all your changes in module A are reflected immediately in module B | |
See here: https://docs.npmjs.com/cli/link | |
2. Make sure that your source module (A) is wrapped correctly by webpack so you can require it like any other library. | |
Use this: https://github.com/webpack/webpack/tree/master/examples/multi-part-library |