Git Product home page Git Product logo

matcher-cli's People

Contributors

ktnl97 avatar rexagod avatar vasvv avatar

Stargazers

 avatar

Watchers

 avatar  avatar

matcher-cli's Issues

Document filtering algorithm

Hi, this is a first-timers-only issue. This means we've worked to make it more legible to folks who either haven't contributed to our codebase before, or even folks who haven't contributed to open source before.

If that's you, we're interested in helping you take the first step and can answer questions and help you out as you do. Note that we're especially interested in contributions from people from groups underrepresented in free and open source software!

We know that the process of creating a pull request is the biggest barrier for new contributors. This issue is for you ๐Ÿ’

If you have contributed before, consider leaving this one for someone new, and looking through our general help wanted issues. Thanks!

๐Ÿค” What you will need to know.

Nothing. This issue is meant to welcome you to Open Source :) We are happy to walk you through the process.

๐Ÿ“‹ Step by Step

  • ๐Ÿ™‹ Claim this issue: Comment below. If someone else has claimed it, ask if they've opened a pull request already and if they're stuck -- maybe you can help them solve a problem or move it along!

  • ๐Ÿ“ Update: Add to README the process the algorithm that's used to detect and filter commands below. We recommend you to run the library and set up breakpoints to familiarize yourself with this!

    matcher-cli/matcher.js

    Lines 27 to 38 in 0bf7186

    async function vorpalify(args) {
    const {query} = args;
    // eslint-disable-next-line no-unused-vars
    const summoner = await commands.summoner;
    if (eval(`commands.${query}`) !== undefined) {
    eval(`commands.${query}()`);
    } else if (eval(`summoner.${query}`)) {
    console.log(eval(`summoner.${query}`));
    } else {
    error(`Invalid command: "${query}", exiting...\n`);
    process.exit();
    }

  • ๐Ÿ’พ Commit your changes

  • ๐Ÿ”€ Start a Pull Request. There are two ways how you can start a pull request:

  1. If you are familiar with the terminal or would like to learn it, here is a great tutorial on how to send a pull request using the terminal.

  2. You can also edit files directly in your browser and open a pull request from there.

  • ๐Ÿ Done Ask in comments for a review :)

๐Ÿค”โ“ Questions?

Leave a comment below!

Is someone else already working on this?

We encourage you to link to this issue by mentioning the issue # in your pull request, so we can see if someone's already started on it. If someone seem stuck, offer them some help! Otherwise, take a look at some other issues you can help with. Thanks!

Localize server setup

Hi, this is a first-timers-only issue. This means we've worked to make it more legible to folks who either haven't contributed to our codebase before, or even folks who haven't contributed to open source before.

If that's you, we're interested in helping you take the first step and can answer questions and help you out as you do. Note that we're especially interested in contributions from people from groups underrepresented in free and open source software!

We know that the process of creating a pull request is the biggest barrier for new contributors. This issue is for you ๐Ÿ’

If you have contributed before, consider leaving this one for someone new, and looking through our general help wanted issues. Thanks!

๐Ÿค” What you will need to know.

Nothing. This issue is meant to welcome you to Open Source :) We are happy to walk you through the process.

๐Ÿ“‹ Step by Step

  • ๐Ÿ™‹ Claim this issue: Comment below. If someone else has claimed it, ask if they've opened a pull request already and if they're stuck -- maybe you can help them solve a problem or move it along!

  • ๐Ÿ“ Update: In this one, you need to replace the (assumed) global live-server keyword by its respective node_modules path.

    exports.matcherInitQuery = `live-server ${envVars.MATCHER_PATH} --no-browser --quiet --port=${envVars.PORT} &`;

  • ๐Ÿ’พ Commit your changes

  • ๐Ÿ”€ Start a Pull Request. There are two ways how you can start a pull request:

  1. If you are familiar with the terminal or would like to learn it, here is a great tutorial on how to send a pull request using the terminal.

  2. You can also edit files directly in your browser and open a pull request from there.

  • ๐Ÿ Done Ask in comments for a review :)

๐Ÿค”โ“ Questions?

