On Development


Git Info — Almost Like “svn info”

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

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

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 Star­r’s Per­ish­able Press arti­cle. If you are com­plete­ly new to this tech­nique, it orig­i­nat­ed 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 vBul­letin-based forums (and/or gen­er­al sites), you might want to try adding the fol­low­ing meta-tag in your HEAD sec­tion:

<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­nect­ed 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­lar­ly 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 most­ly in the scope of this Blue­print theme). The files that we’re most­ly 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 end­ed up with.

Con­tin­ue read­ing →