All Questions

1
answer

What is the difference between the operators "+" and "&" when in string concatenation?

In VB.NET, there are two operators that I use in the concatenation of strings , the & and the
asked on 22.09.2016 / 00:37
1
answer

How do I get the exception Mongoid :: Errors :: DocumentNotFound released on Mongoid

To try to do a test similar to this below capture the exception of a nonexistent document expect(Produto.find('57e2bf76ce222fd11258cd4e')).to raise_error(Mongoid::Errors::DocumentNotFound) The exception message being passed is shown, howeve...
asked on 21.09.2016 / 19:34
1
answer

Problem with vue-cli

Good afternoon, I made the global installation of the vue-cli npm install -g vue-cli When you try to start a project with the vue init webpack my-project the following error is displayed vue-cli · tunneling socket could not be establishe...
asked on 31.08.2016 / 20:03
2
answers

Add days to a date within the method and return it with a new date range

I tried to make a function to add to that date, days coming from a parameter passed in the function. Below the function: function montaDataSubstituicaoPrestador(){ var exclusao = new Date('2014-03-14T23:54:00'); var novadata = new Dat...
asked on 24.11.2015 / 20:48
3
answers

SELECT in a RELATIONSHIP WITH SELF-RELATIONSHIP (Checking for Occurrences)

I'm having a hard time making an appointment. The situation is as follows, I need the bank to return all names of courses that have no prerequisites and are not prerequisites. The relationship is this: /* Create a table */ CREATE TABLE DISC...
asked on 25.11.2015 / 18:39
1
answer

How to compile the entire project folder for ES5 using babel.js?

I have an HTML5 Cordova project and I need to make a hook before compiling to convert entire projects folder (www) to ES5 before compiling. Is it possible? Structure cordova/ hooks/ node_modules/ platforms/ plugins/ www/...
asked on 09.08.2016 / 23:10
1
answer

Add 3 graphs using plot

I want to merge the three graphs below using the plot function. I do the basics starting with the command par(mfrow=c(1,3)) but I can not join them. The problem I believe is that it is using a direct summary object of the quanti...
asked on 14.09.2016 / 00:21
1
answer

Redirect user to Google Maps application

I'm developing a responsive website and using the Google Maps API to generate the company's location map. I would like when the user was accessing the site by a mobile device and clicking on the map or even a link, was redirected to the Googl...
asked on 26.11.2015 / 16:37
1
answer

How to remove an already selected item from a multiple upload

I have this example and would like to remove an item from my selection. But it is not removing properly, has a problem with the index number, how could I solve this? link     
asked on 09.11.2015 / 22:21
1
answer

Post IdHTTP FIREMONKEY Delphi XE7

Follow the previous question: Previous question on the same subject. Now what it is showing is:    link Code used: Functional in VCL: function TForm1.UploadArquivo(server, script, caminhoarq : string) : boolean; var Respons...
asked on 21.11.2015 / 15:10