Posts by Julio Negri Mirandola • 84 points
6 posts
-
0
votes1
answer1145
viewsA: I need to edit this javascript code to generate letters and numbers
I would create an array of all lowercase and uppercase alphabet letters. var alfabeto = ['a','b','c','d','e','f',...,'X','Y','Z']; And it would continue using its code only with the numbers…
-
2
votes3
answers279
viewsA: How to execute an insert only once via javascript/jQuery
I would use a logic for this, create a bool to see if it is already created, if you go through if once it becomes false and will no longer enter it Thus: var needToCreate = true; if…
-
-1
votes1
answer449
viewsA: Http request with angular 6
I started using Angular 6 not long ago but in this type of request use usually this way: func(objetoEnviado): Observable<TipoDoObjetoEnviado>{…
-
0
votes1
answer19
viewsQ: Function on of openlayers in Typescript
I’m learning to use openlayers along with Angular 6, but one of the OL event functions. on is not recognized by TS, has some other way to do it than in the conventional way?…
-
4
votes3
answers831
viewsA: SHA-1 with Typescript
I found a link from Github where there is a TS class with SHA-1, just add in the project and add the import of sha1 function that worked correctly. Link:…
-
0
votes3
answers831
viewsQ: SHA-1 with Typescript
I’m doing a project and I need to encrypt a password, I wanted to use the SHA-1, only I couldn’t find anywhere to use with Typescript, the TS supports the SHA-1?