This file contains 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
module.exports = { | |
entry: "./src/main.js", | |
output: { | |
filename: "./dist/bundle.js" | |
}, | |
module: { | |
rules: [ | |
{ | |
test: [/\.js$/, /\.es6$/], | |
exclude: /node_modules/, |
This file contains 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 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 |
This file contains 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
Meteor.publish('userData', function() { | |
if(!this.userId) return null; | |
return Meteor.users.find(this.userId, {fields: { | |
mmmelons: 1, | |
}}); | |
}); |
This file contains 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
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) { |