All Questions

1
answer

Number of revisions per file saved via Git

I have a very specific need, I need to store at most 3 revisions of a PSD file, with each new revision being deleted. Is it possible to do this in Git?     
asked on 16.09.2014 / 14:43
1
answer

Global Scope Differences in UserScripts in Chrome and Firefox

I started programming UserScripts in Chrome and almost all of the code snippets I find work, but when it comes to Firefox it's a problem. In Chrome I use Tampermonkey and in Firefox Scriptish (which is a fork of Greasemonkey). [Note...
asked on 13.09.2014 / 02:49
2
answers

Bundle does not render css asp.net mvc

I have my bundle @Styles.Render("~/Content/css") And it just stopped working, it does not render anything The bundle is being registered in global.asax BundleConfig.RegisterBundles(BundleTable.Bundles); And when you disable Enable...
asked on 02.09.2014 / 15:09
1
answer

Load objects related to @OneToOne

Regarding the doubt that I have is basic, but it is taking my sleep. I have an entity that I call Destination. In the Destination entity I have several relationships of type @OneToOne with other entities in a unidirectional way as belo...
asked on 26.09.2014 / 18:41
1
answer

Pick up only the user name in AD

With this code, I bring everything, Domain / User. ViewBag.User = System.Security.Principal.WindowsIdentity.GetCurrent().Name; I would like to bring only the username. I can get all that, and get everything that comes after the "/" bar and...
asked on 24.09.2014 / 16:26
1
answer

Error in rbind: "Error in match.names (clabs, names (xi))"

I'm trying to build a function that counts the number of complete cases in .csv (data frames) files, that is, the number of rows with values (not "NA"). The function I wrote can read the file (s) specified in the function call and count the numb...
asked on 24.08.2014 / 21:08
1
answer

Interpreting the MySQL Explain command

I have a query that is taking 6/8 seconds to execute. The database I'm using is MySQL. In PhpMyAdmin I did the following: EXPLAIN SELECT id_categoria, sc.categoria, categoria_principal, associada FROM get_produto_categoria gpc INNER JOI...
asked on 15.10.2014 / 13:21
1
answer

Isolated Storage or SQL Server Compact

I'm making Windows Phone 8.1 something similar to a dictionary where there will be a lot of text with sorting, searching, sorting by name. Keeping in mind that there will be this large amount of information, what would be best to use Isolated...
asked on 28.08.2014 / 00:18
2
answers

Vertical alignment in a div with position: absolute

I would like to know if it is possible to vertical-align in a div with position absolute? Here is the code for analysis: .teste { background: #F00; width: 500px; height: 100px; display: table-cell; vertical-align: mi...
asked on 28.08.2014 / 16:22
1
answer

Is it possible to make spatial orientation with magnetic sensor only?

Can you determine the spatial orientation of the smartphone using only the x , y , and z values of the magnetic sensor?     
asked on 26.09.2014 / 18:52