Skip to content

Instantly share code, notes, and snippets.

View tukan's full-sized avatar

Timothy N. Tsvetkov tukan

  • Vilnius, Lithuania
View GitHub Profile
@tukan
tukan / gist:7658085
Last active December 29, 2015 10:39
{
"header":{
"showdown":{
"freewalk":"show",
"SERGO LAVROV":"show"
},
"currency":"USD",
"bb_player":"lucylooose",
"table":{
"button":5,
@tukan
tukan / gist:7641279
Created November 25, 2013 13:36
Пример посчитанного preflopvis для всех позиций и ситуации open-raise.
{
"situation":"open_raise",
"position":null,
"upload_hands_item_id":"526ed331ce34de6612a66390",
"created_at":"2013-10-29T01:12:17.178Z",
"updated_at":"2013-10-29T01:12:17.178Z",
"upload_hands_item_date":"2013-10-29T01:12:17.178Z",
"columns":[
{
"aposteriori_share":"0.33282",
PokerStars Hand #89403337611: Omaha Pot Limit ($1/$2 USD) - 2012/11/17 17:53:11 ET
Table 'Barto VII' 6-max Seat #6 is the button
Seat 1: Garrincha_90 ($201.46 in chips)
Seat 2: guido0815 ($287.40 in chips)
Seat 3: tiltONNN ($194.02 in chips)
Seat 4: stdjog12 ($200 in chips)
Seat 5: krondix ($904.63 in chips)
Seat 6: djann85 ($118.30 in chips)
Garrincha_90: posts small blind $1
guido0815: posts big blind $2
@tukan
tukan / test.txt
Last active December 27, 2015 11:29
PokerStars Hand #89437823299: Omaha Pot Limit ($1/$2 USD) - 2012/11/18 12:14:54 ET
Table 'Laocoon II' 6-max Seat #4 is the button
Seat 1: IamMoved ($126.25 in chips)
Seat 2: JNandez87 ($239.14 in chips)
Seat 3: //Opel//433 ($117 in chips)
Seat 4: krondix ($533.35 in chips)
Seat 5: Garrincha_90 ($204 in chips)
Seat 6: Tiltkorv ($203 in chips)
Garrincha_90: posts small blind $1
Tiltkorv: posts big blind $2
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import libHandParser
def check_file(fname):
parser = libHandParser.PyDictConverter()
hands = parser.ParseFile(fname)
PokerStars Hand #88666254697: Omaha Pot Limit ($2/$4 USD) - 2012/11/03 12:09:42 ET
Table 'Lyyli III' 6-max Seat #4 is the button
Seat 1: JNandez87 ($1203.20 in chips)
Seat 2: krondix ($432.38 in chips)
Seat 3: Halfprice ($225.96 in chips)
Seat 4: no respect33 ($240 in chips)
Seat 5: gui.lab81 ($929.64 in chips)
Seat 6: MiPwnYa ($400 in chips)
gui.lab81: posts small blind $2
MiPwnYa: posts big blind $4
PokerStars Hand #89437823299: Omaha Pot Limit ($1/$2 USD) - 2012/11/18 12:14:54 ET
Table 'Laocoon II' 6-max Seat #4 is the button
Seat 1: IamMoved ($126.25 in chips)
Seat 2: JNandez87 ($239.14 in chips)
Seat 3: //Opel//433 ($117 in chips)
Seat 4: krondix ($533.35 in chips)
Seat 5: Garrincha_90 ($204 in chips)
Seat 6: Tiltkorv ($203 in chips)
Garrincha_90: posts small blind $1
Tiltkorv: posts big blind $2
@tukan
tukan / gist:7243562
Created October 31, 2013 02:31
Parser crash
Process: Python [2287]
Path: /usr/local/Cellar/python/2.7.5/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python
Identifier: Python
Version: 2.7.5 (2.7.5)
Code Type: X86-64 (Native)
Parent Process: zsh [37518]
Responsible: iTerm [208]
User ID: 501
Date/Time: 2013-10-31 06:30:55.204 +0400
Process: Python [838]
Path: /usr/local/Cellar/python/2.7.5/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python
Identifier: Python
Version: 2.7.5 (2.7.5)
Code Type: X86-64 (Native)
Parent Process: zsh [37518]
Responsible: iTerm [208]
User ID: 501
Date/Time: 2013-10-31 06:12:27.031 +0400
Extension('libHandParser',
libraries=['boost_python-mt', 'boost_regex-mt'],
include_dirs = ['/usr/local/include', 'include'],
library_dirs=['/usr/local/lib'],
sources=[
'HandParsing/src/HandParserStars.cpp',
'HandParsing/src/LineParser.cpp',
'HandParsing/src/PyParserPokerStars.cpp'
])