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 strict' | |
| var _ = require('lodash') | |
| var expect = require('chai').expect | |
| var Account = require('../models/Account') | |
| var testData = { | |
| // Default data for test account | |
| testAccount: { |
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 strict' | |
| const Mongoose = require( 'mongoose' ) | |
| const _ = require( 'lodash' ) | |
| const _internal = { | |
| states: { | |
| // List of valid Mongoose states | |
| readyStates: [ | |
| 'disconnected', // readyState: 0 |
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 strict' | |
| //const _ = require( 'lodash' ) | |
| const _ = require('../mongoose-mixins') | |
| const Async = require( 'async' ) | |
| const Util = require( 'util' ) | |
| const Path = require( 'path' ) | |
| const Mongoose = require( 'mongoose' ) | |
| const Promise = require( 'bluebird' ) |
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 strict' | |
| import React, { Component } from 'react'; | |
| import cx from 'classnames'; | |
| import ReactDOM from 'react-dom' | |
| import Tree from 'react-ui-tree' | |
| import './tmp/react-ui-tree.less'; | |
| import './tmp/theme.less'; | |
| import './tmp/app.less'; |
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
| class PageContent extends Component { | |
| render() { | |
| return ( | |
| <div id="content" className="content"> | |
| <BreadCrumbs align="left"> | |
| <BreadCrumbs.Crumb href="#foo">foo</BreadCrumbs.Crumb> | |
| <BreadCrumbs.Crumb href="#bar">bar</BreadCrumbs.Crumb> | |
| <BreadCrumbs.Crumb href="#baz">baz</BreadCrumbs.Crumb> | |
| </BreadCrumbs> | |
| </div> |
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 strict' | |
| const _ = require('lodash') | |
| const AppRoot = require('app-root-path') | |
| const Util = require('util') | |
| var Confidence = require('confidence'); | |
| var manifest = { | |
| buttons: { | |
| // Panel control buttons (maximize, minimize, refresh, close) |
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
| ** | |
| * | |
| * Examples: | |
| * ~$% : aes-128-cbc | |
| * ~$%#@ : aes-128-cbc-hmac-sha256 | |
| * ! : aes128 | |
| * ~ : INVALID (no cipher named just 'aes') | |
| */ | |
| exports.cipherMap = { | |
| '~' : { |
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
| Hi Justin, | |
| I reviewed your resume and believe your background aligns well to a targeted position we’re hiring for. Would you be interested in discussing a Technical Account Manager opportunity within AWS? | |
| AWS is growing at an amazing pace and we need industry professionals like yourself to guide our customers into the future of cloud computing. You will advise industry defining start-ups to Fortune 100 companies to be successful in the cloud; serving as the expert on the full line of AWS services; helping our customers design, deploy and support large scale applications. Companies like Shell, Samsung, NASA JPL, Nasdaq, Merck and Pinterest to name a few have come to rely on our Enterprise Support programs to help them run their AWS infrastructure. | |
| Our AWS Technical Account Manager (TAM) is on the forefront of our largest and most innovative customers. It requires a unique person with broad technical acumen, and are an integral component to our enterprise customers experience with AWS. Our TAM’s are custom |
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
| <div style="font-family: sans-serif;"> | |
| <? var data = valid(); ?> | |
| <form id="form" name="form"> | |
| <? if(Object.prototype.toString.call(data) === '[object Array]') { ?> | |
| <? for (var i = 0; i < data.length; i++) { ?> | |
| <? for (var j = 0; j < data[i].length; j++) { ?> | |
| <input type="checkbox" id="ch<?= '' + i + j ?>" name="ch<?= '' + i + j ?>" value="<?= data[i][j] ?>"><?= data[i][j] ?><br> | |
| <? } ?> | |
| <? } ?> | |
| <? } 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
| Question 1: | |
| We would like to report for each employee - 'percentage of employees who joined the same department after the employee', 'percentage of company that joined after the employee', manager's name “in the same SQL query”. | |
| Write the SQL in 3 or more ways. You can assume the database is either of them - mySQL, Postgres or Oracle syntax | |
| Question 2: | |
| Table: movies_watched | |
| ---------------- | |
| userid | movieId | |
| 1 | A |