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
| module.exports = function romanToArabic (num){ | |
| let romans = {M:1000,CM:900,D:500,CD:400,C:100,XC:90,L:50,XL:40,X:10,IX:9,V:5,IV:4,I:1}; | |
| let letter='' | |
| let resultado= '' | |
| let valor = 0 | |
| for (letter in romans ){ | |
| valor = romans[letter] | |
| while (num >= valor){ | |
| resultado += letter |
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
| 420 cd desktop | |
| 421 cd projectos | |
| 422 cd quest_unix | |
| 423 ls | |
| 424 cat clmystery-master/ | |
| 425 cd clmystery-master/ | |
| 426 ls | |
| 427 cat hint5 | |
| 428 head -n 173 streets/Mattapan_Street | tail -n 1 | |
| 429 cat instructions |
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 Vehicle{ | |
| constructor(color, model){ | |
| this.color= color; | |
| this.model= model; | |
| } | |
| sayModel(){console.log('My model is &{this.model}'); | |
| } | |
| sayColor(){console.log('My color is &{this.color}') |
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
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="utf-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1"> | |
| <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css" > | |
| <link rel="stylesheet" href="sauron.css"> | |
| <title>Sauron's Eye</title> | |
| </head> |
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
| body { | |
| font-family: Arial, Helvetica, sans-serif; | |
| } | |
| .gandalf{ | |
| position:relative; | |
| max-width: 500px; | |
| height: 580px; | |
| text-align: center; |
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
| process.stdin.resume() | |
| process.stdin.setEncoding('utf8') | |
| console.log('How old are you ? ') | |
| process.stdin.on('data', (age) => { | |
| console.log('you are' + age.trim() +'years old') | |
| if (age > 99){ | |
| console.log ('Too old') | |
| } else { | |
| var year = 2019; |
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
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <title>Find The Precious</title> | |
| <meta charset= UTF-8/> | |
| <meta name="description" content="First quest Wild Code School"/> | |
| <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css" /> | |
| <link rel="stylesheet" href="misEstilos.css" /> | |
| </head> |
NewerOlder