All Questions

1
answer

Is it possible to put 3 colors on a button?

I need to divide the button into 3 "equal pieces" and each piece has a different color.  For example, a button with the colors Blue, Green and Red, each occupying 33.3% of space. How to do this?     
asked on 08.10.2017 / 04:41
3
answers

What is the difference between the LOCATE and INSTR functions?

The description of the function LOCATE , in free translation, is: Returns the position of the first occurrence of substring. The description of the function INSTR , in free translation, is: Returns the index of the first occurrenc...
asked on 18.05.2017 / 20:29
1
answer

What are the main characteristics of the Go language?

I started to hear a lot about GoLang and it is increasingly gaining ground among the most used programming languages. As far as I know, I think it's a programming language. So, What are the key features? Can I program and run on any o...
asked on 08.08.2017 / 17:04
2
answers

Routes Laravel 5.3

Good afternoon people, I noticed that Laravel 5.3 has a new folder "Route", with the routes. By default it uses web.php I would like to know how I can do to create other routes without being inside the web.php, I would like to separate it lik...
asked on 22.09.2016 / 20:33
2
answers

How to properly position the labels in the barplot?

I can not correctly position the names in an R barplot because they are too long. My data looks like this: Thenamesendupappearingthisway: fator_tecnologico_labels <- c( "Facilidade de testar\n e de ser avaliado\n por usuários\n de um m...
asked on 14.01.2014 / 19:09
2
answers

Support for users who do not use Javascript is running out?

Yes, of course it's important, but I see a lot of sites that just do not work if JavaScript is turned off. It's more for the sake of curiosity, but nowadays it's almost mandatory to use JavaScript on a large site, so the habit of "user support t...
asked on 03.04.2015 / 01:39
2
answers

Relationship N for N and One for N with CodeFirst Data Annotations

How can I make the N to N and N to N relationships using Data Annotations? For example: A sales move has a user, and a user can have multiple moves. This same sales movement has several products, and each product can be in several movem...
asked on 21.06.2014 / 03:35
2
answers

MySQL = MariaDB?

For some days I've been teaching the teacher saying:    Oracle bought MySQL and just renamed it to MariaDB . As I am not easy to believe in the things spoken, I went to research on the subject and for the little that I read,...
asked on 21.02.2018 / 13:28
2
answers

Why assign NULL on a pointer after a free?

I see in many codes assigning NULL to a pointer just after a free , type: free(p); p = NULL; What would be the advantage of this?     
asked on 05.06.2018 / 15:10
2
answers

How to access the print screen image?

When we press the Print Screen key on our keyboard, the screen image is saved in some memory cache, somewhere, because when we give Ctrl V after, in Paint for example it apararece, how to access the location and "catch" the image from ther...
asked on 05.05.2014 / 14:04