Remove hint.html and index.html
As per discussions on GitHub the index.html and hint.html files should be deleted in favour of README.md files (from any .text/.txt/.markdown/.md files which will be turned into README.md in an upcoming commit).
This commit is contained in:
1 parent
ee8a36310f
commit
77fb0f11a2
143 files changed
-28606
No files matched your search
@@ -1,108 +0,0 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<html>
|
||||
<head>
|
||||
<meta name="GENERATOR" content="mkd2html 2.1.5a DL=DISCOUNT">
|
||||
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=utf-8">
|
||||
<link rel="stylesheet"
|
||||
type="text/css"
|
||||
href="../hint.css">
|
||||
<title>Most tweetable entry</title>
|
||||
</head>
|
||||
<body>
|
||||
<h1>Most tweetable entry</h1>
|
||||
|
||||
<p>Sandro Maffiodo<br>
|
||||
<a href="mailto:smaffer@gmail.com">smaffer@gmail.com</a><br>
|
||||
<a href="http://www.assezeta.com/sandromaffiodo">http://www.assezeta.com/sandromaffiodo</a></p>
|
||||
|
||||
<h2>Judges' comments:</h2>
|
||||
|
||||
<h3>To build:</h3>
|
||||
|
||||
<pre><code>make
|
||||
</code></pre>
|
||||
|
||||
<h3>To run:</h3>
|
||||
|
||||
<pre><code>./prog arg
|
||||
</code></pre>
|
||||
|
||||
<h3>Try:</h3>
|
||||
|
||||
<pre><code>cat image.rgb | ./prog ' .,:;!$#@'
|
||||
</code></pre>
|
||||
|
||||
<h3>Selected Judges Remarks:</h3>
|
||||
|
||||
<p>On the face of it :-) given what this program one might wonder what makes this winner special.
|
||||
But when you realize the source is small enough to tweet on twitter you understand.</p>
|
||||
|
||||
<p>Who will be the first to tweet this source? How many re-tweets will such tweet get?
|
||||
And how many people will really understand the tweet?</p>
|
||||
|
||||
<h2>Author’s comments:</h2>
|
||||
|
||||
<h3>Remarks</h3>
|
||||
|
||||
<p>This program convert an image to an ASCII ART. The program reads a raw RGB image from <strong>stdin</strong> and print the ASCII ART to <strong>stdout</strong>.</p>
|
||||
|
||||
<p>The build process will raise some warnings about:</p>
|
||||
|
||||
<ul>
|
||||
<li>declaration specifier missing, defaulting to ‘int’</li>
|
||||
<li>implicitly declaring library function</li>
|
||||
</ul>
|
||||
|
||||
|
||||
<p>The program crash if run without parameters.</p>
|
||||
|
||||
<h3>Screen size</h3>
|
||||
|
||||
<p>If you have a terminal geometry than if different from the common 80x25 you can modify the <em>output width</em> by changing the value of the first variable:</p>
|
||||
|
||||
<pre><code>d=80
|
||||
</code></pre>
|
||||
|
||||
<h3>Something to try</h3>
|
||||
|
||||
<p>Type this:</p>
|
||||
|
||||
<pre><code>cat image.rgb | ./prog " .:;Y0"
|
||||
</code></pre>
|
||||
|
||||
<p>You can use your own image. Convert the image to a raw RGB image, using imagemagick it’s very simple:</p>
|
||||
|
||||
<pre><code>convert -geometry 80x source.jpg image.rgb
|
||||
</code></pre>
|
||||
|
||||
<p>This program require one parameter, or crash. The parameter of the program is the <em>convertion ramp</em>. You can use different ramps or create your own (for ex. using some letters of your name).
|
||||
These are some ramps you can try:</p>
|
||||
|
||||
<pre><code>./prog " :1"
|
||||
./prog " .:;Y0"
|
||||
./prog " .:-=+*#%@"
|
||||
./prog " .,:!-iots&8%#@$"
|
||||
./prog "$@B%8&WM#*oahkbdpqwmZO0QLCJUYXzcvunxrjft/\|()1{}[]?-_+~<>i!lI;:,"^`'. "
|
||||
</code></pre>
|
||||
|
||||
<h3>121 byte version</h3>
|
||||
|
||||
<p>An alternative version of this program is only 121bytes long:</p>
|
||||
|
||||
<pre><code>d=80,e,j;g(){j+=getchar();}main(){for(;;){j=0;g();if(j<0)break;g(g());putchar(" .:#@"[j/3*5>>8]);if(!(++e%d))puts("");}}
|
||||
</code></pre>
|
||||
|
||||
<p>This alternative version have a <strong>fixed ramp</strong>. It’s smaller but it’s not so fun to use…</p>
|
||||
|
||||
<hr />
|
||||
|
||||
<TABLE><TR>
|
||||
<TD><a rel="license" href="http://creativecommons.org/licenses/by-sa/3.0/"><img alt="Creative Commons License" style="border-width:0" src="http://i.creativecommons.org/l/by-sa/3.0/88x31.png" /></a></TD>
|
||||
<TD><P>© Copyright 1984-2015,
|
||||
<A HREF="/judges.html">Leo Broukhis, Simon Cooper, Landon Curt Noll</A>
|
||||
- All rights reserved<BR>
|
||||
This work is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by-sa/3.0/">Creative Commons Attribution-ShareAlike 3.0 Unported License</a>.</P></TD>
|
||||
<TD> <!--<a href="http://validator.w3.org/check?uri=referer"><img src="http://www.w3.org/Icons/valid-html401" alt="Valid HTML 4.01 Transitional" height="31" width="88"></a>--></TD>
|
||||
</TR></TABLE>
|
||||
</body>
|
||||
</html>
|
||||
Reference in new issue
Block a user