Friday, 1 June 2018

How to add audio to a video file

Use AVIDemux. It's really quick and simple, and doesn't require reencoding of the video file so it's super fast! If you can't get that working, the free trial of AVS Video Editor 8.1 works fine. The only problem is a very small watermark in the center of the video which disappears after 60 seconds. Using this software does give you the benefit of more editing features like audio, text and transitions effects.

Monday, 3 April 2017

Fix: Protractor Expected Promise string bug

Protractor/Jasmine bug in Angular:


Fix by using:  expect<any>


How to fix 'router-outlet' is not a known element

When adding routing to an AngularCLI project you need to also update the startup test with the RouterTestingModule.

Failure to do so results in the following error when running ng test:

Here is the fix (click on the image to enlarge): 


Source code available here: