Skip to content

Instantly share code, notes, and snippets.

View entrptaher's full-sized avatar
🎯
Focusing

Md. Abu Taher entrptaher

🎯
Focusing
View GitHub Profile
@entrptaher
entrptaher / basics.md
Created October 22, 2018 02:42
ওয়েব স্ক্রাপিং এবং অটোমেশনের জন্য রিসোর্স সমহূ
const browserify = require('browserify');
const b = browserify();
b.require(`${__dirname}/index.js`, {expose: 'bundle'}).bundle((err, src) => {
console.log(src.toString());
});
// 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 = {
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);

A small team at beginning might not have everything needed. It will lack in different areas and eventually either figure and fix out the mistakes or leave the industry.

Issues

First we need to see varioues issues development companies have to deal with right now.

Code quality

Codacy overview