On Development


Git Info — Almost Like “svn info”

I have been try­ing to find some­thing like svn info but for Git. Luck­ily, I stum­bled upon Duane Johnson’s script. Here’s git-info.sh:

I made an alias in my .pro­file to make it a bit more accessible:

Clearfix Revisited

The new style rules I’m using:

.clear:after {
    content:" ";
    display:block;
    height:0;
    clear:both;
    visibility:hidden;
    font-size:0;
}
.clear { display: inline-block; }
/* Hides from IE-mac \*/
* html .clear { height:1%; }
.clear { display:block; }
/* End hide from IE-mac */

For more infor­ma­tion on the update, have a read over at Jeff Starr’s Per­ish­able Press arti­cle. If you are com­pletely new to this tech­nique, it orig­i­nated from this arti­cle.

vBulletin and Internet Explorer 8 Compatibility

If you are expe­ri­enc­ing some dis­play issues in IE8 with your vBulletin-based forums (and/or gen­eral sites), you might want to try adding the fol­low­ing meta-tag in your HEAD section:

<head>
    ...
    <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7"/>
    ...
</head>

You may get more info about this meta-tag and issues that might be con­nected with IE8’s strict­ness at the IEBlog, and/or via this Microsoft Sup­port arti­cle.

Separate Pings/Trackbacks from Total Comment Count in WordPress

After tak­ing a look at some search results and at Matt Martz’ arti­cle, Sep­a­rat­ing Pings from Com­ments in Word­Press 2.7, I still had some issues with par­tic­u­larly the com­ment count. There were also a prob­lem with how the func­tions I have added/modified are being car­ried across in my tem­plates (but prob­a­bly are mostly in the scope of this Blue­print theme). The files that we’re mostly going to deal with are these ones: comments.php, functions.php and single.php.

Any­ways, I just want to note here how I took care of them and what I ended up with.

Con­tinue reading →