Skip to content

Instantly share code, notes, and snippets.

Avatar

Alex Chuchunkov madfriend

  • Yandex, OpenCorpora
  • St. Petersburg, Russia
View GitHub Profile
View data.csv
We can make this file beautiful and searchable if this error is corrected: It looks like row 5 should actually have 10 columns, instead of 6. in line 4.
Stage, Ref L max, Ref L avg, Ref D max, Ref D avg, MT L max, MT L avg, MT D max, MT D avg,
Role id, 0.959, 0.803, 0.778, 0.582, 0.956, 0.795, 0.667, 0.501,
Role class, 0.862, 0.715, 0.574, 0.466, 0.881, 0.721, 0.525, 0.434,
Actions, 0.979, 0.821, 0.917, 0.650, 0.971, 0.839, 0.700, 0.577,
Actions align, 0.908, 0.737, 0.429, 0.332,
Role align, 0.709, 0.523, 0.378, 0.266,
@madfriend
madfriend / ColorCLI.php
Created Oct 10, 2012 — forked from donatj/ColorCLI.php
Simple CLI color class
View ColorCLI.php
<?php
class Colorize {
static $foreground_colors = array(
'bold' => '1', 'dim' => '2',
'black' => '0;30', 'dark_gray' => '1;30',
'blue' => '0;34', 'light_blue' => '1;34',
'green' => '0;32', 'light_green' => '1;32',
'cyan' => '0;36', 'light_cyan' => '1;36',