This file contains 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
(function() { | |
var players = {}; | |
var standings = []; | |
var rounds = []; | |
var WIN_POINTS = 3; | |
var DRAW_POINTS = 1; | |
var LOSE_POINTS = 0; | |
var addPlayer = function(name) { |
This file contains 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
for file in *; do if [ -d $file ]; then cd $file; git pull; cd ..; fi done |
This file contains 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
#include <stdio.h> | |
#include <limits.h> | |
// A macro to return a string of word true or false based on the evaluation given. | |
#define boolToString(_bool_) ((_bool_) ? "true" : "false") | |
// A very simple tree | |
typedef struct _TreeNode | |
{ | |
struct _TreeNode *left; |