Skip to content

Instantly share code, notes, and snippets.

@meye
meye / flight-2008-arr-out.tsv
Created January 13, 2018 07:05
2008년 월별 미국 항공 도착 지연 건수 (https://github.com/scalagolf/spark/wiki)
We can make this file beautiful and searchable if this error is corrected: No tabs found in this TSV file in line 0.
2008,1 279427
2008,2 278902
2008,3 294556
2008,4 256142
2008,5 254673
2008,6 295897
2008,7 264630
2008,8 239737
2008,9 169959
2008,10 183582
@meye
meye / flight-2008-dep-out.tsv
Created January 13, 2018 07:04
2008년 월별 미국 항공 출발 지연 건수 (https://github.com/scalagolf/spark/wiki)
We can make this file beautiful and searchable if this error is corrected: No tabs found in this TSV file in line 0.
2008,1 247948
2008,2 252765
2008,3 271969
2008,4 220864
2008,5 220614
2008,6 271014
2008,7 253632
2008,8 231349
2008,9 147061
2008,10 162531
<?php
// NOTE
// The following error types cannot be handled with a user defined function:
// E_ERROR, E_PARSE, E_CORE_ERROR, E_CORE_WARNING, E_COMPILE_ERROR, E_COMPILE_WARNING,
// and most of E_STRICT raised in the file where set_error_handler() is called.
set_error_handler(function ($errno, $errstr, $errfile, $errline) {
throw new ErrorException($errstr, $errno, $errno, $errfile, $errline);
});