All Questions

1
answer

How to link a specific div from another PHP page

I have a one page site, where I have an external page with a menu, and the same one has to link the DIVS of my home (one page). Example: On my external page, clicking on the Videos menu, I'll go to Div from the One Page page. When I try to li...
asked on 25.11.2015 / 13:40
1
answer

Return data as JSON using ASP.NET MVC

When developing a web application, using ASP.NET MVC, I need to return the view layer, data as JSON in the following format: { 'title': 'Gallery 1', 'description': 'Description of gallery...', 'thumbnail': [...
asked on 25.12.2015 / 14:52
1
answer

Sorting with heapsort

When ordering with heapsort and the candidates for the root of the tree are equal , the order of priority is given to the element of higher or lower index in the original vector or is it given by the position that these elements occupy in t...
asked on 26.01.2016 / 15:51
2
answers

SQL Query Optimization in MySQL and Index

I have a performance problem with a query with SQL on MySQL that is using my server a lot, I have done index and even then the consumption does not decrease. The query I'm using is: SELECT CONCAT( '2015-10-14 '...
asked on 14.10.2015 / 15:52
1
answer

Insert data into an external Json

How do I insert data into an external Json file: var json = { caminho: "img/minhaIMG.png", descricao: "minha descricão" } How can I insert new data into this json file? In my case, I would use the same as a "Database" of my files. A...
asked on 22.11.2015 / 18:34
1
answer

What does Cross-Domain mean?

Looking at the subject, I've heard that Cross-Domain is an interaction between different domains. I even found a similar question in the SOPT itself, as per the link below. However, the concept itself was not clear in my vision, because a...
asked on 30.10.2015 / 12:31
3
answers

How to run programs written in Python on windows hiding terminal feedback

I have the following situation: I have a program written in python that works with Gtk + webkit + flask. To run such a program I should log in to the CMD and type "python.py file" and it will starta my GUI application normally. Where according t...
asked on 23.12.2015 / 04:46
1
answer

OnMouseOver with Delay when swapping image

I'm using a onmouseover , but it's giving delay from 0.5 to 1 second to change the image, when I put it in my hosting. <li> <img src="images/clientes/1.png"onmouseover="this.src='images/clientes/a1.png'"onmouseout="t...
asked on 25.11.2015 / 16:45
1
answer

Error after performing an action redirect to a page

I think I'm going wrong with the code below, it should save the Client and redirect to the Client / Index page, but after saving it stays on the same page, using Debug it passes in the Client / Index (Action and View) , but does not open the pag...
asked on 25.11.2015 / 12:32
1
answer

AngularJs duplicating (briefly) ng-repeat list when making new inserts in the bank

I'm working with an application where in a view I own the product register of a company, or its clients, suppliers, etc. Each view serves a specific area, however each view works with various data and data flow, such as addi...
asked on 25.11.2015 / 01:44