All Questions

2
answers

What is the concept of Stubs and Drivers in integration tests?

What is the concept of driver and stub in integration tests, what is the difference between them? In which situations should be used?
asked on 07.10.2016 / 18:12
1
answer

Why can not a Trait implement an interface?

Why can not a Trait implement an interface in PHP?     
asked on 10.10.2016 / 15:30
3
answers

Error while joining with Laravel's Query Builder

I'm doing the following Join: public function getStockDanger() { $data = DB::table('product') ->join('stock', 'product.id', '=', 'stock.product_id') ->where('stock.stock', '<=', 0) ->get(); return v...
asked on 07.10.2016 / 19:44
1
answer

Sort of dates ggplot2

Hello, this is my first question in this% s% s and I have not mastered it yet.  I'm learning this wonderful language and now I'm having serious problems plotting a graph using the R package, the data is dates and they do not follow the natural...
asked on 20.02.2018 / 13:02
1
answer

Change padding orientation in graphic

I would like to know if there is a possibility to change the color fill orientation of the following graphic WhatIwantisforthecolorstobefilledfromtheoutsidetotheinside.Anyonehaveanyideas?dat<-structure(list(Category=structure(1:15,.Label=c...
asked on 16.02.2018 / 19:21
1
answer

What is the purpose of the "X" at the beginning of some headers names?

There are specific headers in HTTP that have the purpose of passing some information. Such as Content-Type which informs the mime of the content you want to receive or send. We also have Content-Length that determines the size in b...
asked on 10.11.2016 / 17:38
1
answer

Tree strictly binary

   A binary search tree is strictly binary if all nodes in the tree have 2 children or none. Implement a function that checks whether a binary search tree is strictly binary. // Estrutura de dados typedef struct { int chave; }tipo_element...
asked on 15.01.2018 / 16:22
1
answer

What is the utility of: host,: host () and: host-context ()

What is the utility of pseudo classes :host , :host() and :host-context() ? If possible with some practical example     
asked on 22.06.2018 / 20:18
1
answer

Redirect URL in IIS 7.5

When posting to the server (iis 7.5) the application: Eu tenho isso => http://meuip:8086 Mas preciso disso => http://meuip:8086/portal When you create the directory in iis with the name "portal" and converted to an application, a...
asked on 04.05.2018 / 21:25
1
answer

Update for PHP 7 ubuntu

After updating PHP on my Ubuntu server my phpinfo() continues to show the previous version 5.5 even when I run php -v (returns version 7.0). I've tried restarting apache and php7.0-fpm and it did not work.     
asked on 06.12.2016 / 18:49