This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ADMIN save quit msg part me join set mode | |
ADMINCHANNEL unquiet topic kickban kick tmask showmask quiet | |
unban ban | |
ADMINLIST accesslevel botadmins | |
ANNOUNCE announce | |
CALC py c |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
node *find_loop(node *head) | |
{ | |
node *p1; | |
node *p2; | |
if (head == NULL) | |
return (NULL); | |
p1 = head; | |
p2 = head; | |
while (p2->next != NULL && p2->next->next != NULL) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const MAX = 100 * 1000 * 1000; // 100 million | |
function powself(number) { | |
if (number === 0) { | |
return NaN; // matt does not like zero. | |
} else { | |
return Math.pow(number, number); | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
define( 'INDENT', ' ' ); | |
$files = shell_exec( | |
'git -C ' . escapeshellarg( __DIR__ ) . | |
' ls-tree --name-only -r HEAD' | |
); | |
if ( !$files ) { |
OlderNewer