How do you enable the radio graph of your contributions on github - github

I was talking with a friend today and showed him my github contribution graph. After seeing it he asked how I got the little radio graph that shows the percentage of commits vs pull requests vs issues vs code reviews.
I remember enabling it in the settings at some point in the past but I cannot remember where I did it. I also looked through the settings just now and I don't see an option for it. Moreover when I search online I can't find any mention of it.
I feel like I'm searching using the wrong term for the graph or something. Anyone know where this feature is enabled??

It's called Activity Overview. You can enable it here:
https://docs.github.com/en/account-and-profile/setting-up-and-managing-your-github-profile/managing-contribution-settings-on-your-profile/showing-an-overview-of-your-activity-on-your-profile

Related

Any chance Github Copilot steals closed source code?

I am pretty sure the answer is "no" or we'd hear about it, but wanted to double-check. Does Github Copilot even send any local code to the backend?
Ideally, I'd want an AI autocompletion tool to share proprietary code within an organization, and only there.
All calculations of GitHub Copilot happen on their Servers, none on your local machine. And if you don't disable telemetry as explained in their FAQ your interaction with Copilot (accepting/rejecting Suggestions) might be used to improve copilot, even tho they say your code will not be used. All this Information can be found in the FAQ: https://github.com/features/copilot (bottom of the page)
There are other competitors to Copilot that offer what you are looking for. Especially AI Learning on proprietary Code for your organization. But I won't disclose any names here since it could be seen as advertisement.

How can I decorate my github profile adding some graphs analytics, skill badges etc

I saw people add many graphs, analytics, badges and many more things in their github profile. But how do they do this? See the attached picture and tell me about the process please.someone's github profile
you seem to be new here to Stackoverflow. Stackoverflow is a site where programmers help one another solve problems or issues that they are having with their code, environment, etc. Generally a question such as this would be closed, well at least from my experience. When asking a question you should probably ask something related to code or an issue (never ask how to do something with no existing code because people don't like that, coming from experience). Really only ask a question if there's an issue and a solution.
Back to your question, you can get all that stuff in that screenshot under stats here and you can add the tech stack stuff with any old github readme badge like this one. Just add what they tell you to your profiles markdown file, if you don't know how to do that look here.

Is there a way to add custom "badges" to files on GitHub?

I have it in my head to help people at my company get better by finding a way to highlight and call out good code.
In particular, I'd like to be able to mark a file (not a repository or directory) as having a "gold star" (or another badge) so people browsing our source code who see the badge can see they're looking at a really good implementation they might take inspiration from.
I'm taking inspiration from the code owners feature on GitHub where there's a little padlock icon on a file if it's assigned ownership by the CODEOWNERS file.
Is it possible to do a custom "badge" on GitHub? If so, what's the API?
Browsing the GitHub documentation and searching online, I wasn't able to find anything explaining how to do something like this. Most folks were talking about the little images badges like the code coverage badges people put in their readme files.
Checkout this thread. You can submit feature request to GitLab and GitHub or in case of GitLab code your own feature and submit PR.
Here are some closely related discussions. Probably you have already seen them and are not looking for them but you might use them to get idea of how to create the feature that you want.
The Shields service (at shields.io) provides a way to create custom badges for your projects. These are badges are very common and are frequently used to show status information about the project, or demonstrate tools that were used for the development of your project. (...more)
Also checkout Bring Your Own Badge

Graphs menu missing on github

I used to be able to do Graphs menu > Network
to see a great graph of branches and transactions.
But now it's gone.
I'm still a novice at github.
They changed graph menu to insight menu.
Check it.

Disable Source tab in Google Code

How to disable source tab in Google Code? I don't want any random users to look at my code.
Before you say that this can't be done, that Google Code is by default open source. Someone managed to do it, somehow.
Edit: Before you downvote me further, take a look at the link I provided. It's possible to do it, despite whatever you want to say. And I want to know how.
I don't want any random users to look at my code.
You can't prevent people from downloading the source code. Google's SVN repositories are open to anonymous browsing and checkout. For example, in the project you cited (the StackOverflow clone), notice that
svn checkout http://cnprog.googlecode.com/svn/trunk/ cnprog-read-only
works just fine for downloading the source.
If you don't want people looking at your source code, don't use a free public-hosting service. Setting up a local svn repository is very easy, in any case: here's how you'd go about setting one up and adding stuff to it.
In your GC page Administer|Tabs then check the hide checkbox next to Source. Your code will still be available via SVN though.
The whole point of Google Code is that it is for open source. That means everyone is allowed to see it. If you don't want people looking at your code, use some closed source hosting site.
You can replace tabs with Wiki pages (for example, to point to your GitHub repository), but you can't prevent access to the Google SVN server.