All Questions

1
answer

Create check multiple values of a variable

I have a set of rules that are taking up a lot of space in my code: if ($ni == '1' && $status2 == 'Aberto' ){ $url_edit = "<a href='edit_os.php?id1=$id1'>"; }elseif ($ni == '1' && $status2 == 'Em Andamento'){ $url_...
asked on 15.01.2015 / 00:13
2
answers

How to upgrade BD sqlite java android

How do I add a column in the database of my android java application without losing the data from the current database? My code: public DataBaseHandler(Context context) { super(context, DATABASE_NAME, null, DATABASE_VERSION); } // Creatin...
asked on 31.05.2014 / 00:30
1
answer

perfect forward secrecy, what is it?

I was reading a subject once quoted PFS and then I went to search, Wikipedia is weak on information about this, what is it? Is it like doing it? Please, I am a layman and I like examples, thank you in advance.     
asked on 15.02.2015 / 21:23
2
answers

Get information from the sender object

How does the search for information through the sender object work, and in what situations can I use it, with what types of events? This is to avoid redundancy of events. Where can I explore these possibilities? For example : several buttons fro...
asked on 31.05.2014 / 04:25
1
answer

Automate tasks with Laravel 5

Good morning, people. I need to create some tasks on my system that run automatically (such as a Cron Job). Example: Every day the system sends an email to the customers of the system with the amount of their charges, and the ones that are cl...
asked on 09.03.2015 / 14:49
2
answers

How to read a digital certificate file with php

I have a system in which it does the digital certificate store, I need some information besides the file itself, one of this information is the expiration date of the certificate. The question is, how to read this file so that I can pick up t...
asked on 17.03.2015 / 15:59
3
answers

What HTTP status code do I use to indicate validation failure?

When a method in a web API detects that there was a failure in validating the data of an entity to be added or updated is there any HTTP code that is standard to be sent? For now I am using the 400 (bad request) code, but I do not know if there...
asked on 15.07.2014 / 22:50
1
answer

Is there any difference between an event with passing parameters to one without a pass?

Considering: jQuery $("#seletor1").on("click", function(){ $("#seletor2").trigger("click", {dados: "informação"}); }); $("#seletor2").on("click", function(){ //faça coisas }); $("#seletor2").on("click", function(evento, dados){...
asked on 15.07.2014 / 22:56
2
answers

R - IBGE municipal data download

Is there any way to download IBGE municipal data with the R command line?     
asked on 10.07.2014 / 00:17
1
answer

What is simple association in object orientation?

When I asked
asked on 31.07.2014 / 01:02