Skip to content

Instantly share code, notes, and snippets.

View copleykj's full-sized avatar
😎
Totally Committed

Kelly Copley copleykj

😎
Totally Committed
View GitHub Profile
module.exports = {
entry: "./src/main.js",
output: {
filename: "./dist/bundle.js"
},
module: {
rules: [
{
test: [/\.js$/, /\.es6$/],
exclude: /node_modules/,
@copleykj
copleykj / Sort
Last active September 19, 2016 01:24 — forked from lxr1017/Sort
/*This program is intended to help you refresh your memory with programming in C++ and consists only of concepts from 146.
Write a program that reads the appropriate number of integers into an array, and sorts these numbers in reverse order
(decreasing order). The data will consist of 3 sets of data (Please use a loop instead of running the program 3 times).
Each set of data begins with an integer that indicates the number of integers on the next newline that are to be read
and sorted. So, unnecessary (i.e., to be ignored-not sorted)numbers may exist in the data.
The 3rd and 5th will be set up like the 1st. Likewise, the 4th and 6th will be set up like the 2nd.
Requirements:
Function to print the array of numbers; pass be value must be used
Meteor.publish('userData', function() {
if(!this.userId) return null;
return Meteor.users.find(this.userId, {fields: {
mmmelons: 1,
}});
});
Template.gem_view.context = function() {
return {
contentTemplate: "gems"
};
};
Template.page.render_content = function() {
var context = this;
var html = Template.no_template_found;
if (context && context.contentTemplate) {