Wednesday, September 5, 2018

Default Angular 6 (and earlier) doesn’t support Internet Explorer 11 (IE11) by default

It is actually something that was apparently planned.

In order to resolve this issue, just open polyfills.ts and uncomment the relevant section.

For me it was:

image

Saturday, June 2, 2018

iPhone is not recognized by Windows 10 1803 April 2018 Update

After an update to 1803 iPhone 6S+ was not visible in the Windows Explorer.

Device manager showed driver unrecognized.

All the Apple support articles suggested updating drivers, etc.., but nothing helped.

For example:

1. This one

2. And this

3. And this

I’ve lost all hope, but then Firefox (I’m giving it a new chance to replace Chrome) suggested to download and install Media Feature Pack from Microsoft to improve video playback.

Miraculously, after a reboot, my iPhone was recognized.

Sunday, May 27, 2018

Git – merging conflicts

git commit -am <message>       # add & commit your local changes
git pull origin master         # pull the latest codes
git status                     # see the files that have conflicted (untracked files)

# If you want to keep your changes then
git checkout . --ours

# Or, if you want to keep remote changes
git checkout . --theirs
git commit -am <message>           # add & commit with a new message
git push origin master             # push to remote  

source: https://stackoverflow.com/a/40800624/260238

Angular (First Blood) Resources


https://cli.angular.io/ – Angular CLI

https://update.angular.io/ – a wizard for upgrading Angular Versions

https://material.angularjs.org – Angular Material (also a nice guide here: https://medium.com/@tomastrajan/the-complete-guide-to-angular-material-themes-4d165a9d24d1)