Quantcast
Channel: User Hamfri - Stack Overflow
Browsing all 42 articles
Browse latest View live
↧

Comment by Hamfri on Run intermediate CA with TLS enabled: connection to root...

Please rephrase your question. It's not possible to understand what you mean.

View Article


Comment by Hamfri on Pagination with Search Filter in CodeIgniter

What version of PHP are you using? As of PHP 7.2 method count will throw an error if you try to use it on an unset variable.

View Article


Comment by Hamfri on Type 'null' is not assignable to type 'T'

@JonasStensved did you check what number two does? I don't encourage removing checks and that is why I included solution two as well.

View Article

Comment by Hamfri on Apache could not be started - ServerRoot must be a valid...

Please add an example path.

View Article

Comment by Hamfri on "make_sock: could not bind to address [::]:443" when...

Are you able to use https if you comment this line?

View Article


Comment by Hamfri on How do you use the PHP OpenPGP library?

How do you use this library if you download it using composer require singpolyma/openpgp-php ?

View Article

Comment by Hamfri on openpgp-php can't decrypt cipher text from other clients

All the keys used are dummy keys meant for this question specifically.

View Article

Comment by Hamfri on Angular 9 share ngx-translations with a custom angular...

@brando I didn't find a solution.

View Article


Comment by Hamfri on Angular 2+ attach directive from component dynamically

Thanks so much. I struggled with a similar issue for two days until I came across your answer.

View Article


Comment by Hamfri on Yii2 Gii Forbidden code 403 You are not allowed to...

Thanks, I was struggling with this when trying to access gii while running development server on docker

View Article

Comment by Hamfri on How to seed database in yii2?

What is the purpose of that for loop? I don't see you using it anywhere. If you call a model outside a loop it will only create one record in the database.

View Article

Comment by Hamfri on Easy Admin does not show the relationships

This answers an issue you will only experience when reading symfony.com/doc/current/the-fast-track/en/9-backend.html. Thanks though

View Article

Comment by Hamfri on Traefik with docker backend leads to bad gateway

I was also redirecting my traffic to localhost instead of mapping it to the docker network shared by the containers. You saved me a big deal. Thanks.

View Article


Comment by Hamfri on Angular 13 Directive viewContainerRef.createComponent...

This would have worked in prior versions of angular but since ComponentFactoryResolver is deprecated you have to use ViewContainerRef.

View Article

Comment by Hamfri on Running jest in angular13: Unexpected value...

Thanks a lot. This helped me fix a couple of failing tests on jest 28 and angular 15. I am using some legacy libs which are not ivy compatible like @angular-slider/ngx-slider hence all my tests were...

View Article


N/A" is not yet installed">Answer by Hamfri for nvm: N/A: version "N/A -> N/A" is not yet installed

I faced the same issue when i used nvm to install node 12 and node 10. To fix this i used the command:nvm alias default node

View Article

Answer by Hamfri for VSCode single to double quote automatic replace

I had the same issue in vscode. Just create a .prettierrc file in your root directory and add the following json.For single quotes add:{"singleQuote": true}For double quotes add: {"singleQuote": false }

View Article


Answer by Hamfri for How to add Authorization Header to Angular http request?

The following example would fit a situation where you only want some headers added only when accessing resources that require authorization see code below. Kindly note that you need create the getToken...

View Article

Answer by Hamfri for How can I set max length of Hashids?

You can easily set the min_length of a hashid but it gets trickier setting the max_length as this would require setting a minimum length on the integer passed. Please avoid doing so in production...

View Article

Answer by Hamfri for Angular Validation Error as 'ngClass' since it isn't a...

Ensure that the component is imported and added to declarations array in app.module.ts as shown below:import { BrowserModule } from '@angular/platform-browser';import { NgModule } from...

View Article
Browsing all 42 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>