How To Convert HTML Entity Codes To Plain Text

Author: , April 10th, 2012

Using Perl: use HTML::Entities; my $plainText = decode_entities(‘Put text to convert here’); Using PHP: $plainText = html_entity_decode(‘Put text to convert here’,ENT_QUOTES,’UTF-8′);

How To Convert Fonts For Cross-Browser Compatibility

Author: , May 31st, 2011

A client wanted specific fonts on their website, and of course, the provided fonts did not work on IE. What a shocker. So I did some research, and found the most amazing site that does easy font conversion for free. Drumroll, please… It is called Font Squirrel, and all you need to do is upload […]

How To Get VIM to Create HTML from PERL

Author: , October 14th, 2009

:let html_use_css = 1 :let html_no_pre = 1 :let html_use_encoding = “utf-8” Use the “:TOhtml” user command. It is defined in a standard plugin. “:TOhtml” also works with a range and in a Visual area: > :10,40TOhtml After you save the resulting file, you can view it with any HTML viewer, such as Netscape. The […]

How to Convert DOS Line Breaks to UNIX in VIM

Author: , September 29th, 2009

How to Convert an SSH Public Key to an SSH2-compatible Format

Author: , September 27th, 2009

% ssh-keygen -x -f id_dsa > ssh2.pubkey