samhuri.net/public/posts/2008/03/project-euler-code-repo-in-arc.md
Sami Samhuri b34ddbb600 fix code blocks on narrow screens, change post extensions
- Code blocks can't be in tables or they extend past the body width.
  Workaround by using floated line numbers instead.

- Fix typocode CSS

- Change post extension from .html.md to .md. This makes URLs without
  extensions work with harp server again. This change works now that
  article titles never contain periods.
2014-03-03 22:47:21 -08:00

8 lines
797 B
Markdown

Release early and often. This is a code repo web app for solutions to <a href="http://projecteuler.net/">Project Euler</a> problems. You can only see your own solutions so it's not that exciting yet (but it scratches my itch... once it highlights syntax). You can <a href="http://nofxwiki.net:3141/euler">try it out</a> or <a href="http://samhuri.net/euler.tgz">download the source</a>. You'll need an up-to-date copy of <a href="http://arcfn.com/2008/02/git-and-anarki-arc-repository-brief.html">Anarki</a> to untar the source in. Just run <strong>arc.sh</strong> then enter this at the REPL:
<pre><code>arc&gt; (load "euler.arc")
arc&gt; (esv)
</code></pre>
That will setup the web server on port 3141. If you want a different port then run <code>(esv 25)</code> (just to mess with 'em).