Material – pass directive to child component

I use the Stapler material, and I need to pass a custom directive to the component, to access the properties of the element by app directive. I tried to write: <mat-vertical-stepper labelPosition=”bottom”> <mat-step *ngFor=”let step of steps” [label]=”step” customDirective></mat-step> </mat-vertical-stepper> But the resulat HTML is: <div class=”mat-step-text-label ng-star-inserted”>Step</div> Without my directive. How can I do…

Details

‘utf-8’ codec can’t decode byte 0x93 in position 928: invalid start byte

So i’m trying to upload a text file in google collab and I keep getting this error. Any help would be appreciated. Here’s the code: !pip install pronouncing !pip install markovify from google.colab import files import markovify import pronouncing uploaded = files.upload() for fn in uploaded.keys(): text = uploaded[fn].decode() for i in range(10): print(text_model.make_short_sentence(50)) Here’s…

Details

How to restart apache2 server

I’m unable to run sudo service apache2 restart on my sever. Inorder to troubleshoot this when I execute sudo systemctl status apache2.service and I get the following log. Loaded: loaded (/lib/systemd/system/apache2.service; enabled; vendor preset: enabled) Drop-In: /lib/systemd/system/apache2.service.d └─apache2-systemd.conf Active: failed (Result: exit-code) since Sat 2019-12-07 13:04:25 UTC; 7min ago Process: 17357 ExecStart=/usr/sbin/apachectl start (code=exited, status=1/FAILURE)…

Details

What are the differences between the versions on lubuntu download page?

I can see these options on the lubuntu download page: lubuntu Desktop 32-bit/64-bit lubuntu Desktop PowerPC lubuntu Alternate 32-bit/64-bit lubuntu Alternate PowerPC I need to install lubuntu on four different laptops and one PC, and I need to know difference between the versions. I’d rather not make a mistake installing wrong version and then have…

Details