Grepper makes adding a code answer really easy, note that every one of your code answers is associated with a google search. So there are a few ways to add a code answer, but they all start with doing a google search. After you google search a problem you can add a code answer right from your google search results, or you can click into a web page from your search result and then use the “Easy Code Snag” button to snag some code.
After google searching and clicking a result, any code example on the page will have the Grepper “Easy Code Snag” button in the top right, simply right click that button and that code answer will save to your grepper code answers.
After google searching and clicking a result, any code example on the page will have the Grepper “Easy Code Snag” button in the top right, if you click that button the grepper code editor will popup and you can edit and save the code answer.
After google searching and clicking a result, you can save a code answer by highlighting any code/text on the page and clicking Ctrl-g (or Command+g on Mac). Grepper’s code snag editor will open up with the text, you can then edit/save your answer using the editor. So just remember to hit Ctrl-g (or Command-g) anytime you want to add a Grepper answer.
You can also add your own code answer right from any search results by click the “add a better one” link or (pressing a), you will then be presented with a code editor where you can input a code answer. The code answer will be associated with your google search and will appear next time you google search the same or a similar term.
To quickly copy a code answer, you can simply press the letter “c” and it will copy the code answer into you clipboard. You can paste the answer into your code editor. If you have more than one result you can press the letter “c” multiple times and it will cycle through copying the code answers to your clipboard.
You can see all your code answers by clicking the Grepper extension icon (top right of your browser) and going to “My Code Answers”.
There are two ways to edit your code answer. You can edit your answers from your “my code answers” page. Or you can edit your answer that show up after doing a google search by clicking the edit button above the answer.
Note: Often times you may want to edit a code answer you just put in, if you click the grepper icon you can easily see your last 5 answers. You can then click an answer and edit it.
You can increase the code answer results returned from grepper, by doing a google search and pressing the letter m (more of my answers) or by pressing o (more of others answers).
m - fetches all of your answers that could possibly be related to your query.
o - fetches all answers the Grepper community that could possibly be related to your query.
You can create an alias for an answer by upvoting the answer returned after pressing m or o. The next time you search the same thing you will see your aliased answer.
Here is a quick video on expanded search & aliases.
You can disable the Grepper “easy code snag button” from showing on any domain or page from your Grepper extension popup. Click the Grepper extension icon in the top right corner of your browser. Then click the hide icon , this will disable the “easy code snag button” from showing on the domain you are on (right click if you would like to disable the button on only that page).
Optionally you may disable the “easy code snag button” from showing on all sites by going to your extension settings and checking “Hide "Easy Code Snag button" on all sites”.
Note: You will still be able to add a grepper answer on a web page, by clicking Ctrl-g (Command-g on Mac).
On some internal sites you may want to completely disable Grepper from loading. You can do so from your Grepper extension popup. Click the Grepper extension icon in the top right corner of your browser. Click the blacklist icon and the current domain(right click to blacklist the page) you are on will be blacklisted. Grepper will prevent running code on these pages. You will not be able to add Grepper answers from blacklisted sites. You can disable the Grepper “easy code snag button” from showing on any domain or page from your Grepper extension popup. Click the Grepper extension icon in the top right corner of your browser. Then click the hide icon, this will disable the “easy code snag button” from showing on the domain you are on (right click if you would like to disable the button on only that page).
Technical Note: Chrome Extensions do not offer any user customizable blacklist functionality at the domain/page level, so we handle blacklisting by loading a small bit of Grepper code that checks if a domain/page is blacklisted , if so we don’t load anything else from grepper.
In order to receive donations you will need to setup a paypal donation link. You can setup a donation link in just a minute by going to: https://www.paypal.com/donate/buttons and creating button, be sure to use the “Shareable URL” paypal provides and copy and paste it into your “Paypal Donations Url” under My Account/Profile.
After you submit a grepper answer, you will always have access to that answer and it will be public to other coders too. The more helpful your answer is to others the more it will show up, and everytime your answer shows it up another coder has the opportunity to give a donation. Likewise, if an answer really helps you out consider giving a small donation.
The Grepper belt system is just a fun way to keep track of how helpful your Grepper answers are to other users. On your profile page you can opt to have your belt be private or public, by default your belt is private, so only you can see your rank. Hopefully one day the belt system can help Grepper Devs get hired at the best jobs. The belt system is described in detail below:
Note: Obviously you can be boss developer and still not have a good grepper rank, maybe your new to Grepper or saving code snippets is not really part of your workflow. But one thing is for sure, if you get above a green belt you are a Boss developer.
|No worries. You are pry just pretty new to Grepper, or not in the flow of saving code snippets when you run into and solve a problem yet.|
|You have stuck with it, you are putting in Grepper answers on the regular, your answers have helped over 20 other developers solve a problem. Pry takes about a 1-2 months for active devs on grepper to get a white belt.|
|Yellow is about 3 times as hard to get as white belt. You are getting in the rhythm of saving code snippets when you run into a problem. Will take about 2-4 months of full time development /problem solving to reach this point.|
|Over twice as hard to get as yellow, you won’t reach orange belt unless you are programming full time for 4-8 months and solving problems the whole time.|
|A company should look at a green belt and want to hire you. This is twice as hard to reach as an orange belt, and means you have been at it for some time. It will pry take over a year for most devs programming full time to reach a green belt. If your Grepper answers are really good and helping lots of devs, you may be able to reach green in under a year, but that would be rare.|
|Your officially a Boss Developer. Hire this person.|
|You have to be a Senior developer to get to this point. Will take the best developers 4+ years, programming almost every day to reach this point.|
|Only the most senior developers will reach brown belt. If you are a full time developer running into and solving problems for 8+ years you might be able to reach a brown belt.|
|You are programming too much and need to take a break… seriously this is unhealthy.|
Every answer has a quality score based on developer feedback when the answer shows up in their search results. The answer with the highest quality score for a particular search term will show up as the top Grepper result. Once an answer falls below Poor (and has enough developer feedback) it will stop showing up for other developers.
|Quality Score Rating System|
|What's Happening||Very Bad||Bad||Very Poor||Poor||Neutral/Unkown||Helpful||Good||Very Good||Amazing||You Rock|