Open in app
Home
Notifications
Lists
Stories

Write
Thabo Ambrose
Thabo Ambrose

Home
About

Published in Motf Creations

·Pinned

Migrate from CSS to SCSS stylesheets for an existing Angular application

A quick guide to using SCSS in an Angular application that was scaffolded to use the default stylesheet format. You might have forgotten to provide the style=scss flag or maybe you didn’t know that it existed when you were generating a new Angular application using the Angular CLI, and now…

Java Script

5 min read

Migrate from CSS to SCSS stylesheets for existing Angular application
Migrate from CSS to SCSS stylesheets for existing Angular application

Published in Motf Creations

·Oct 8, 2021

Exploring the difference between disabling a form control through reactive forms API and HTML attributes

Having parts of a form disabled is a common requirement for any large application. Sometimes users must be prevented from interacting with a form based on their role in an application; an input field can also be disabled because its value is pre-populated and no user input is required. In…

Angular

7 min read

Exploring the difference between disabling a form control through reactive forms API and HTML…
Exploring the difference between disabling a form control through reactive forms API and HTML…

Sep 25, 2021

A Basic Guide to the Methodology of Data Modeling for MongoDB

MongoDB offers many solutions to the same problem This article is merely a quick reference guide to key considerations when modeling a database for MongoDB, this article can also be useful for modeling any other non-relational or document database; this article does not delve deep into what MongoDB is. The Document Model Data as Key/Value pairs and Polymorphism In…

Mongodb

9 min read

A Basic Guide to the Methodology of Data Modeling for MongoDB
A Basic Guide to the Methodology of Data Modeling for MongoDB

Published in Motf Creations

·Jan 31, 2021

Implementing reusable and reactive forms in Angular

In this article we will learn about two ways to implement reactive and reusable forms that have the capability to be used as sub-forms and also be used as standalone forms. I assume you know what forms are and you have worked with Angular reactive forms. We will look at…

Code

4 min read

Implementing reusable and reactive forms in Angular
Implementing reusable and reactive forms in Angular

Nov 18, 2020

How to interpolate Sass variables on CSS custom variables/properties

This is just a quick writing exercise about CSS & Sass variables, its not meant to teach but it can teach you something, I will not cover what CSS and Sass are. A property name prefixed with double dashes like below is a CSS custom property that can be reused…

CSS

2 min read

How to interpolate Sass variables on CSS custom variables/properties
How to interpolate Sass variables on CSS custom variables/properties

How to interpolate Sass variables on CSS custom variables/properties

This is just a quick writing exercise about CSS & Sass variables, its not meant to teach but it can teach you something, I will not cover what CSS and Sass are.

A property name prefixed with double dashes like below is a CSS custom property that can be reused…

--

--


Published in Motf Creations

·Jul 29, 2020

Angular Universal: ReferenceError: window is not defined

This error can be caused by a reference to the Window object if you are rendering your application from a server like Node.js. I will share how I have solved this issue, in my case this was caused by HammerJS which does not support server-rendered applications. This error can also…

Angular

5 min read

Angular Universal: ReferenceError: window is not defined
Angular Universal: ReferenceError: window is not defined

Mar 24, 2020

I believe I will live after my death

Why? Because I often appreciate being here on earth and that tells me my consciousness will continue existing and maybe miss being here or maybe not.

Life

1 min read

I believe I will live after my death
I believe I will live after my death

Feb 8, 2020

Ubuntu installation: No root file system is defined.

On a new SSD drive laptop, I got this error on the Installation type step I could not manage the disk because when clicking the continue button the window freezed, I could only see dev/sda on the drop-down. The steps I took to solve this were: Get into Windows safe mode by opening CMD as admin and entered command bcdedit /set safeboot minimal Restart and boot into BIOS Changed SATA operation mode from RSD (I think this was the “RAID” I was seeing while searching for a solution)to AHCI

Windows

1 min read


Dec 6, 2019

Adding TypeScript to an existing Vue CLI project.

I thought having a type system especially for the Vuex store files for TechRelief would make coding in the project efficient r I wanted to map the entity’s different states/stores in the code and the collections on Firebase I am new to Vue’s echo system, but since it uses JavaScript…

Java Script

3 min read

Adding TypeScript to an existing Vue CLI project.
Adding TypeScript to an existing Vue CLI project.

Oct 2, 2019

Use custom date-time format for AJV schema validation

Your date-time values might not confirm to the ISO 8601 format, now your schema validations using the AJV NPM package are failing because of that, you might realize this very late when the correction would require a lot of changes in your code base(That’s why it is good to DRY). …

Programming

2 min read

Use custom date-time format for AJV schema validation
Use custom date-time format for AJV schema validation
Thabo Ambrose

Thabo Ambrose

Stargazer

Following
  • Som Dutt

    Som Dutt

  • Tim Denning

    Tim Denning

  • Erik Brown

    Erik Brown

  • Alex Mathers

    Alex Mathers

  • Sean Kernan

    Sean Kernan

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Knowable