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
process.stdin.resume() | |
process.stdin.setEncoding('utf8') | |
console.log('How old are you ?') | |
process.stdin.on('data', (number) => { | |
if (isNaN(number)){ | |
console.log ("type a number please") | |
} | |
else{ | |
if(number<99 && number>0){ |
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
import * as assert from 'assert'; | |
class BankCustomer{ | |
private name:string; | |
private pinInput: string; | |
constructor(name:string, pinInput:string){ |
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
class Person{ | |
name:string; | |
age:number; | |
constructor(name: string, age: number){ | |
this.name = name; | |
this.age = age; | |
} |
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 hello(name:string) { | |
console.log("Hello " + name); | |
} | |
var firstName:string = "bob"; | |
hello(firstName); | |
hello(firstName + " marley"); | |
function concat(a:string, b:string) { |
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
# If you come from bash you might have to change your $PATH. | |
# export PATH=$HOME/bin:/usr/local/bin:$PATH | |
# Path to your oh-my-zsh installation. | |
export ZSH="/Users/emilybremond/.oh-my-zsh" | |
# Set name of the theme to load --- if set to "random", it will | |
# load a random theme each time oh-my-zsh is loaded, in which case, | |
# to know which specific one was loaded, run: echo $RANDOM_THEME | |
# See https://github.com/robbyrussell/oh-my-zsh/wiki/Themes |
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
22 ls | |
23 cat people | |
24 grep "Lubomir Frank" people | grep "Pape Kantarci" | grep "Alberto Pedersen" | grep "Joe Germuska" | grep "Marharyta Willmott" | grep "Jeremy Bowers" | grep "Darae Charlos" | grep "Jacqui Maher" people | |
25 grep "Lubomir Frank" people | grep "Pape Kantarci" | grep "Alberto Pedersen" | grep "Joe Germuska" | grep "Marharyta Willmott" | grep "Jeremy Bowers" | grep "Darae Charlos" | grep "Jacqui Maher" people > suspect3 | |
26 ls | |
27 cat suspect3 | |
28 rm suspect3 | |
29 ls | |
30 cat membership | |
31 cat memberships |
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
{ | |
"Simple Console Log": { | |
"prefix": "csl", | |
"body": "console.log($1);", | |
"description": "Simple Console Log" | |
}, | |
"Array methods": { | |
"prefix": "arrmtd", |
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
<!DOCTYPE html> | |
<html lang="fr"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Document</title> | |
</head> | |
<body> | |
<script src="myFavMovie.js"></script> | |
</body> | |
</html> |
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
536 homebrew -get install -y tree wget unzip | |
537 brew install wget tree unzip | |
538 cd /users/emilybremond/quetes/shell | |
539 wget https://github.com/bhubr/bhubr.github.io/raw/master/wild/planets.zip | |
540 unzip planets.zip | |
541 ls | |
542 cd planet | |
543 cd planets | |
544 ls | |
545 mkdir -p telluric/gas-giants/dwarf-planets |
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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name='viewport' | |
content='width=device-width, initial-scale=1.0, maximum-scale=1.0' /> | |
<title>Find the precious!</title> | |
<link rel="stylesheet" href="style.css"> | |
</head> | |