-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Basic Glossary #5
base: master
Are you sure you want to change the base?
Conversation
Hard coded glossary taken from https://github.com/tomeshnet/tomesh.101/blob/master/glossary/glossary.md Requires fuzzy (npm -i fuzzy) usage `meshbot what is <term>` example `meshbot what is hop`
items.push | ||
title:"Mesh Point (MP)",content:"An operation mode defined within the 802.11s standard. Mesh Point allows nodes in a network to discover neighbor nodes and keep track of them." | ||
items.push | ||
title:"Auto-Peering",content:"The ability for two peers on a network to automatically link with one another using zero configuration." |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How did this extra space get in 🤔
scripts/glossary.coffee
Outdated
items.push | ||
title:"Link",content:"A logical connection between two nodes (ignoring physical infrastructure in the way) or a physical link between two nodes (using ethernet, fiber, wireless equipment, etc.). Links allow nodes to communicate with one another." | ||
items.push | ||
title:"Supernode",content:"A node on the network that actively routes traffic/data for other nodes." |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fix alignments!
robot.respond /what is (.*)\??/i, (msg) -> | ||
term = msg.match[1] | ||
term = term.split("\?")[0].trim() if term.length > 0 | ||
items = []; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd rather have a git hub file that gets pulled instead of hard coding like this
And if anyone wants to implement better code for this please do so.
Hard coded glossary taken from https://github.com/tomeshnet/tomesh.101/blob/master/glossary/glossary.md
Requires fuzzy (npm -i fuzzy)
usage
meshbot what is <term>
example
meshbot what is hop