Giter Club home page Giter Club logo

coders-workshop's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

coders-workshop's Issues

Add ESLint

Add ESLint

In the main level:

  • Run npm install eslint --save-dev
  • Add .eslintrc config file
  • Add .eslintignore config file

Match the styling as closely as possible, use .prettierrc to get a feel for the formatting style and rules.

Improve Prettier config

For arrow functions, following best practices, there should always be parentheses included around an argument.
Consider changing "arrowParens": "avoid" in .prettierrc

Attribute license per contributor

The current license attributes copyright for everything to @andy-young. While he totally deserves the credit for running the show, I wonder if that can be adjusted. Licensing is complicated, so I'm not sure how to go about it.

solution for permutation of a palindrome

Hi, this was from tonight's meeting. It was suggested to create a PR, but I wasn't sure where it should go. Which folder would be best?

const isPermPalin = str => {
  let m = new Map();
  for (c of str) {
    if(m.has(c)) {
      m.set(c, m.get(c)+1);
    } else {
      m.set(c, 1);
    }
  }
  let oddCount = 0;
  m.forEach((v,k) => {
    if (v % 2 === 1) {
      oddCount++;
    } 
  });
  return oddCount < 2;
}

console.log(isPermPalin('tactcoa')); // true
console.log(isPermPalin('racecar')); // true
console.log(isPermPalin('aaabbcc')); // true
console.log(isPermPalin('kitten')); // false

Animating the Queen Bee

Make a function update(coordinate), which takes an integer representing somewhere within the boundaries of the <canvas> element (500px by 500px).

The function will need to randomly offset its given location by a short amount, say -2 to 2 pixels for every 30 milliseconds. This gives the sprite an appearance of sporadic buzzing.

Rename master to main

Please rename master to main.

To do this easily, run these two commands:

git push origin master:main
git push origin :master

Put solutions with challenges?

Should solutions to challenges be put in solutions folders alongside the challenges themselves?

Pros

  • Easy to navigate between the challenge itself and the solution(s) to it
  • Easy to navigate between different solutions to compare approaches

Cons

  • Harder to track contributions per developer

Jest doesn't work

  • Jest test suite doesn't run because of an error in the package.json
  • Install Jest for the repo as a devDependency

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.