All Questions

2
answers

Problems assigning values to variables in an object

I need to pass variable data to another class called Fila.java. I have a vector of type that receives objects, so in the main class I created an object that I initialized as follows: public class Dados{ int menu = 20,i=0; String produ...
asked on 24.10.2017 / 04:16
3
answers

Problems closing menu when clicking links

I personally made a site onepage in this link , it has a fixed menu on the side that opens when clicked by is the following in these links there are anchors that when they are clicked the site usually descends however the menu does not c...
asked on 27.10.2017 / 15:22
1
answer

Encoding Eclipse - Intellij

Imported a project in Intellij that was created in eclipse. The project is quite large. I'm having a problem with the encoding, in eclipse it's like Default the Cp1252 And IntelliJ is set to UTF-8 How do I change to...
asked on 23.10.2017 / 19:59
1
answer

"No Persistence provider for EntityManager" for Hibernate 5.x

Well, I have to update the version of hibernate that I was already trying to implement in my project to avoid bugs of the previous version, but I'm having a hard time persisting in the new version, since there were changes. > The first...
asked on 19.10.2017 / 15:39
2
answers

How to apply attributes of a ViewGroup from parent to child in android studio?

How do children in a ViewGroup inherit an attribute from the parent? For example, I would like to set layout_marginTop="16dp" to all TextView daughters <LinearLayout android:layout_width="match_parent" android:layout_heigh...
asked on 27.10.2017 / 15:39
1
answer

Go through a method on all routes of all http methods except two

Basically I want to make all routes that come from any http method (get, post, put, ...) first pass by a method that will check if the user is authenticated, but this method should not be called when the user will authenticate (method POST...
asked on 02.06.2018 / 19:19
1
answer

Array grouping hierarchically PHP / MySQL

I have the following structure in a table in the database. My intention is that when I make a select * from on it I can interact with the values so that I have an array in the hierarchical style. That is, whenever there is an idFather, th...
asked on 06.06.2018 / 12:20
1
answer

Basic HTTP Authentication

I have a question about basic authentication. The problem is that I have a webservice with slim framework and I would like only my application to access the routes that I created without user or password. How can I do this? All my routes are ava...
asked on 16.03.2018 / 19:56
1
answer

Create function strstr / Return pointer in C

I'm trying to redo the function strstr (search for a value passed by a parameter in a text, if it finds it shows the rest) per account. This is my current code, it already came to work but I gave some miss click and stopped working for some r...
asked on 31.10.2017 / 09:20
1
answer

CSS should be Shorthand or Longhand

Set the correct practice, use CSS with Shorthand or Longhand ? I looked, but I did not find a definite answer ... When we declare the class with Shorthand we are saying that all other values should be set to initial . I will only...
asked on 23.01.2018 / 20:47