All Questions

1
answer

How to include in Python a function made in C?

I want to use a function made in C . Example: I have a function int swap(){ printf("lista"); } And I want to call it Python ...     
asked on 23.10.2015 / 18:32
5
answers

If the image is large in the vertical, is it with height: 100%, if it is large horizontally, is width: 100%?

I have a question, how can I insert images with different sizes inside a div, and if the image is very large vertically, it has height: 100% , and if is very large horizontally with width: 100% ? An example image:     
asked on 24.09.2015 / 13:56
2
answers

How to implement a "thin"

I'm working on a prototype of an ASP.NET MVC application, where I want to leave my lean controller (with the least amount of code possible) for that, not doing business logic on it, but yes in the business layer. I have the business layer, wh...
asked on 24.11.2015 / 23:30
1
answer

Change the naming pattern of Views that are generated by scaffold

I would like to change the nomenclature in which scaffold generates Views: Default: Create.cshtml Delete.cshtml Details.cshtml Edit.cshtml Index.cshtml I want scaffold to create this: Criar.cshtml Excluir.cshtml Exibir.cshtml Edita...
asked on 03.10.2015 / 20:59
2
answers

Is it possible to join a C # form to a VB.NET project?

I have two distinct projects, one with just one form in C #, can I embed the form in my project in VB.NET?     
asked on 18.06.2015 / 06:13
1
answer

What would MOJO be in Maven?

I use Maven awhile together with other tools, and I always see something related to Mojo in>, what would really be a Mojo ?     
asked on 17.07.2017 / 21:28
1
answer

Project that imports other Netbeans projects

I have a project where all the Hibernate configuration part is. In the final project I will have a few more projects (Person Register for example) that will need the project that has Hibernate. How do I correctly set up Hibernate project impo...
asked on 10.01.2014 / 18:10
2
answers

Doubt in the declaration between expression arrow and expression of function of an event

I have the following code snippet: self.addEventListener('push', event => {"code here"}); My question is ... this writing format is equal to: self.addEventListener('push', function(event) {"code here"}); And if not, what's the diffe...
asked on 03.11.2016 / 13:19
1
answer

Navigation via HTML or Javascript

I've been working hard with javascript and it makes me use it for almost everything. But I have a question. Is there any problem with semantics, indexing or search results of my page when I use: HTML: <img class="teste" src="img.pj...
asked on 11.01.2017 / 14:01
1
answer

Comments with the license in CSS or JavaScript files should be maintained or not?

This question comes up when I finalize a bundle mechanism for CSS and JS files with consequent cache . In many projects we all use mechanisms that allow us to reduce the size of CSS and JS files in our projects, however a legal issue arises....
asked on 12.08.2015 / 16:49