All Questions

1
answer

How to apply a function to multiple objects? (Pure Javascript)

For example, I have div inside a variable obj obj = document.getElementById("objeto"); I want a function to be applied to it, so window.onload = function(){ window.onclick = function (){ obj = document.getElemnt...
asked on 10.07.2014 / 18:42
3
answers

Reading in Delphi generated XML in Excel

I am generating an XML by Excel itself (file of type XML Spreadsheet 2003). The generated file has the following XML data pattern: <Row> <Cell><Data ss:Type="String">Williams</Data></Cell> <Cell ss:StyleID="...
asked on 30.06.2014 / 15:49
2
answers

Login using Entity with password encrypted as varbinary

I have encrypted the user's password and in the Password field of my table I went from Varchar to Varbinary, in the web part of my system everything is fine only in the windows part I am using Entity and I do not know how to do it validate the u...
asked on 01.07.2014 / 21:18
1
answer

Storyboard Follows

I am creating a small example of an iOS application using Visual Studio 2015 in Windows 10. However, whenever I open Main.storyboard by designer and click on one of the UIStoryboarSegue the Segue property looks as if no...
asked on 19.02.2017 / 23:42
1
answer

List of figures / tables in the abntex2 model

Hello, I'm using the abntex2 model for theses. I put figures and tables indexed by chapter. But now I'd like the lists to have a space between the figures / tables in the same chapter. Lists are created automatically, with the command \listof...
asked on 19.02.2017 / 00:50
2
answers

Regular expression with termination specifies to bring 3 first characters

I'm trying to do a regular expression in Oracle with the following requirement: Finish with a specific letter, if you have that letter in the middle do not search. Return the first 3 digits of the string. To solve the first problem I ca...
asked on 15.03.2017 / 14:04
2
answers

How to run a python file as admin?

I'm trying to run a python file, but it asks to be run as admin how do I do that?     
asked on 20.02.2017 / 05:26
1
answer

Page layout controlled by javascript using REST for dynamic content

I was thinking of a different pattern for developing my application via browser. As this is an ERP, I need a quick interface that does not need to download the HTML from the server at all times to print the user's screen layout. The solution wou...
asked on 08.07.2014 / 18:44
1
answer

Pointer to function in a C ++ class

I'm having trouble putting a pointer to a function in a class: int Menu::validaescolha(){ cout << 1232; return 1; } int Menu::inicial(){ int (Menu::*funcs)() = &Menu::validaescolha; funcs(); return 0; } Return...
asked on 26.02.2017 / 00:04
1
answer

Apache logs: checking for a slowloris attack [closed]

I'm doing simulation of a slowloris attack on a Debian server running Apache. The attacking machines are Debian as well. In order to make sure that the slowloris attack was effective, I would like to access the logs of Apache and ver...
asked on 16.03.2017 / 15:34