All Questions

4
answers

How to create a PDF stream in PHP?

Is there any alternative to implementing a stream of PDF files that are on the server? I would like the browser to download the pdf as it is viewed. Same as the preview of google books     
asked on 30.01.2014 / 01:54
1
answer

How to filter, select and count data in a pandas.DataFrame?

How to get multiple records based on multiple columns of a given name? My dataframe looks something like this: import pandas as pd df = pd.DataFrame([["1111", True, True, False, True, True], ["2222", True, False, True, T...
asked on 24.09.2018 / 19:01
2
answers

How do I set the width of columns in an Excel spreadsheet generated as HTML?

I need to convert an HTML table and generate the file in excel. How to set the width of columns in excel? I create the HTML file using PHP and export using: header ("Expires: Mon, 26 Jul 1997 05:00:00 GMT"); header ("Last-Modified: " . gmdate(...
asked on 17.02.2014 / 21:13
1
answer

WPF - The SelectedItem property of the ComboBox is not working correctly

Note: This question was the adapted translation of the original question, so all Updates of the original question are together in this text, sorry for that, but the time is short and I can not stop to make a better text, but thanks for the atte...
asked on 18.12.2013 / 17:48
1
answer

How to rename a constraint in mysql?

I created a primary key constraint in my table as follows: CONSTRAINT PK_user_type PRIMARY KEY(id) But now I need to rename it to: CONSTRAINT PK_type PRIMARY KEY(id) Based on this, I have the following questions: 1 - How...
asked on 10.10.2018 / 22:29
2
answers

The UL LI losing formatting after I put it in line ... Why did my "balls" disappear?

I have an unordered list <ul><li> I want it to be horizontal, not vertical, but when I put it to stay in line with display: inline-block my indicative "poles" are gone! Notice that the only thing I changed was to kee...
asked on 07.11.2018 / 14:25
1
answer

Regular expression to clone a value in a field

I have the following values: PRO|00000001|GASOLINA ADITIVADA|0101001|27101259| I would like an expression that would change the values and look like this: PRO|00000001|GASOLINA ADITIVADA|00000001|27101259| I already have more or less a...
asked on 26.11.2018 / 17:10
1
answer

How to determine the final distance of an element from the footer?

In the case in question would be a sidebar, which from a certain height of scrolling the top, receives position: fixed, but as it continues scrolling it is hidden behind the footer of the site. How could I determine that this sidebar from a cert...
asked on 03.01.2014 / 12:46
1
answer

Capturing PHP errors and Exceptions

Scenario I know that I can set up the logs for errors and exceptions to be written, that's cool, but sometimes it's too boring to read these files. Question How to catch Errors and Exceptions in order to be able to handle them at r...
asked on 28.01.2014 / 20:58
1
answer

Problem with timer in Java

Explanation: I have a JTextField component that would be a countdown timer, but when I use ActionListener this way: public static ActionListener alredBGolem = new ActionListener() { public void actionPerformed(ActionEvent e...
asked on 18.02.2014 / 18:05