Popular recipes tagged "meta:loc=261"http://code.activestate.com/recipes/tags/meta:loc=261/2013-06-24T05:03:10-07:00ActiveState Code RecipesPoker hand calculation and comparison (Tcl)
2013-06-24T05:03:10-07:00Magnus Åhmanhttp://code.activestate.com/recipes/users/4180631/http://code.activestate.com/recipes/578539-poker-hand-calculation-and-comparison/
<p style="color: grey">
Tcl
recipe 578539
by <a href="/recipes/users/4180631/">Magnus Åhman</a>
(<a href="/recipes/tags/poker/">poker</a>).
Revision 2.
</p>
<p>Calculates 1. the category of the hand (high card, one pair, etc...) and 2. the "kicker" values that act as tiebreakers to (possibly) distinguish two hands of the same category from each other. These two attributes, category and kickers, are then used by the cmp method to compare two hand objects and return -1, 0 or 1.</p>
Fractal painter (Python)
2012-02-17T04:07:45-08:00James Coliinshttp://code.activestate.com/recipes/users/4167379/http://code.activestate.com/recipes/578044-fractal-painter/
<p style="color: grey">
Python
recipe 578044
by <a href="/recipes/users/4167379/">James Coliins</a>
(<a href="/recipes/tags/art/">art</a>, <a href="/recipes/tags/fractal/">fractal</a>).
</p>
<p>Creates a semi random image, similar to a Jackson Pollock or Monet painting.</p>
Cloudscape - unlock database. (Tcl)
2005-12-07T23:08:15-08:00Patrick Finneganhttp://code.activestate.com/recipes/users/1220635/http://code.activestate.com/recipes/461736-cloudscape-unlock-database/
<p style="color: grey">
Tcl
recipe 461736
by <a href="/recipes/users/1220635/">Patrick Finnegan</a>
(<a href="/recipes/tags/database/">database</a>).
</p>
<p>Unlock a cloudscape database that has been locked for readonly access.</p>