All Questions

1
answer

Save value in SharedPreference

How do I save and retrieve information in an Android Prefence file. Example String a = "stack overflow" int b = 32; boolean c = true;     
asked on 11.07.2014 / 18:14
2
answers

What is shebang? [duplicate]

Since in many languages the # character represents a comet, what's the point of using it? Does it have any special meaning?     
asked on 17.03.2017 / 19:07
3
answers

What is the best way to select an option by text and not by value in jQuery?

I have a select and would like to select a value according to the text of another field that the user clicked on. For example. When I click on a "p" tag with the text "April" I want to select the "April" text option in my select: <select...
asked on 24.02.2014 / 15:34
3
answers

What is operator overload?

In some programming languages such as C++ , it is possible to overload operators. What is it and what is it for?     
asked on 02.05.2015 / 19:47
6
answers

How is an agile way of adding and removing code comments in VIM?

I do not want to remove the entire line of code in VIM, what I want is to work with the comment codes. I have 3 cases: Comments that open and close (usually multiple lines): /* doSomething(); */ Comments with 2 characters in the line of...
asked on 24.02.2014 / 15:33
2
answers

What is differential inheritance?

I was reading this article in the English SO and I came across the term differential inheritance . What exactly is differential inheritance? Is it possible to have a minimal example, preferably in JavaScript?     
asked on 28.08.2014 / 21:55
2
answers

Minimized pages and processing for each requisition

If I want to minify an HTML page from PHP, will I be gaining or losing more? More clearly: I want to keep formatting and practice for when editing the page, preserving the edentation. But I also worry about loading the page, since in developm...
asked on 10.06.2015 / 02:12
1
answer

Difficulty in Syntax

I would like you to explain this function to me, I do not understand this syntax: double sum_arithmetic(double x0, double r, int n) { return n == 0 ? 0 : x0 + sum_arithmetic(x0 + r, r, n-1); }     
asked on 29.09.2014 / 00:52
2
answers

how to represent a monetary field with semicolons in javascript jquery

I have a huge doubt. I need to get the values that are in the database with decimal places of 3 (for example: 56826.497) and display 56,826,497 on the screen. I already tried using maskMoney and priceformat , but they did not work. mas...
asked on 08.12.2014 / 12:06
1
answer

What is and how does PHP's PHAR function work?

Does anyone have information about the phar function? What is it, what is it for, how is it used and what is the advantage? I found a lot on the internet, but nothing so specific, so I decided to ask.     
asked on 10.04.2017 / 01:22