Skip to content

Instantly share code, notes, and snippets.

View binarypie's full-sized avatar

Charles Christolini binarypie

View GitHub Profile
So I try another dictionary! Webster's New World Dictionary
says: "[POLY- + [BI)NOMIAL]", which sends me to look up the word
binomial. This says, indeed, "[< LL binomius < bi- + Gr. nomos, law
+ -AL]". It is defined as "a mathematical expression consisting of
two terms connected by a plus or minus sign." Hmm... maybe each term
was considered to be a "law" or rule, and a binomial tells you to
follow both rules, then add the results together.
I know one good Web source that may be able to clear up the matter:
@binarypie
binarypie / Comcast Troubleshooting
Created October 25, 2009 21:03
Troubleshooting issues with comcast
Testing Notes:
1) Resetting the modem has done nothing
2) Connecting my computer directly to the modem has done nothing
3) Line test shows some packet loss: http://www.dslreports.com/linequality/nil/2579328
4) Bandwidth tests show normal for local sites and less than 1/10th normal speed from the east coast
5) Surfing is hit of miss. Sometimes the site loads sometimes i have to refresh the page a couple times to get it to load.
6) Steaming video or flash is impossible. Worse than dial up. Its not slow to stream it just stops streaming the middle never to continue
7) Traces are hit for miss. Some work some timeout after 64 hops.
@binarypie
binarypie / styleguide.php
Created September 2, 2009 16:45
PHP Code Style Guideline
<?php
/**
* Please use doxygen notatin when creating documentation for classes and functions
* Code indentation is 4 spaces DO NOT USE TABS!!
*
* @param object $object This object does something
* @param int $options This integer can count by one
* @return echos json This function returns something
*/
try {
Routes::map(array({
'/do/some/(?P<thing>\w+)' => 'Thing::do',
}));
} catch (PathNotFoundException $e) {
echo '<p>404 Error:</p><p>'.$e->getMessage().'</p>Allowed Urls:<hr />';
foreach ($urls as $path => $function) {
echo $path.' => '.$function.'<br />';
}
} catch (Exception $e) {