Tag: Development

  • Bash Completion, Along with SVN and Git Tab Completion

    Time is precious. I installed these utilities to save some of it: bash-completion svn-completion git-completion I install bash-completion via MacPorts on my Macs. sudo port install bash-completion I then saved this svn-completion script to locally, and did a sudo cp: sudo cp bash_completion /opt/local/etc/bash_completion.d/svn-completion.sh Note: “bash_completion” is the file linked on “svn-completion script“. I hope…

  • Git Info – Almost Like “svn info”

    I have been trying to find something like svn info but for Git. Luckily, I stumbled upon Duane Johnson’s script. Here’s git-info.sh: [gist id=3937631 file=git-info.sh bump=1] I made an alias in my .profile to make it a bit more accessible: [gist id=3937631 file=.profile]

  • 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 information on the update, have a read over at Jeff Starr’s…

  • vBulletin and Internet Explorer 8 Compatibility

    If you are experiencing some display issues in IE8 with your vBulletin-based forums (and/or general sites), you might want to try adding the following meta-tag in your HEAD section: … … You may get more info about this meta-tag and issues that might be connected with IE8’s strictness at the IEBlog, and/or via this Microsoft…

  • Cleaner Gallery Markup in WordPress

    As of WordPress 2.7, the shortcode still spits out invalid XHTML markup, as well as add style rules in the middle of the page which causes error during markup validation.