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
{ | |
"version": "0.2.0", | |
"configurations": [ | |
{ | |
"name": "Listen for XDebug", | |
"type": "php", | |
"request": "launch", | |
"port": 9000, | |
"pathMappings": { | |
"/var/www/html": "${workspaceRoot}" |
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
{"lastUpload":"2021-09-30T15:45:11.822Z","extensionVersion":"v3.4.3"} |
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
// This file contais three solutions: One using promises, my original solution to the HackerRank problem, and one using Axios // | |
// ----- Solution Using Promises ------ // | |
var https = require('https'); | |
const getMovieData = (url) => { | |
return new Promise((resolve, reject) => { | |
https.get(url, res => { |
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
import AlertModal from "../AlertModal.vue"; | |
import DoughnutChart from "../DoughnutChart.js"; | |
import Navigation from "../Navigation.vue"; | |
import { mapState } from "vuex"; | |
import moment from "moment"; | |
const BrandConfig = require("../../utils/BrandConfig.js"); | |
const ParseUtils = require("../../utils/ParseUtils.js"); | |
const Tools = require("../../utils/Tools.js"); |