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
1) SELECT * FROM wild.wizard WHERE birthday BETWEEN '1975-01-01' AND '1985-01-01'; | |
Result: | |
[ | |
{ | |
"id" : 1, | |
"firstname" : "harry", | |
"lastname" : "potter", | |
"birthday" : "1980-07-31", | |
"birth_place" : "london", | |
"biography" : "", |
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
// try this on console | |
var result = window.prompt("Hey my friend, do you like potatoes?") | |
if (result == "Yes") { | |
for (var i = 0; i < 7; i++) { | |
var hash = "#"; | |
console.log(hash.repeat([i]));} | |
} | |
else if (result == "No") { | |
window.alert("No potatoes for you.") |
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('What\'s your age ? ') | |
process.stdin.on('data', function (number) { | |
if (!Number(number)) { | |
console.log('eh?') | |
} | |
else if (number < 1) { | |
console.log('eh?') |
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
1 cd clmystery-master | |
2 la | |
3 ls | |
4 cd documents | |
5 ls | |
6 cd clmystery-master | |
7 ls | |
8 cd instructions | |
9 head instructions | |
10 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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<title>Bootstrap Example</title> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.0/css/bootstrap.min.css"> | |
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script> | |
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.0/js/bootstrap.min.js"></script> | |
<style> |
NewerOlder