All Questions

2
answers

What does "re:" and "im:" mean in Rust?

I want to know what re and im mean / do let mut z = Complex { re: 0.0, im: 0,0 }; I'm learning Rust from the Programming Rust book, and this re: and im: should have already appeared before, but just now I've both...
asked on 03.12.2018 / 13:53
2
answers

How to use C # quotes?

I'm starting to program in C # and I'm having some difficulties with the quotation marks when I need to paste some text. In Python I could use the triple quotation marks to paste some text that there was a line break, already in C # I have no id...
asked on 15.11.2018 / 13:43
3
answers

Should I use routes or controllers in Laravel 4?

I'm a beginner in Laravel and I have questions about using controllers , I read several examples / tutorials and I see the vast majority use the routes for example for a form request , to display pages, even database queries. I'm developin...
asked on 25.12.2013 / 16:54
2
answers

How to do 3D Text with CSS

Is there any way to get this result with CSS only? Do a kind of 3D effect in text breads with CSS? Type the image below? body { background-color: #880000; } h1 { color: #fff; font-size: 100px; font-family: sans-s...
asked on 04.10.2018 / 20:06
4
answers

Modified disabled button using firebug

Imagine that in an HTML I have a button disabled. I can very well use Firebug to enable this button and thus do the submission. The question is: is there any way I can disable this button and not allow this submission even when I modify the...
asked on 13.02.2014 / 18:20
4
answers

How do I send transactional e-mail to AWS?

I use an Ubuntu server in AWS and I can not run the PHP mail () function. Do I need to install something on the server or configure something in the AWS Console?     
asked on 29.01.2014 / 21:08
2
answers

Is the attribute of a label element good for something?

I see several code examples where the "for" attribute is set to labels. But in practice, whether or not this attribute influences something on the page? Ex: <label for="male">Male</label> <input type="radio" name="gender"...
asked on 02.05.2018 / 20:54
2
answers

How to make a constant object in JavaScript

How do I declare a constant object in JavaScript? For example: /* meu código */ object_teste = {valor:5} /* console navegador */ object_teste.valor=10; console.log(object_teste.valor) // aqui ele me retorna 10 ao invés de 5 How to leave t...
asked on 12.03.2014 / 20:57
3
answers

Error in a simple SELECT with Group By - SQL Server

I'm trying to do the following SELECT: SELECT P.Nome,P.TipoId,P.QuantidadeMensal FROM StockPhotos.Pacote P GROUP BY P.QuantidadeMensal; However, I'm getting this error message:    Message 8120, Level 16, State 1, Line 2       Co...
asked on 06.08.2018 / 21:39
3
answers

Convert string to MYSQL integer

What command can I use to convert string to integer in mysql? for example: I'm doing the following list of tables: SELECT mov . * , prod.produto, prod.unidade, prod.icms, prod.ipi, prod.codigo FROM movimentacao AS mov, produtos AS prod WHER...
asked on 25.04.2014 / 17:35