All Questions

1
answer

Android app in the background [duplicate]

I'm working on the open source project Linphone , when the application is closed it is not working in the background, so if someone makes me a link in the mean time I am not notified, how can I handle this problem?     
asked on 10.10.2016 / 16:39
0
answers

State machine that finds the first line breaks, in C [closed]

How to make a C state machine using decision commands ( if , else ) to cycle through a buffer received from the internet, byte by byte, in order to find the first line breaks (% ), and only then write the content? The socket part is...
asked on 19.06.2015 / 15:28
1
answer

How to create and display a list of emails with json output with form information

The purpose of the project is to generate a list of "emails" coming from the contact form, to show in a list of type li with the following data:  - name  - subject matter  - shipping time I also need the user to click on a certain fiel...
asked on 24.06.2015 / 13:54
2
answers

MarketPay API

I'm making a cart system here to test the MercadoPago API. Everything is working except for the part of creating the payment that I have no idea how to start. MercadoPago API I'm not very good at messing with arrays, and I'm here to ask...
asked on 11.12.2016 / 15:05
1
answer

Best DB structure with large number of data and filterable columns

I have a Mysql database with a table that is taking a long time to complete a query. I would like to know what would be the best database structure indicated for a table with many fields that are filterable, have more than 5 million records and...
asked on 14.11.2016 / 12:46
2
answers

Open modal dynamic button loaded via ajax

I'm having trouble opening a modal via a dynamically loaded button via ajax. The following jquery code below opens the modal normally, assuming the button to be clicked was not loaded dynamically. $('#idDivModal5').on('click', '.btn-cancela...
asked on 10.10.2016 / 17:30
2
answers

Heroku deploy with bower-rails

I have gem 'bower-rails' installed in my application but when deploy I have the following error: I added the gem rails_12factor I'm using buildpack : heroku buildpacks:set https://github.com/heroku/heroku-buildpack-ruby...
asked on 22.05.2015 / 16:44
1
answer

JPA - Error of record not found soon after insertion of same

A question regarding JPA procedures, due to an error that has happened and I can not understand. I'm taking care of a part of the system that feeds a card order table. It looks up if the user that the request references has the card, and it i...
asked on 24.04.2015 / 22:04
1
answer

What is the difference between SCRIPT_FILENAME and REQUEST_FILENAME?

I'm studying friendly URLs, and in many instances I came across these two forms of writing: RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d and RewriteCond %{SCRIPT_FILENAME} !-f RewriteCond %{SCRIPT_FILENAME} !-d...
asked on 23.11.2016 / 22:39
1
answer

Returning a Select option with Ajax

Hello everyone, well, everybody, I need your help humbly with the following problem: I have a scrpt Ajax with the states and cities of Brazil, and a select option where it lists the state and the other its respective cities, until then everyt...
asked on 21.10.2016 / 16:27