Skip to content

Instantly share code, notes, and snippets.

View dandv's full-sized avatar
🔍
Consulting for Anthropic

Dan Dascalescu dandv

🔍
Consulting for Anthropic
View GitHub Profile
use strict;
my $content = '=toc<br />
=toc 2-4<br />
<p>=toc 2</p>
<div id="stff">=toc -3<br />
<p>=toc 2-</p>
';
my ($toc_h_min, $toc_h_max);
#!/usr/local/bin/python
import string, sys
# If no arguments were given, print a helpful message
if len(sys.argv)==1:
print 'Usage: celsius temp1 temp2 ...'
sys.exit(0)
# Loop over the arguments
@dandv
dandv / gist:29323
Created November 26, 2008 08:35
Syntax highlight still doesn't work
#! perl -w
use strict;
my $content = '=toc<br />
=toc 2-4<br />
<p>=toc 2</p>
<div id="stff">=toc -3<br />
<p>=toc 2-</p>
';