- A Gentle Introduction to Agile Software Development by Mr Stephen Haunts
- Agile Product Management: User Stories: How to Capture Requirements for Agile Product Management and Business Analysis with Scrum (scrum, scrum master, agile development, agile software development) by Paul Vii
- Algorithms to Live By: The Computer Science of Human Decisions by Brian Christian
- Amazon Keyword Research Hacks: 11 Awesome Resources For Finding Keywords To Boost Your Rankings & Sales by Alex Wong
- Ask by Ryan Levesque
- Beneath a Scarlet Sky: A Novel by Mark Sullivan
- China Rich Girlfriend (Crazy Rich Asians Trilogy) by Kevin Kwan
- Clean Architecture: A Craftsman's Guide to Software Structure and Design (Robert C. Martin Series) by Robert C. Martin
- Code: The Hidden Language of Computer Hardware and Software by Charles Petzold
- Computer Science Distilled: Learn the Art of Solving Computational Problems by Wladston Ferreira Filho
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"/> | |
<title>Untitled benchmark</title> | |
<script src="https://cdnjs.cloudflare.com/ajax/libs/benchmark/1.0.0/benchmark.min.js"></script> | |
<script src="./suite.js"></script> | |
</head> | |
<body> | |
<h1>Open the console to view the results</h1> |
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 { expect } = require("chai"); | |
const PQueue = require("p-queue"); | |
const queue = new PQueue({ concurrency: 1 }); | |
const numbers = [1, 2, 3]; | |
describe("tests various numbers", async function() { | |
let realNumber = 0; | |
numbers.map(number => { | |
it(`number is equal to ${number}`, async function() { | |
await queue.add(async () => await ++realNumber); |
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
// add/modify the boards.js | |
// preserve old method of testing but also add a new method of checking current User | |
setMemberPermission(memberId, isAdmin, isNoComments, isCommentOnly, currentUserId = Meteor.userId()) { | |
const memberIndex = this.memberIndex(memberId); | |
// do not allow change permission of self | |
if (memberId === currentUserId) { | |
isAdmin = this.members[memberIndex].isAdmin; | |
} | |
const change = { |
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 browserify = require('browserify'); | |
const b = browserify(); | |
b.require(`${__dirname}/index.js`, {expose: 'bundle'}).bundle((err, src) => { | |
console.log(src.toString()); | |
}); |