Change Photo
Estevan Braun

Answers by Estevan Braun

Image inside div has extra space below the image?

By default, an image is rendered inline, like a letter so it sits on the same line that a, b, c and d sit on. There is space below that l...

Produce “dodged” or “side-by-side” bar/column charts in Altair??

Yes, you've found the recommended way to create grouped bar charts in Altair. If you want to adjust the final look of the chart, you can d...

Python: Pandas pd.read_excel giving ImportError: Install xlrd >= 0.9.0 for Excel support?

As @COLDSPEED so eloquently pointed out the error explicitly tells you to install xlrd. pip install xlrd And you will be good to go. ...

How to rename a virtualenv in Python??

By default virtualenv does not support the renaming of environments. It is safer to just delete the virtualenv directory and create a new ...

Using itextsharp xmlworker to convert html to pdf and write text vertically?

This was a pretty interesting problem, so +1 to the question. The first step was to lookup whether or not iTextSharp XML Worker supports...

Writing to a file in Apache Spark?

create RDD with your data (int/string) using Seq: see parallelized-collections for details: sc.parallelize(Seq(5)) //for writing int (5)...

CardView not showing Shadow in Android L?

After going through the docs again, I finally found the solution. Just add card_view:cardUseCompatPadding="true" to your CardView and sha...

Oracle how to convert time in UTC to the local time (offset information is missing)?

Oracle Setup: CREATE TABLE table_name ( value ) AS SELECT DATE '2016-07-13' FROM DUAL; Query: SELECT TO_CHAR( FROM_TZ( CAST( ...

How do I remove all non-ASCII characters with regex and Notepad++??

This expression will search for non-ASCII values: [^\x00-\x7F]+ Tick off 'Search Mode = Regular expression', and click Find Next. Sour...

Where is PHP.ini in Mac OS X Lion? Thought it was in /usr/local/php5/lib?

You should find it in /private/etc if it exists, otherwise: sudo cp /private/etc/php.ini.default /private/etc/php.ini ...

What is the difference between CurrentCulture and CurrentUICulture properties of CultureInfo in .NET??

CurrentCulture is the .NET representation of the default user locale of the system. This controls default number and date formatting and t...

Split html source into multiple files?

It is easily possible, if you are running PHP: The PHP Language has the "include" command built in. Therefore you can have your "index.ph...

Why would you use `extern void my_func();` rather than including `my_utils.h`??

This is only needed if, for some reason, the header file doesn't declare the function. And extern is always unnecessary for functions, as...

putty - server unexpectedly closed network connection on windows?

To create and save a new keep-alive connection, follow these steps: Open the PuTTY application, and go to the Options panel (labeled "Ca...

Clipping image/remove background programmatically in Python?

I used OpenCV's implementation of watershed algorithm to solve your problem. You can find out how to use it if you read this great tutoria...