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
| Carlos@DESKTOP-IO6SQE6 MINGW64 ~/Documents | |
| $ cd WCS | |
| Carlos@DESKTOP-IO6SQE6 MINGW64 ~/Documents/WCS | |
| $ pwd | |
| /c/Users/Carlos/Documents/WCS | |
| Carlos@DESKTOP-IO6SQE6 MINGW64 ~/Documents/WCS | |
| $ ls | |
| hello-world/ log.txt wild-git/ |
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
| Carlos@DESKTOP-IO6SQE6 MINGW64 ~/Documents/WCS/planets | |
| $ find | |
| . | |
| ./fictional | |
| ./fictional/arrakis.jpeg | |
| ./fictional/coruscant.jpeg | |
| ./fictional/cybertron.jpeg | |
| ./inhabited | |
| ./inhabited/arrakis.jpeg | |
| ./inhabited/coruscant.jpeg |
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
| SELECT `firstname`, `lastname`, `role`, `name` AS `team_name` FROM wild_db_quest.player | |
| JOIN wild_db_quest.wizard ON wizard.id=player.wizard_id | |
| JOIN wild_db_quest.team ON player.team_id=team.id | |
| ORDER BY `team_name`; | |
| SELECT `firstname`, `lastname`, `role`, `name` AS `team_name` FROM wild_db_quest.player | |
| JOIN wild_db_quest.wizard ON wizard.id=player.wizard_id | |
| JOIN wild_db_quest.team ON player.team_id=team.id | |
| ORDER BY `role`; | |
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
| const http = require('http'); | |
| const url = require('url'); | |
| const port = 8000; | |
| const requestHandler = (request, response) => { | |
| console.log(request.url); | |
| const person = url.parse(request.url, true).query; | |
| if (person.name && person.city) { | |
| response.end(`hello ${person.name} from ${person.city}`); | |
| } else { |
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
| const express = require("express"); | |
| const movies = require("./movies"); | |
| const connection = require("./config"); | |
| const port = 3000; | |
| const app = express(); | |
| connection.connect(function(err) { | |
| if (err) { | |
| console.error('error connecting: ' + err.stack); |
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
| // The firstname, lastname and age from the Person | |
| SELECT firstname, lastname, age FROM sqladvanced.person; | |
| +-------------+---------------+-----+ | |
| | firstname | lastname | age | | |
| +-------------+---------------+-----+ | |
| | Arthur | Pendragon | 35 | | |
| | Guenièvre | NULL | 30 | | |
| | Merlin | NULL | 850 | |
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
| const express = require("express"); | |
| const movies = require("./movies"); | |
| const connection = require("./config"); | |
| const port = 3000; | |
| const app = express(); | |
| connection.connect(function(err) { | |
| if (err) { | |
| console.error('error connecting: ' + err.stack); |
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
| const express = require("express"); | |
| const movies = require("./movies"); | |
| const connection = require("./config"); | |
| const port = 3000; | |
| const app = express(); | |
| connection.connect(function(err) { | |
| if (err) { | |
| console.error('error connecting: ' + err.stack); |
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
| const express = require("express"); | |
| const movies = require("./movies"); | |
| const connection = require("./config"); | |
| const port = 3000; | |
| const app = express(); | |
| connection.connect(function(err) { | |
| if (err) { | |
| console.error('error connecting: ' + err.stack); |
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
| // Use caesar("word", 7) to encode | |
| // Use caesar("dfhu", -7) to decode | |
| // Basically, key to encode and -key to encode | |
| // "I'm well, I'm alive. I'm in a refugee camp near the border. Will send more messages soon" | |
| // "P't dlss, P't hspcl. P't pu h ylmbnll jhtw ulhy aol ivykly. Dpss zluk tvyl tlzzhnlz zvvu" | |
| // | |
| // "Your camp was in the news yesterday. They said you will get some relief packages soon. Stay strong!" | |
| // "Fvby jhtw dhz pu aol uldz flzalykhf. Aolf zhpk fvb dpss nla zvtl ylsplm whjrhnlz zvvu. Zahf zayvun!" |
OlderNewer