-
Notifications
You must be signed in to change notification settings - Fork 20
areyes2018391(fixed) #5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
areyes107
wants to merge
12
commits into
corecodeio:master
Choose a base branch
from
areyes107:master
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+82
−5
Open
Changes from all commits
Commits
Show all changes
12 commits
Select commit
Hold shift + click to select a range
6d19ba9
key: create
areyes7 c139828
npm: create
areyes7 dc3efb8
src/index:
areyes7 d9d97d4
DeleteKey.txt
areyes107 bed8ecb
Delete Package-lock.jason
areyes107 c3e15db
mistakes
areyes7 cdf2870
fixing the ,gitignore file (client.ts exception)
areyes7 41f1172
Fixing gitignore
areyes7 bfb2f99
Fixed .gitignore
areyes7 cef35c2
Password problem was soved
areyes7 1a84c9f
Data.ts was created
areyes7 59f3fdd
Last problems fixed
areyes7 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,6 +1,3 @@ | ||
| .env | ||
|
|
||
| /node_modules | ||
| /dist | ||
| /data | ||
| src/client.ts | ||
| /node_modules | ||
| /dist | ||
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,44 @@ | ||
| import { request } from "http"; | ||
| import { data } from "./data"; | ||
|
|
||
| async function sendInformation() { | ||
| const req = request( | ||
| { | ||
| host: "95.217.235.69", | ||
| port: "80", | ||
| path: "/", | ||
| method: "POST", | ||
| headers: { | ||
| "Content-Type": "application/json", | ||
| }, | ||
| }, | ||
| (response) => { | ||
| console.table(response.statusCode); | ||
| }, | ||
| ); | ||
| data.credentials.password = process.env.PASSWORD; | ||
| req.write(JSON.stringify(data)); | ||
| req.end(); | ||
| } | ||
|
|
||
| async function showInformation() { | ||
| const req = request( | ||
| { | ||
| host: "95.217.235.69", | ||
| port: "80", | ||
| path: "/angelmrg2000@gmail.com", | ||
| method: "GET", | ||
| headers: { | ||
| "Content-Type": "application/json", | ||
| "x-password": process.env.PASSWORD, | ||
| }, | ||
| }, | ||
| (response) => { | ||
| console.log(response.statusCode); | ||
| }, | ||
| ); | ||
| req.end(); | ||
| } | ||
|
|
||
| sendInformation(); | ||
| showInformation(); |
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,36 @@ | ||
| const data = { | ||
| contactInfo: { | ||
| fullName: "Angel Miguel Reyes Guerrero", | ||
| emailAddress: "angelmrg2000@gmail.com", | ||
| }, | ||
| github: { | ||
| profileURL: "https://github.com/areyes2018391", | ||
| username: "areyes2018391", | ||
| }, | ||
| credentials: { | ||
| password: "", | ||
| }, | ||
| personalInfo: { | ||
| questions: [ | ||
| { | ||
| question: "If I was a Sr. Programmer, I would like to build:", | ||
| answer: | ||
| "Respuesta: If I would like to build a shopping app, because i could sell it and make money with it, also it would be a complex app", | ||
| }, | ||
| { | ||
| question: | ||
| "Por favor indica el URL que me lleva a la línea de código de la definición de React.useEffect", | ||
| answer: | ||
| "Respuesta: https://github.com/facebook/react/blob/655affa302437208e6f03c9ca6d170ea1707ace3/packages/react-reconciler/src/ReactFiberHooks.new.js#L1878", | ||
| }, | ||
| { | ||
| question: "code is poetry, because:", | ||
| answer: | ||
| "Respuesta: Because the poetry is something that only the person that wrote it, can understand it at the perfection, and cause you can do anything what you want with it", | ||
| }, | ||
| ], | ||
| }, | ||
| }; | ||
|
|
||
| export { data }; | ||
|
|
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Solo una única modificación era necesaria en este archivo, por favor devuelve su estado original al archivo y realizala
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ya he modificado el .gitignore