- Go to github profile page.
- Click on today's or some days contribution
- Open Inspector Window
- Pase the following code
let rollupWrapper = document.querySelectorAll('.TimelineItem');| [core] | |
| repositoryformatversion = 0 | |
| filemode = true | |
| bare = false | |
| logallrefupdates = true | |
| sshCommand = ssh -i ~/.ssh/denmark_rsa -F /dev/null | |
| [user] | |
| name = dipesh | |
| email = [email protected] | |
| [remote "origin"] |
| var minimizeNumber = (num) => { | |
| if(!Number.isFinite(num)) return ""; | |
| const minimizeMap = ["K", "M", "G", "T", "P", "E"]; | |
| if(num < 1000) return num.toString(); | |
| const exp = Math.floor(Math.log(num)/ Math.log(1000)); | |
| const minimized = Number((num / Math.pow(1000, exp)).toFixed(2)); | |
| return minimized+minimizeMap[exp-1]; | |
| } |
System: Debian/Ubuntu/Fedora. Might work for others as well.
As mentioned here, to update a go version you will first need to uninstall the original version.
To uninstall, delete the /usr/local/go directory by: