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
/** | |
* Given an array of Person objects, returns the root PersonTreeNode (the CEO). | |
* @param {Person[]} employees - An array of Person objects representing all the employees of the company. | |
* @returns {PersonTreeNode} The CEO of the organization. | |
*/ | |
function generateTree(employees) { | |
/** | |
* @ignore | |
* INSTRUCTIONS: | |
* 1. ONLY edit this function and nothing 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 get_tag_counts = function(stream) { | |
const unsortedTags = {}; | |
const sortedTags = []; | |
stream.forEach(function(row) { | |
const splitRow = row.split('|'); | |
const tags = splitRow[2] || ''; |
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
{ | |
"name": "careermap", | |
"version": "1.0.0", | |
"description": "", | |
"main": "index.js", | |
"scripts": { | |
"test": "node_modules/.bin/mocha --timeout 3000000", | |
"start": "node index.js" | |
}, | |
"author": "", |
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 { | |
fetchResults, | |
createRequestBody, | |
submitLocations, | |
checkStatus, | |
parseXml, | |
getRequestID, | |
timeoutCheckStatus, | |
getStatus, | |
unzipResult |
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 request = require('request') | |
const xml2js = require('xml2js') | |
const json2csv = require('json2csv') | |
const zlib = require('zlib') | |
const unzip = require('unzip') | |
const AdmZip = require('adm-zip') | |
const zip = new require('node-zip'); | |
const appID = `zu03iAaY4cdKd8iSHP6y` | |
const appCode = `9bWkk5oZyyE-ZIpp_xAUnA` |
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
package main | |
import ( | |
"fmt" | |
) | |
func main() { | |
out := make(chan string, 2) | |
in := make(chan string, 2) |
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 React, {Component} from 'react'; | |
class Tabs extends Component { | |
static get defaultProps() { | |
return { | |
onTabChange: () => {}} | |
; | |
} |
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
return { | |
version = "1.1", | |
luaversion = "5.1", | |
tiledversion = "0.13.0", | |
orientation = "orthogonal", | |
width = 30, | |
height = 30, | |
tilewidth = 16, | |
tileheight = 16, | |
nextobjectid = 1, |
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
{ | |
"errors": [""], | |
"fields": { | |
"credential": [""], | |
"password": [""] | |
} | |
} |
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 React, { Component } from 'react'; | |
import Party from './Party.jsx'; | |
exports default class App extends Component { | |
getParties() { | |
// get a list of the parties currently. | |
return []; | |
}, |
NewerOlder