Skip to content

Instantly share code, notes, and snippets.

🙄
Unemployed. Hire me.

Steven Vachon stevenvachon

🙄
Unemployed. Hire me.
Block or report user

Report or block stevenvachon

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View async-await.js
try {
const resumes = await this.getResumes();
if (resumes.length > 0) {
this.setState({
resume: await this.getResume(resumes[0])
});
}
} catch(error) {
console.error(error);
@stevenvachon
stevenvachon / README.md
Last active May 30, 2019
Issue with Docker, Node.js and Prisma
View README.md

The installs work fine, but the Node.js Prisma client has this error:

prisma_1    | Server running on :4466
node_1      | Could not connect to server at http://localhost:4466. Please check if your server is running.

make-school_node_1 exited with code 0

This is the result of docker ps:

@stevenvachon
stevenvachon / promises.js
Last active Oct 16, 2015
easy way to understand javascript promises
View promises.js
"use strict";
var p1 = new Promise( function(resolve) {
resolve();
});
var p2 = new Promise( function(resolve) {
resolve();
});
You can’t perform that action at this time.