Created
December 13, 2014 11:01
-
-
Save anonymous/055a8fc90419b5beb9ba to your computer and use it in GitHub Desktop.
Revisions
-
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,9 @@ use HTML::FromANSI (); open (LOG, '>>hnchatlog.html'); select((select(LOG), $|=1)[0]); print LOG "<body bgcolor=black>\n"; while (<>) { my $h = HTML::FromANSI->new(); print LOG $h->ansi_to_html($_), "\n"; } This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1 @@ ssh [email protected] | tee >(perl loghn.pl)