Leave a comment below!

Is someone else already working on this?

We encourage you to link to this issue by mentioning the issue # in your pull request, so we can see if someone's already started on it. If someone seem stuck, offer them some help! Otherwise, take a look at some other issues you can help with. Thanks!

Terser failing

matcher-cli/matcher.unc.min.js:8898
exports.default = global.fetch.bind(global);
                               ^

TypeError: Cannot read property 'bind' of undefined
    at Object.<anonymous> (/mnt/c/Users/Rexagod/Desktop/matcher-cli/matcher.unc.min.js:8898:32)
    at Object.54 (/mnt/c/Users/Rexagod/Desktop/matcher-cli/matcher.unc.min.js:8903:4)
    at o (/mnt/c/Users/Rexagod/Desktop/matcher-cli/matcher.unc.min.js:1:327)
    at /mnt/c/Users/Rexagod/Desktop/matcher-cli/matcher.unc.min.js:1:378
    at Object.<anonymous> (/mnt/c/Users/Rexagod/Desktop/matcher-cli/matcher.unc.min.js:8686:15)
    at Object.47.../.env_vars.json (/mnt/c/Users/Rexagod/Desktop/matcher-cli/matcher.unc.min.js:8757:4)
    at Object.93.../.env_vars.json (/mnt/c/Users/Rexagod/Desktop/matcher-cli/matcher.unc.min.js:18761:21)
    at o (/mnt/c/Users/Rexagod/Desktop/matcher-cli/matcher.unc.min.js:1:327)
    at /mnt/c/Users/Rexagod/Desktop/matcher-cli/matcher.unc.min.js:1:378
    at Object.91.../.env_vars.json (/mnt/c/Users/Rexagod/Desktop/matcher-cli/matcher.unc.min.js:18636:18)

Licensing

Hi @rexagod - we have a general policy of GPLv3, do you think you could re-license these under GPL? Thank you!

Configure husky for pre-commit builds

Hi, this is a first-timers-only issue. This means we've worked to make it more legible to folks who either haven't contributed to our codebase before, or even folks who haven't contributed to open source before.

If that's you, we're interested in helping you take the first step and can answer questions and help you out as you do. Note that we're especially interested in contributions from people from groups underrepresented in free and open source software!

We know that the process of creating a pull request is the biggest barrier for new contributors. This issue is for you ๐Ÿ’

If you have contributed before, consider leaving this one for someone new, and looking through our general help wanted issues. Thanks!

๐Ÿค” What you will need to know.

Nothing. This issue is meant to welcome you to Open Source :) We are happy to walk you through the process.

๐Ÿ“‹ Step by Step

  • ๐Ÿ™‹ Claim this issue: Comment below. If someone else has claimed it, ask if they've opened a pull request already and if they're stuck -- maybe you can help them solve a problem or move it along!

  • ๐Ÿ“ Update: In this one, you need to incorporate a .huskyrc file after installing husky here, and configure build command for pre-commits.

  • ๐Ÿ’พ Commit your changes

  • ๐Ÿ”€ Start a Pull Request. There are two ways how you can start a pull request:

  1. If you are familiar with the terminal or would like to learn it, here is a great tutorial on how to send a pull request using the terminal.

  2. You can also edit files directly in your browser and open a pull request from there.

  • ๐Ÿ Done Ask in comments for a review :)

๐Ÿค”โ“ Questions?

Leave a comment below!

Is someone else already working on this?

We encourage you to link to this issue by mentioning the issue # in your pull request, so we can see if someone's already started on it. If someone seem stuck, offer them some help! Otherwise, take a look at some other issues you can help with. Thanks!

Setup Travis CI

Hi, this is a first-timers-only issue. This means we've worked to make it more legible to folks who either haven't contributed to our codebase before, or even folks who haven't contributed to open source before.

If that's you, we're interested in helping you take the first step and can answer questions and help you out as you do. Note that we're especially interested in contributions from people from groups underrepresented in free and open source software!

We know that the process of creating a pull request is the biggest barrier for new contributors. This issue is for you ๐Ÿ’

