All Questions

1
answer

Why is it possible to open serial ports (COM) on windows using file functions?

How does this happen? There are other ways to open or just say this, in languages like C, PHP, Python, etc.     
asked on 19.10.2015 / 07:18
1
answer

How to filter a ListDictionarystring, object?

I have a list variable that is a List >. She has 108 items. The Matrix [0] list looks like this: What I wanted was for the variable ListMatrix to come only with the items in the Matrix list whose COD_OCUPACAO = 1 & COD_NIVE...
asked on 15.10.2015 / 16:44
1
answer

How to insert a watermark in PNG

Following this example, I would like to be able to use a png in place of the banners on the canvas: link I'm using this code as a study, because it's all commented out, so my question applies to exactly this code: /* @preserve *...
asked on 23.09.2015 / 00:25
3
answers

Vertical menu disappearing underneath the footer

On screens where the height is less than 600px the menu disappears below the footer. I also tried to leave position as fixed , relative and nothing, but the result was the same. Follow the html of the menu: <div class...
asked on 05.10.2015 / 23:14
1
answer

How to consume a WebService "asmx" via Jquery Ajax

I have created a button that calls the method findCompany which in turn is made a Ajax request to consume a Web Service Asxm . Why does Ajax not consume the Web Service? <asp:Button ID="btnPesquisar" runat="server"...
asked on 28.09.2014 / 01:41
1
answer

How to connect JDBC (H2 Database) in PHP?

How to connect a JDBC database (specifically H2 Database) in PHP? The database is in a single file with extension .db     
asked on 17.10.2015 / 17:27
3
answers

Pass directive within template

I have the following scenario: I have a modal call directive and I want to pass another policy as content, the code is as follows: maintain-provider-form.js "use strict"; angular.module("fornecedor") .directive('manterFornecedorFormulario'...
asked on 27.10.2015 / 15:05
1
answer

Sort a vector of texts using regular expressions using R

Let's say I have the following text vector ( character ): d <- data.frame(id=1:3, txt=c('Um gato e um cachorro', 'Cachorros jogam bola usando alpargatas', 'gatinhos cospem...
asked on 03.10.2014 / 21:18
1
answer

create looped objects

I need to do several aggregate. For example: 2012ocup10 <- aggregate(PNAD2012[c("peso_pes")], by=PNAD2012["klems"], FUN=sum,na.rm=T) But I need to do the same procedure for PNAD2011,PNAD2010, ... I use...
asked on 18.09.2014 / 21:03
1
answer

How do I export an .apk android in Android Studio?

Whenever I export the application google gives this message: EventhoughI'mchangingAndroidManifest.xml:android:versionCode="2" android:versionName="1.0.2" Procedure I'm doing: I'm exporting right?     
asked on 05.09.2014 / 13:32