Popular recipes tagged "meta:loc=239"http://code.activestate.com/recipes/tags/meta:loc=239/2015-01-14T11:14:06-08:00ActiveState Code RecipesBader-Offer Method (Hagenbach-Bischoff) (JavaScript)
2015-01-14T11:14:06-08:00elazarhttp://code.activestate.com/recipes/users/4187847/http://code.activestate.com/recipes/579002-bader-offer-method-hagenbach-bischoff/
<p style="color: grey">
JavaScript
recipe 579002
by <a href="/recipes/users/4187847/">elazar</a>
(<a href="/recipes/tags/calculation/">calculation</a>).
</p>
<p>A recipe for calculating the seats allocated to each party in the Knesset.</p>
<p>More information:</p>
<ul>
<li><a href="http://www.knesset.gov.il/lexicon/eng/seats_eng.htm" rel="nofollow">http://www.knesset.gov.il/lexicon/eng/seats_eng.htm</a></li>
<li><a href="https://en.wikipedia.org/wiki/Hagenbach-Bischoff_system" rel="nofollow">https://en.wikipedia.org/wiki/Hagenbach-Bischoff_system</a></li>
<li>(Hebrew) <a href="http://bechirot.gov.il/election/about/Pages/CalculatingSeatsMethod.aspx" rel="nofollow">http://bechirot.gov.il/election/about/Pages/CalculatingSeatsMethod.aspx</a></li>
<li>(Hebrew) <a href="http://main.knesset.gov.il/About/Lexicon/Pages/seats.aspx" rel="nofollow">http://main.knesset.gov.il/About/Lexicon/Pages/seats.aspx</a></li>
</ul>
OS2::UPM (undef) (Perl)
2012-09-30T19:25:20-07:00Roger Mbiama Assogohttp://code.activestate.com/recipes/users/4182949/http://code.activestate.com/recipes/578273-os2upm-undef/
<p style="color: grey">
Perl
recipe 578273
by <a href="/recipes/users/4182949/">Roger Mbiama Assogo</a>
(<a href="/recipes/tags/bug/">bug</a>, <a href="/recipes/tags/reportlab/">reportlab</a>).
</p>
<p>The CPAN Testers Family: Os: linux apache(kernel)</p>
Python Database Interface for MS SQL Server (Python)
2010-06-04T14:31:44-07:00Jorge Besadahttp://code.activestate.com/recipes/users/100038/http://code.activestate.com/recipes/144183-python-database-interface-for-ms-sql-server/
<p style="color: grey">
Python
recipe 144183
by <a href="/recipes/users/100038/">Jorge Besada</a>
(<a href="/recipes/tags/database/">database</a>).
Revision 11.
</p>
<p>This DBI implements the Cursor and Connection objects. It is functional: you can create connections, cursors, do fetchone, fetchall, get rowcount, etc. It uses osql or sqlcmd instead of ODBC or ADO. There is a good sized section with examples to get you started. </p>