Skip to content

Instantly share code, notes, and snippets.

View jhyland87's full-sized avatar

J jhyland87

  • 48°52.6′S 123°23.6′W
View GitHub Profile
'use strict'
var _ = require('lodash')
var expect = require('chai').expect
var Account = require('../models/Account')
var testData = {
// Default data for test account
testAccount: {
'use strict'
const Mongoose = require( 'mongoose' )
const _ = require( 'lodash' )
const _internal = {
states: {
// List of valid Mongoose states
readyStates: [
'disconnected', // readyState: 0
'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' )
'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';
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>
'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)
**
*
* Examples:
* ~$% : aes-128-cbc
* ~$%#@ : aes-128-cbc-hmac-sha256
* ! : aes128
* ~ : INVALID (no cipher named just 'aes')
*/
exports.cipherMap = {
'~' : {
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
@jhyland87
jhyland87 / dialog.html
Created June 7, 2017 06:09 — forked from arthurattwell/dialog.html
Google Sheets script to allow multi-select in cells with data-validation (adapted from https://www.youtube.com/watch?v=dm4z9l26O0I)
<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 { ?>
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