type below:
brew update
brew install redis
To have launchd start redis now and restart at login:
brew services start redis
number = abs(float(raw_input("Calculate square root of? "))) | |
lowerBound = abs(float(raw_input("Lower bound value? "))) | |
upperBound = abs(float(raw_input("Upper bound value? "))) | |
epsilon = 0.001 | |
while True: | |
guess = (lowerBound + upperBound) / 2 | |
difference = guess**2 - number | |
if abs(difference) <= epsilon: |
type below:
brew update
brew install redis
To have launchd start redis now and restart at login:
brew services start redis
@font-face { | |
font-family: 'Fira Code'; | |
src: url("https://cdn.rawgit.com/dunovank/jupyter-themes/1e851888/jupyterthemes/fonts/monospace/firacode/firacode.otf") format("opentype"); | |
} | |
.CodeMirror { | |
font-family: 'Fira Code'; | |
font-variant-ligatures: initial; | |
} |