All Questions

1
answer

How to search for a character in a set of javascript strings

I have a set with certain strings, it's a vector, I need to do character searches in this set. Case: Be V my set of strings contemplated by: ["ana", "paula", "cris", "voa", "karmanguia"]; Be P my search, I want to c...
asked on 15.09.2017 / 15:12
1
answer

Linux image in Docker?

I'm trying to understand the concept of Docker but it's still kind of confusing for me. Docker would be an image generator / emulator that can be managed in the cloud? If so, I believe I understand. But the point is, if it's really that,...
asked on 06.09.2017 / 16:28
1
answer

What is and what is the structure sockaddr_in?

Lately I've been wanting to program a network sockets in C ++, but since the materials on the internet are a bit limited, I only show how to program the sockets without explaining in more detail the use of each function. I ended up getting lost...
asked on 26.09.2017 / 23:51
1
answer

Blade OR syntax within the Laravel Collective input value

The following input works normally, but when I move it to the Laravel Collective syntax, it says that the $servico variable does not exist. It does not even exist, so it should display the value null ). The syntax of...
asked on 05.10.2017 / 13:30
1
answer

What does - - in git checkout mean?

When we use git checkout nomedoarquivo what's the difference with git checkout -- nomedoarquivo ? I do not know what changes in using this -- ?     
asked on 31.08.2017 / 16:31
1
answer

How to update a DIV with Ajax / JS? [duplicate]

I'm developing a page, however I'm completely lay in the matter of JS ... The site has the div with the ID #content, and inside it a refresh button. How can I do when someone clicks it to refresh only the div, not the entire page? I'm cu...
asked on 20.09.2016 / 12:56
2
answers

Clone select jquery / javascript

I'm a beginner, and I'm having trouble running this code I used from another topic from here ( Add and Remove fields with Javascript ). Here he did not run, but in my localhost he even clones the requested snippet but does not just show sele...
asked on 21.09.2017 / 22:11
2
answers

Get data from another table in mysql and quantity

I have a lot of questions about MySQL when I have to use INNER JOIN to get data from other tables. I have 3 tables: MEDIA id, user_id, title, description COMMENTS id, user_id, media_id, comment MEDIA_LIKES id,...
asked on 11.09.2016 / 01:32
2
answers

Error - Icon Font-Awesome

I need to add an icon to a menu, the icon I want to use is:    fa-file-pdf-o (PDF) Of class:    font-awesome.min.css Only one problem exists when I add the same. It appears as follows: TheHTMLcodethatcreatesthismenuitemisbelow:<...
asked on 08.09.2017 / 15:14
2
answers

Is it possible for an attribute of a class to be the class itself?

I'm starting to learn% object-oriented%, and I have to do an algorithm using threaded lists. In C++ , I used a structure that had as one of the attributes a pointer to the structure itself. I would like to know if it is possible to do some...
asked on 23.09.2016 / 16:17