Adding a code solution

There are several simple ways to add a code answer. They all begin with a google search. You may add a code response directly from your google search results, or you can click onto a web page from your search result and utilize the "Easy Code Snag" button to snag some code. Keep in mind that each of your code replies is linked to a Google search.

Right-click the Easy Code Snag button

After doing a google search and clicking on a result, the Codeinu “ Easy Code Snag” button in the upper right corner will appear on any code example on the website. If you right-click that button, the code response will be saved automatically to your Codeinu code solutions.

Left-click the Easy Code Snag Editor button

After doing a google search and clicking on a result, if you want to edit the code solution before saving, all you need to do is click the “Easy Code Snag” button in the upper right corner. After that, the Codeinu code editor will come up, and you can make amends and then save the code snippet right to your Codeinu code solutions.

Using the Keyboard Shortcuts

You can also save a code solution by using the keyboard shortcuts. After doing google search and clicking on a result, you select and highlight any code or text on the website and press Ctrl-g (or Command+g on Mac). Codeinu’s easy code snag editor will appear, then you can make amends for the code and save your solution by using the editor.

Adding solution from Google Search Results

If you have a better code answer or just a new one, you can also add them right from any search results. Firstly, you go to the “ add a better one” link (right next to the number of search results) or ( pressing a). Then a code editor will appear and you can put your own code answer on. This code answer will be linked with your google search and the next time if you do the same or similar search the solution will pop up right at the top of your google search results.

Adding a Video Answer

Sometimes you have to use a short video or screen recording to elaborately illustrate or answer complicated technical questions. For instance, if you have a query that includes a task done in a UI rather than in code, it is better to answer these questions by a short screen recording rather than a simple text.

Codeinu makes adding a video/screen recording really easy. After google searching, click “Add Codeinu Answer” (or hit a) and then click on the video icon next to the recordings.

Click on Start Recording” and choose one option to record and then click “Share” to start the recording. Make sure that your recordings are clear and short enough cause the recordings are no more than 1 minute long. Click "Stop Recording" after you're finished recording.

You can check or view your video once you finished recording it, and recreate it if you want. In the normal Codeinu answer section, you can attach resource links or insert any note to your video and click “Save” to add it to your Codeinu code solutions. Answer with video will pop up in the same way as normal Codeinu solution. The next time when you do the same google search, the answer with video will pop up in the same way as the normal Codeinu solution, so you can get a better understanding by watching that video or screen recordings.

Viewing and Copying Your Code Solution.

Finding Code Solutions.

If you’re searching for a technical keyword that has been answered by others, code answers will pop up right at the top of your google search results. For example, when you search “Adding a new element to object” and add a code solution to your Codeinu code solutions, the next time when you search the same question or a similar variant, the previous solution will display right at the top of your google search results.

Copying Code Solutions

If you press “c” the code answer will be copied to your clipboard, then you can paste the solution into your code editor. If you press “c” many times, it will cycle through copying the code answers to your clipboard, which is really helpful if you have more than one answers

Seeing all Your Code Solutions

You can view all of your code feedback by hitting the Codeinu extension icon (upper right of your browser) and then selecting "My Code Answers"

Editing Answers & Search Keywords

The first way to edit your feedback is to change your answers directly from the "my code answers" page. The second simple method is to alter the solution that appears after doing a Google search by clicking the edit button above the answer.

Editing & Adding Search Terms to a Solution

By clicking the answer phrase, you may change the search term for your solution. A window will show up, entailing users to update and add new keywords. Remember to only use words that do not currently cause the solutions to appear. Here's a little tutorial video:

Increasing the Number of Codeinu Searches and Aliases

Here is some letters that help you increase the code answer results returned from Codeinu:

m - retrieves all of your responses that may be connected to your question

o - Retrieves all Codeinu community replies that may be relevant to your inquiry.

Creating search query aliases

If you upvote the answer returned after pressing “m” or “o”, you will make an alias for it. Then the next time when you look for the same solution, the aliased answers will appear right at the top of your google search results.

Here is a short tutorial video on expanded search & aliases:

Extension Settings

Adding More Code Languages

Codeinu has a few common default programming languages, which you may pick from the dropdown when contributing an answer. You can add or delete code languages on your account settings page here

Choose the code languages you want to use, and when you are typing an answer, our Codeinu extension will show up those in the dropdown. If Codeinu omit a code language that you need, please contact us via email [email protected].

Disabling the "Easy Code Snag Button"

If you want to prevent the Codeinu “easy code snag button” from appearing on any page from your Codeinu extension popup, in the upper right corner click on the Codeinu extension symbol. Then click the hide icon, this will impede the button from showing up on any page you are on. If you just need to incapacitate the button on a particular page, on that page right-click it.

