#simple- cd to directory with the git initialized and pull origin develop or master echo "Running deployment" cd /var/www/html git pull origin develop echo "Repo updated with develop"`
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
class BSTnode(object): | |
""" | |
Representation of a node in a binary search tree. | |
Has a left child, right child, and key value, and stores its subtree size. | |
""" | |
def __init__(self, parent, t): | |
"""Create a new leaf with key t.""" | |
self.key = t | |
self.parent = parent | |
self.left = None |
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
function parseExpression(program) { | |
program = skipSpace(program); | |
var match, expr; | |
if (match = /^"([^"]*)"/.exec(program)) { | |
expr = {type: "value", value: match[1]}; | |
} else if (match = /^\d+\b/.exec(program)) { | |
expr = {type: "value", value: Number(match[0])}; | |
} else if (match = /^[^\s(),"]+/.exec(program)) { | |
expr = {type: "word", name: match[0]}; |