Vertically centering a div inside another div

tl;dr Vertical align middle works, but you will have to use table-cell on your parent element and inline-block on the child. This solution is not going to work in IE6 & 7.Yours is the safer way to go for those.But since you tagged your question with CSS3 and HTML5 I was thinking that you don’t mind using a modern … Read more

How to override !important?

Overriding the !important modifier Simply add another CSS rule with !important, and give the selector a higher specificity (adding an additional tag, id or class to the selector) add a CSS rule with the same selector at a later point than the existing one (in a tie, the last one defined wins). Some examples with a … Read more

Viewing all defined variables

A few things you could use: dir() will give you the list of in scope variables: globals() will give you a dictionary of global variables locals() will give you a dictionary of local variables

OpenSSL: PEM routines:PEM_read_bio:no start line:pem_lib.c:703:Expecting: TRUSTED CERTIFICATE

Since you are on Windows, make sure that your certificate in Windows “compatible”, most importantly that it doesn’t have ^M in the end of each lineIf you open it it will look like this:—–BEGIN CERTIFICATE—–^M MIIDITCCAoqgAwIBAgIQL9+89q6RUm0PmqPfQDQ+mjANBgkqhkiG9w0BAQUFADBM^M To solve “this” open it with Write or Notepad++ and have it convert it to Windows “style” Try to run openssl x509 -text -inform … Read more