Here is a description of `Finger Binary in Wikipedia`_.
Finger binary is a system for counting and displaying binary numbers on the
Here is a description of `Finger Binary in Wikipedia`_.
Finger binary is a system for counting and displaying binary numbers on the
| {,}; |
| $ curl -H"Accept: application/json" "http://www.hangulize.org/langs" | |
| { | |
| "length": 38, | |
| "langs": [ | |
| { | |
| "iso639-1": "az", | |
| "iso639-2": "aze", | |
| "code": "aze", | |
| "name": "Azerbaijani", | |
| "iso639-3": "aze" |
| x='print"x=\'%s\'\\n%s"%(x.replace("\\\\","\\\\\\\\").replace("\'","\\\\\'"),x)' | |
| print"x='%s'\n%s"%(x.replace("\\","\\\\").replace("'","\\'"),x) |
| @suite.test | |
| def deprecated(): | |
| r1, r2, r3 = Rating(), Rating(), Rating() | |
| with warnings.catch_warnings(record=True) as w: | |
| warnings.simplefilter('always', DeprecationWarning) | |
| transform_ratings([(r1,), (r2,), (r3,)]) | |
| match_quality([(r1,), (r2,), (r3,)]) | |
| assert len(w) == 2 | |
| assert w[0].category is DeprecationWarning | |
| assert w[-1].category is DeprecationWarning |
| """ | |
| spawn... | |
| 3.56747082911 | |
| builtin_function_or_method 100727 | |
| 18.2844139451 | |
| dict 200500 | |
| 20.1863144234 | |
| dict 300500 | |
| 22.0894001079 | |
| dict 400500 |
| # Question: http://www.coinheist.com/rubik/a_regular_crossword/grid.pdf | |
| # My Answer: http://sphotos-h.ak.fbcdn.net/hphotos-ak-prn1/534798_4778312810689_972807554_n.jpg | |
| import re | |
| assert re.match(r'.*H.*H.*', 'NHPEHAS') | |
| assert re.match(r'(DI|NS|TH|OM)*', 'DIOMOMTH') | |
| assert re.match(r'F.*[AO].*[AO].*', 'FOXNXAXPH') | |
| assert re.match(r'(O|RHH|MM)*', 'MMOMMMMRHH') | |
| assert re.match(r'.*', 'MCXNMMCRXEM') | |
| assert re.match(r'C*MC(CCC|MM)*', 'CMCCCCMMMMMM') |
| # -*- coding: utf-8 -*- | |
| """ | |
| <`Comedy Big League`_ Season 4> TrueSkill rating calculator | |
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
| This small code collects match results and calculate `TrueSkill`_ ratings | |
| of the teams. The match results are provided from `Enhawiki mobile | |
| mirror`_. | |
| It depends on :mod:`trueskill`, :mod:`ranking`, :mod:`lxml` and |
| # -*- coding: utf-8 -*- | |
| from collections import namedtuple | |
| from ranking import Ranking | |
| Player = namedtuple('Player', ['score', 'weight']) | |
| players = [Player(100, 1), Player(80, 1), Player(80, 2.5), Player(80, 2.5), | |
| Player(70, 1), Player(60, 1.5), Player(60, 1.5)] |