All Questions

2
answers

how to change the chart type using chart.js?

I'm developing an application that helps me build graphs, and was thinking of doing in a way that the graph is built dynamically as the user inputs information, the first one being the type of chart (if it's line, of bar, pizza, etc.) I made a te...
asked on 14.05.2016 / 17:11
1
answer

How to insert Access-Control-Allow-Origin in the header

I'm doing an ajax request for JQuery.Ajax() , to consume a WS SOAP, the envelope is Ok but when I make the call I get in the browser "No Access-Control-Allow-Origin 'header is present on the requested The source had the HTTP status code 40...
asked on 25.04.2016 / 20:13
1
answer

Animation on Android, circle emitting waves

I need to do an effect similar to% of% in% with%, that the circle photo emits waves (zoon from below) as can be seen in the video link That's a lot of help, because I do not even know where to start the search! I'm using Android Studio w...
asked on 01.02.2015 / 14:59
1
answer

Select first lines depending on group efficiently

Suppose I have the following database set.seed(100) base <- expand.grid(grupo = c("a", "b", "c", "d"), score = runif(100)) And I want to select the lines with the lowest score depending on the group according to the table below:...
asked on 28.01.2015 / 13:50
1
answer

Wait for thread to finish before closing program

I have a loop while that ends only when I press the q key, then the program quits. Within this loop , at a certain time or condition, I start a thread that takes a few 10 seconds to execute. My problem is, if I exit the loop...
asked on 26.03.2015 / 16:02
2
answers

Avoiding duplicate data by applying counter for usage log

In a simple form that writes the following data:    ID, IP, Date / Time, Name, Email, State / City. When a person fills out the form, this data is recorded in the database. But if the same user is to fill out the form again, a new record...
asked on 29.01.2015 / 00:36
1
answer

Difference between scheduleAtFixedRate and schedule in the ScheduledExecutorService class

What is the difference between scheduleAtFixedRate and schedule ? I'm developing an app on Android that I want to have a delay of 50 minutes before starting an action and repeat that same action in the next 50 minutes, but I'd li...
asked on 12.02.2015 / 16:32
2
answers

Copy files from one remote to another using GIT

I have two remotes configured, the origin (repository in heroku) and github (repository in github). In my local repository I made several changes but I gave the push only in the origin, leaving the github without updates and commits. Now I would...
asked on 17.03.2015 / 18:34
2
answers

Check where the POST came from

Is there any way I can limit third-party POST submission to my site? To deny all, type exists the cURL that does this like a robbery, but I wanted to inhibit, does it have? When I say third, I say come from another site that is not mine.    ...
asked on 01.04.2015 / 23:09
3
answers

Elements with corners cut with Css

I need to make elements with cut corners, equal to these squares. How can I do it?     
asked on 04.03.2015 / 13:55