All Questions

2
answers

How can I leave half of a side of an element curved inward as in the figure with css?

I need to make a menu exactly the same as the one in the figure, the problem is that I can not do the bottom curve of the element, preferably I would just do it with css, but if it does not, another solution is accepted.     
asked on 26.08.2015 / 13:50
3
answers

Help with Regex

Before asking I looked for several references, but I still do not understand much and managed to reach only to a certain extent. My goal is to validate that a specific string has 10 characters, the first two letters being uppercase, an...
asked on 27.01.2016 / 14:06
3
answers

Search word with file_get_contents

How can I use file_get_contents to search for the word "team" in the site and if it finds the word echo the word? <?php $content = file_get_contents( 'https://www.hostgator.com.br' ); $busca = 'equipe '; ?>     
asked on 17.11.2015 / 20:48
2
answers

What is the relationship between JPA and ORM?

I wanted to know the relationship between JPA and ORM because I was in doubt, if both, deal with the same subject.     
asked on 30.11.2015 / 22:07
3
answers

Javascript Timer

Well what I wanted was to do a 60 second timer. That would work as follows: Count 60 seconds in descending order 60,59,58, 57, etc ... and when it reached 0, pause at 0 for 3 seconds, and start all over again 60,59, 58 etc ... How can I do...
asked on 07.03.2016 / 19:17
3
answers

Private property set in an interface [duplicate]

I'm modeling a C # interface that has a property. However, I want to ensure that all classes that implement this interface keep the setter as private: public interface IBar { string Id { get; private set; } } This code does not comp...
asked on 21.08.2017 / 16:28
3
answers

Is there any way to display the string size in a MYSQL result?

Is there any way to display the string size in a MYSQL result? I need to, for example, know the size of a given string returned in a SELECT with group_concat . What I want would be something like this example: SELECT "nome",...
asked on 28.08.2015 / 18:53
2
answers

What is the difference between keywords extends and implements in java?

I would like to know when they should be used and how we can distinguish them. I know that basically implements means that this class implements a class or an interface. E extends will be able to access the methods of the base class.     
asked on 28.03.2017 / 13:05
5
answers

How to concatenate String within a loop of repetition?

I need to add some values in a string . How do I concatenate values in a string with a loop of repetition. Example: for($c=0; $c < $tam; $c++){ //concatenar sempre o valor $minhastring = $valor[$c].','; } That is, I need...
asked on 22.09.2015 / 13:43
3
answers

How to set the number of times setInterval will run?

Is it possible to control the number of runs of setInterval ? I made a very simple script where I wanted to div blink 3x to alert the user. But in the script I did it it blinks straight. <div id="my-div">alerta teste<...
asked on 23.11.2015 / 19:35