Posts by Badashi • 191 points
5 posts
-
0
votes2
answers832
viewsA: Iteration of array elements in Typescript - Angular 7
You stated gaugeValue component with the initial value of this.contaProducao, which at the time of construction is 0, however you never update this gaugeValue Also, just writing the function name in…
-
7
votes2
answers3151
viewsA: Check if an email exists or your email domain
Since not every email API supports checking the existence of a given email, there is probably no way to programmatically verify this. Some blogs suggest using telnet with the supposed email and…
-
2
votes1
answer60
viewsA: Problems with struch and functions in c
Its function Mostrar_Producao is all wrong, it’s amazing that you’re compiling: void Mostrar_Producao(PRODUCAO) { printf("Titulo.:%-30s\n", Nome); printf("Tipo.:%-30s\n", Tipo); printf("Ano de…
-
0
votes1
answer32
viewsA: Create a Python 3 file
import shutil shutil.copy2(src, dst) src and dst are paths, where src is the current and dst is the file copy path Doc: shutil Related answer: stackoverflow…
python-3.xanswered Badashi 191 -
0
votes3
answers94
viewsA: Because with Arrow functions the context is different from a common function?
Adding to the previous responses, you can use the method bind to determine the context of this for duties: rows.each((() => { total += parseInt($(this).find('td').eq(1).text()); }).bind(this));…
javascriptanswered Badashi 191