All Questions

3
answers

How to disable (stop, remove, delete) the git versioning of a repository

I cloned a GitHub repository in my directory, but it came full of commits, that is, versioned. I wanted to restart it as a repository, from scratch, how do I? I've tried the command: git reset (did not work). What I want is the opposite o...
asked on 05.12.2014 / 00:42
1
answer

Why does Facebook's XHR requests have this code?

I was analyzing Facebook's XHR requests for study purposes and I came across a code that I found to be curious. Inthelinksimilartothis4-edge-chat.facebook.com/pull,ithasthefollowingcode:for(;;);{"t":"fullReload","seq":3} Well! As far as I...
asked on 14.01.2015 / 12:44
4
answers

Making a HTML list searchable

I'm trying to put a search on the page, similar to the CTRL + F of the browser. I have a list of links and this search would only point to this list. Here is a print for better understanding.     
asked on 28.01.2015 / 20:47
2
answers

Request AJAX post with angularjs

Hello, I wanted to know how I make a POST request for a url with angularJS and also wanted to know how I transform a normal javascript object into a json, to send in that request.     
asked on 14.02.2015 / 07:04
1
answer

What is the Dynamic Proxy generated by the Entity Framework?

What is the Dynamic Proxy generated by the Entity Framework? And a class? What is the function of it?     
asked on 07.01.2015 / 14:06
3
answers

Integer for String

In QT Creator 5, how do I convert Integer to string? In Visual Studio 2012 there was the command: std::to_string(10); But it does not work on QT. I tried: #include <QCoreApplication> #include <iostream> #include <string>...
asked on 24.12.2014 / 14:26
2
answers

Get property values from a class

I have the following codes: private PropertyInfo[] ObterPropriedades(Type classe) { PropertyInfo[] properties = classe.GetProperties(); return properties; } private string[] ObterValoresPropriedades(Type classe) { List<string>...
asked on 22.12.2014 / 18:01
3
answers

Overlay image with a DIV

How do I put a DIV on an image > ? HTML<divid="main-banner"> <img src="images/wall.jpg" /> <div id="main-banner-content"></div> </div> CSS #main-banner { padding: 0; width: 1000px; height:...
asked on 09.12.2014 / 06:14
1
answer

Save full path in the bank or just the name with the extension?

On the systems I used to develop before, I used to save the full path of the file in the database. Example: c:\xampp\htdocs\teste\imagens\post_44\stack_overflow.png // Image table imagem - id = 1 - imagem = imagens/post_44/s...
asked on 04.02.2015 / 13:03
2
answers

Checking parameters in MVC

In the MVC Standard, the Model is responsible for the business layer, in which will be the business rules and validations. I have a question about the following. A method in the controller that receives any parameter (it can be a primitive type...
asked on 22.02.2015 / 21:51