All Questions

2
answers

Can Sqlite work completely offline?

I need to save my alarms so that after the device is restarted, they are put back into operation. The problem is that I get them all through my database at mysql . What made me think that maybe it would be a good idea to save it to a...
asked on 26.06.2016 / 20:18
3
answers

Check if a date is earlier than another date

Good morning, I would like to know if there is a way to check if one date is earlier or higher than another, in my code there are 2 date type inputs, which send their values to the database, however a date will start something and the other end,...
asked on 08.06.2016 / 13:30
2
answers

Difference between ViewResult and ActionResult

What is the difference between ViewResult and ActionResult? Normally I call a View using an ActionResult, but I've already seen code with ViewResult. Then came this doubt.     
asked on 21.04.2016 / 23:15
2
answers

Text that is written slowly, erases and writes another

I would like the script to be a text that is being written slowly. I found it easily here in SOpt, the link is this: Text that is typed in the Few? However, I would like an increment that I did not find. Next: After you finish writing the t...
asked on 13.02.2016 / 19:44
2
answers

Retrieve the first elements of an Integer list

I have a list ArrayList<Integer> list = new ArrayList<Integer>(); where I have over 40,000 records. I wonder if you have a way to get only the top 10,000. I know you have to for and move to a new list, but this requires...
asked on 16.02.2016 / 17:59
2
answers

Not being able to call the same variable out of function

I'm not able to call my variable pt1 out of function(data) and within function getImageItem . Being function(data) is within function getImageItem . function getImageItem() { var item = ""; jQuery.ajax(...
asked on 07.01.2016 / 16:41
3
answers

How to replace dynamic string {{snippet}} from a string in C #

I get a string which is dynamically generated example: "Dynamic text {{parametro1}}, plus a piece of text {{parametro2}}." I have a code similar to this in C #: where the name is the same as in braces and the value property is the one that...
asked on 05.06.2016 / 23:23
3
answers

Calculate mean only in the fields typed

Hello, I am programming a system in which it calculates the average of some fields. The point is that not always all values will be reported and the average should calculate the fields in which there are values, ie the calculation of the mean wi...
asked on 20.04.2016 / 14:47
2
answers

How do I get a page from my site to appear on the same day in google search results?

I need to know a way for a page of my site to appear in google search results on the same day. Any suggestions on what to do? Well I realize that there are sites that once a news is published in a few minutes is already in the search results....
asked on 06.07.2016 / 10:15
3
answers

Function that converts this string to json

I have string in the following format: "a=123 b="ABC" c="Olá Mundo!"" I need to create a function that transforms this string into this json: { a : 123, b : "ABC", c : "Olá Mundo!" } I think it has a bit of regular e...
asked on 10.06.2016 / 02:16