All Questions

2
answers

What practical applicability of the word super in Ruby?

There are several explanations on the internet about it. But I still can not understand what the practical applicability of the word super in ruby is. Okay, I know it's for calling the same-named method in the superclass. Right. But why would...
asked on 17.12.2014 / 17:20
2
answers

Add JNI Library Compilation with maven or ant tasks

I'm creating a Java project with native methods ( JNI ) without having to create three separate projects for this. My goal is to compile everything I need in one go. I use only one DLL / OS in this project generated by a single C file. How...
asked on 08.10.2014 / 19:07
1
answer

Decrypt db.crypt files

I would like to know if there is any way to decrypt files with the extension db.crypt in general on the Android platform and is there any API that does this work?     
asked on 07.01.2015 / 15:27
1
answer

Send data along with event

As I venture through jQuery some doubts and problems arise in the middle of the path, one of them is: Is it possible to send a data through an event triggered by another event? Something like this: jQuery $(".seletor1").on("click", functi...
asked on 05.07.2014 / 07:48
1
answer

Redirect all pages to HTTPS minus one in particular

I have the following code in .htaccses to redirect the whole site to HTTPS : RewriteEngine On RewriteCond %{SERVER_PORT} 80 RewriteRule ^(.*)$ https://meudominio.com/$1 [R,L] However, I would like to leave a page out of this r...
asked on 20.12.2014 / 11:51
2
answers

View's Responsibilities

Throughout the internet, I find posts warning you of the responsibility of View who should only watch over your name and display content. While understanding that MVC is based exactly on the distribution of functions and separation of...
asked on 23.08.2014 / 13:26
1
answer

Method resolution

in the example below public static void foo(Integer i) { System.out.println("foo(Integer)"); } public static void foo(short i) { System.out.println("foo(short)"); } public static void foo(long i) { System.out.println("foo(long)")...
asked on 20.08.2014 / 13:19
1
answer

What is the difference between feature detection and feature inference

I wanted to know what the main difference between the two feature and feature inference forms >     
asked on 03.06.2014 / 05:04
1
answer

Change the project from .NET 4.5 to 4.5.2, how to do it?

I installed .NET 4.5.2 on the machine, I rebooted Windows 7 and, after opening the project, I went in Debug > Projeto.Properties > Application and tried to change the version with the Target Framework combo, but there is no v...
asked on 27.08.2014 / 19:20
1
answer

How do I call Arrays.sort (array, new methodOrd ()) in Java?

Knowing that I have a class with an array of objects and another class that implements the interface Comparator . I would like any example just to learn and be able to sort an array of objects by their name in my class that implements...
asked on 17.09.2014 / 16:26