If you have contributed before, consider leaving this one for someone new, and looking through our general help wanted issues. Thanks!

๐Ÿค” What you will need to know.

Nothing. This issue is meant to welcome you to Open Source :) We are happy to walk you through the process.

๐Ÿ“‹ Step by Step

  • ๐Ÿ™‹ Claim this issue: Comment below. If someone else has claimed it, ask if they've opened a pull request already and if they're stuck -- maybe you can help them solve a problem or move it along!

  • ๐Ÿ“ Update: Just make a .travis.yml file and setup configs for node LTS environments for the build process. Remember, we are here to help you if you need any!

  • ๐Ÿ’พ Commit your changes

  • ๐Ÿ”€ Start a Pull Request. There are two ways how you can start a pull request:

  1. If you are familiar with the terminal or would like to learn it, here is a great tutorial on how to send a pull request using the terminal.

  2. You can also edit files directly in your browser and open a pull request from there.

  • ๐Ÿ Done Ask in comments for a review :)

๐Ÿค”โ“ Questions?

Leave a comment below!

Is someone else already working on this?

We encourage you to link to this issue by mentioning the issue # in your pull request, so we can see if someone's already started on it. If someone seem stuck, offer them some help! Otherwise, take a look at some other issues you can help with. Thanks!

Refactor `matcher-summon.js`

Hi, this is a first-timers-only issue. This means we've worked to make it more legible to folks who either haven't contributed to our codebase before, or even folks who haven't contributed to open source before.

If that's you, we're interested in helping you take the first step and can answer questions and help you out as you do. Note that we're especially interested in contributions from people from groups underrepresented in free and open source software!

We know that the process of creating a pull request is the biggest barrier for new contributors. This issue is for you ๐Ÿ’

If you have contributed before, consider leaving this one for someone new, and looking through our general help wanted issues. Thanks!

๐Ÿค” What you will need to know.

Nothing. This issue is meant to welcome you to Open Source :) We are happy to walk you through the process.

๐Ÿ“‹ Step by Step

  • ๐Ÿ™‹ Claim this issue: Comment below. If someone else has claimed it, ask if they've opened a pull request already and if they're stuck -- maybe you can help them solve a problem or move it along!

  • ๐Ÿ“ Update: Shift both the methods below to utils, and then require them inside matcher-summon.

    function getDistinctCorners(string) {
    if (isCorner(string)) {
    const truncatedString = (string).substring(8);
    const truncatedObject = JSON.parse(truncatedString);
    if (corners.indexOf(truncatedObject) === -1 && corners.length < 500) {
    corners.push(truncatedObject);
    }
    }
    }
    function getDistinctMatches(string) {
    if (isPair(string)) {
    const truncatedString = (string).substring(6);
    const truncatedObject = JSON.parse(truncatedString);
    if (matches.indexOf(truncatedObject) === -1
    && matches.length < truncatedObject.population) {
    matches.push(truncatedObject);
    }
    }
    }

  • ๐Ÿ’พ Commit your changes

  • ๐Ÿ”€ Start a Pull Request. There are two ways how you can start a pull request:

  1. If you are familiar with the terminal or would like to learn it, here is a great tutorial on how to send a pull request using the terminal.

  2. You can also edit files directly in your browser and open a pull request from there.

  • ๐Ÿ Done Ask in comments for a review :)

๐Ÿค”โ“ Questions?

Leave a comment below!

Is someone else already working on this?

We encourage you to link to this issue by mentioning the issue # in your pull request, so we can see if someone's already started on it. If someone seem stuck, offer them some help! Otherwise, take a look at some other issues you can help with. Thanks!

Setup demo for `matcher-cli`

@jywarren I've made a CLI demo for matcher-cli. Let me know what you think!

Also, I will be documenting this repository very soon, along with core, and the command below is to just give the users a preview of how the matcher works. Try it out and let me know what do you think!

bash <(curl -s https://gist.githubusercontent.com/rexagod/6e1a2cfdc18e1b12ff8d64b5d4e6985a/raw/bfe011cfecc2c7777bc3d161a064f2bf924fdbfb/cli-demo.sh)

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.