If you want to hide the “easy code snag button” from every website, you should go to your extension settings and check the "Easy Code Snag button" on all sites”.

Disabling Codeinu on a Domain or Page

Sometimes you need to disable Codeinu entirely on certain websites. The first thing you need to do is click on the extension symbol in the upper right corner. Then click on the blacklist icon. By doing so the domain you are on will be blacklisted (right-click if you want to blacklist the page) and Codeinu will disable running code on these blacklisted pages and domains. This means that you cannot add any Codeinu answers from these pages. If you want to prevent the Codeinu “easy code snag button” from appearing on any page from your Codeinu extension pop up, in the upper right corner click on the Codeinu extension symbol. Then click the hide icon, this will impede the button from showing up on any page you are on. If you just need to incapacitate the button on a particular page, on that page right-click it.

Changing the Easy Code Snag Editor hotkey from Ctrl+g to Alt+g

In some cases (For example, you have already used Ctrl+g in chrome for other shortcuts) you may want to change the Easy Code Snag Editor default hotkey from Ctrl+g to Alt+g. You go to your extension settings here and check: Press Alt+g to open "Easy Code Snag Editor", and now Alt+g become the new hotkey.

Codeinu Teams

Below is a short video instructing you on how to use Codeinu teams to help enhance the cooperation between members of your team

Building a team

Codeinu Teams are a convenient method for your team to share code solutions with other members. You may create a team by going to "My Account" -> Teams -> New Team.

Adding new members

You can invite new members who are not already on Codeinu by emailing them.

You may also find and invite any current Codeinu members.

o become a member of the team, any people you invite must accept the team invitations. When they accept the team invitation, you will be notified.

Adding code solutions to your team

When putting a solution on Codeinu, you will see your team’s symbol above the answer. Choosing a team that you want to add the code snippets (the selected team will be highlighted green).

When adding an answer to Codeinu your group symbol will appear above the answer. Simply choose the group to which you want to add the feedback (selected team will be highlighted green).

Viewing Team Answers

To see all of your team solutions go to team answers. Answers from your team will always pop up to the team members. In case they are the solutions receiving the most upvotes, they will be presented to other Codeinu programmers as well.

Receiving and Giving Gifts

Donation Url Setup

Because your responses help other coders as well so it’s reasonable if you want to receive some gifts from them. You can briefly create a PayPal donation link by clicking to https://www.paypal.com/donate/buttons and turning on the button to receive donations from other users. Remember to use the “Shareable URL” paypal offers and put it into your “Paypal Donations Url” under My Account/Profile.

Donation Process

Any answer you add to your Codeinu code solutions can be presented to other developers. The usefulness of your answer decides whether it can be shown up to others or not. Whenever users see your solution, they have the chance to give you some money. This means that if your answer is useful for others, you are more likely to receive donations from them. Remember that donations are the incentive for developers to contribute helpful knowledge, so if you think their answer is useful, don’t hesitate to give them some gifts.

Codeinu Belt System

This is just a simple method we employ to measure how helpful your contributions are to other users. The belt is private by default, but if you want to present it publicly, you can go to your profile page and choose to show it. Many employers use our belt system to make a hiring decision, so try to make as many useful answers as possible to enhance your belt.

We describe the belt system in detail below.

No belt You're either a new Codeinu member or aren't in the habit of storing code snippets as you encounter and solve problems.
White belt You're often entering Codeinu responses, and your answers have helped over 20 other developers solve an issue. IT normally takes roughly 1-2 months for hard-working Codeinu programmers to obtain a white belt.
Yellow belt You have the habit of saving the code solution when you have to face and solve a problem. The yellow belt takes about 2-4 months of full-time work and issue solving to get. This belt is almost 3 times as difficult to gain as white belt
Orange belt You need at least 4-8 months of full-time working to solve the problems. This belt is twice as difficult to get as yellow one.
Green belt For most coders obtaining this belt takes you no less than a year. In some cases, developers can reach this point in one year only, if their contributions are really helpful and have been upvoted by many users. This belt is twice as difficult to get as an orange belt. A company might be attracted by your belt’s color and then make a hiring decision
Blue belt You are definitely a boss developer
Purple belt You are a senior developer. To get this belt you have to program almost every day for at least 4 years
Brown belt Brown belt will only be attained by the most senior coders. If you work as a full-time developer and have been encountering and addressing difficulties for at least 8 years, you may be eligible to obtain a brown belt.
Black belt You're working really hard for a long time and should take a break... This is really not good for you.

Answer Quality Score System

Answer quality score system is a system to rate the quality of the coder feedback. The solution with the highest score for a certain search keyword will pop up right at the top of Codeinu result. If your answer is bad and falls below Poor, it will no longer be presented to other users.