Blog Archives

Fun Fact

If you have: A WordPress site, using a theme based on the Responsive parent theme The Sermon Manager sermon management plugin A sermon series called “none”, for when your pastor preaches a sermon outside of a series You then get…

Posted in code, wordpress

Posted wp-markdown-syntaxhighlighter to WordPress Plugin Directory

I caved. I’m not proud of fine with it. The plugin is now available on the WordPress Plugin Directory. Fancy.

Posted in blogging, code, wordpress

wp-markdown-syntaxhighlighter 0.3

Changelog 0.3 Fixed case where both syntaxes could not be used in a single post Added support for the title parameter (default: empty) It feels like there’s not much left to do with this plugin until somebody else uses it

Posted in code

wp-markdown-syntaxhighlighter 0.2.1

It turns out that once I get bothered by something it doesn’t take me very long to work on it. I added an additional syntax to support passing all of the SyntaxHighlighter parameters in as JSON. The first method looks

Posted in code, wordpress

First WordPress Plugin: wp-markdown-syntaxhighlighter

I just put the finishing touches on version 0.1 of my very first WordPress plugin: wp-markdown-syntaxhighliter. I found a problem that I couldn’t easily solve with existing plugins, and so it made good sense to write one of my own.

Posted in code, wordpress

Rotating a Portrait-Mode Movie

I always forget how to do this: ffmpeg -i iphone-portrait-orientation.mov -b <bitrate-of-source-file>k iphone-portrait-orientation.avi mencoder -vf rotate=1 -o iphone-landscape-orientation.avi -oac copy -ovc lavc -lavcopts vbitrate=<bitrate-of-source-file> iphone-portrait-orientation.avi

Posted in *nix, code, geek life, how-to

Infinite Scroll and SyntaxHighlighter Evolved

I like the idea of AJAX pagination whenever it makes sense (e.g. I’m not looking at tabulated data that I want to play with), and so it bugged me that I couldn’t get SyntaxHighlighter Evolved and Infinite Scroll to behave nicely

Posted in code, software notes, wordpress

Fiddling with my vim statusline

This: function! FileSize() let bytes = getfsize(expand(“%:p”)) if bytes <= 0 return “” endif if bytes < 1024 return bytes else return (bytes / 1024) . “k” endif endfunction set statusline=%1* “color to user mode 1 set statusline+=%<%t%w%h%m%r “tail of

Tagged with: ,
Posted in code, how-to

XHTML 1.1 Strict New Window Links With jQuery

I was throwing together a prototype site last night and I thought it might be nice to aim for XHTML 1.1 Strict compliance, really just for kicks. Most of the time, this is no big deal, but I was stuck

Tagged with: , ,
Posted in code, how-to

Inserting video content into a LiveJournal comment

Yesterday I was looking for good instructions on inserting video content into a LiveJournal comment (for someone else) and couldn’t find any. So, after being successful, I felt it my geek duty to write up my directions in case, some

Tagged with: , , , ,
Posted in blogging, code, geek life, how-to