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
let opt = document.getElementsByClassName('grid-5') | |
const delta = parseFloat(opt[1].children[0].children[2].textContent) | |
const gamma = parseFloat(opt[1].children[1].children[2].textContent) | |
const theta = parseFloat(opt[1].children[2].children[2].textContent) | |
const vega = parseFloat(opt[1].children[3].children[2].textContent) | |
const rho = parseFloat(opt[1].children[4].children[2].textContent) | |
let price = parseFloat(document.getElementsByClassName('up')[0].children[0].children[0].textContent.replace( /[^0-9]/, '' )) |
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
2031 git clone https://gist.github.com/jonathanpeterwu/789c8d69344bd3c62f13 | |
2032 git clone https://gist.github.com/789c8d69344bd3c62f13.git | |
2033 ls | |
2034 mkdir CLI-Obstacle-Course | |
2035 mv 789c8d69344bd3c62f13 | |
2036 mv 789c8d69344bd3c62f13 source CLI-Obstacle-Course | |
2037 ls | |
2038 mkdir CLI-Obstacle-Course/ | |
2039 ls | |
2040 cd CLI-Obstacle-Course |
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 BoggleBoard | |
def initialize(dice_grid) | |
@boggle_board = dice_grid | |
end | |
def create_word(*coords) | |
coords.map { |coord| @boggle_board[coord.first][coord.last]}.join("") |
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
background: #a09; | |
background: linear-gradient(45deg, #c02, green); | |
min-height:100%; | |
text-align: center; | |