All Questions

1
answer

Framework for geoprocessing for Brazil

I found several frameworks on the internet for geoprocessing. The problem is that all were created for the US regions. Does anyone know of any framework that I can get to the granularity of a city? Example: Map of Brazil by regions, when clic...
asked on 16.06.2015 / 20:33
2
answers

How to customize send file button?

I have a submit file button: <input id="file" name="file" type="file" /> It looks like this: Iwanttoremovethis"No file selected" description and customize the button text. Can anyone help me?     
asked on 12.06.2015 / 16:14
1
answer

How to improve the viewing of log files?

I'm trying to analyze some log files generated in Linux and I've noticed that it's very annoying to understand where a line is starting / ending. I would like to know if there is any kind of command or tools for better visualization of logs....
asked on 20.06.2017 / 15:40
4
answers

How to limit PHP words

Hello, I would like to know how I limit the text I pull from the database. For example, I have a text called: Lorem ipsum dolor sit amet. And I wanted you to limit the text by pulling, it would look like: Lorem ipsum dol ... &l...
asked on 26.06.2015 / 18:41
1
answer

How to pass information from the listview to a new activity?

I have a schedule of events where I live I can already receive through my database in Mysql and JSON a list with the titles of the events. Now I wanted it when I clicked on the event to redirect to an activity with event info, but I do not know...
asked on 22.06.2015 / 11:02
2
answers

Explode () 'manual' in PHP

Just because of the challenge and the pleasure of programming I'm trying to recreate the explode() function in PHP. This is what I have so far: function explode_by_me($divideBy, $str) { $element = ""; $elements = array(); for...
asked on 26.06.2015 / 13:09
1
answer

In Python do we have the switch function? [duplicate]

In Python we have the function switch ? I wanted to create a program but I did not want to use many if , and for that the switch function helps, but I have already seen several videos of Python classes and no talk of swit...
asked on 10.06.2017 / 00:03
1
answer

Using Foreach in PHP

The foreach constructor provides an easy way to iterate over arrays . In several scripts we can observe the following usage: foreach ($array as $value) { $value = $value * 2; } However, in some cases the following use is possibl...
asked on 16.06.2017 / 16:41
1
answer

A Macro to run all Modules?

I have several modules and within these modules I have several subroutines with some functions on separate sheets. I want to run the macros separately! That is, start the next sub routine after finishing the previous subroutine. EXAMPLE OF ON...
asked on 07.06.2017 / 12:51
1
answer

Initialization of attributes

Is there any difference between initializing an attribute like this: public class Turma { private List<Aluno> alunos = new ArrayList<Aluno>(); } Or so: public class Turma { private List<Aluno> alunos; //Co...
asked on 06.07.2017 / 21:16