Giter VIP home page Giter VIP logo

Git Commit Flooder

Not all of us commit code to public repositories everyday. All the commits we push to a work repository or a private repository goes doesn't show up on the your public profile's heatmap. This makes me sad because I want a nice commit heatmap.

Why use this

Want your Github commit heatmap to look like this

alt tag

instead of this?

alt tag

Installation instructions

Just fork this repo, and clone it to your local disk (via SSH), replacing <YOUR-GIT-USERNAME> with your git username

git clone [email protected]:<YOUR-GIT-USERNAME>/commit-flooder.git

and add these two lines to your .bashrc or .zshrc - basically any piece of code that runs upon the initialization of a new shell session. Replace $REPO_LOCATION with the path to this repository on your local disk.

# Git commit-flooder
(bash $REPO_LOCATION/commit-flooder/commit-flooder.sh > /dev/null 2>&1 &)

You'll want to make sure that you cloned the repository via SSH instead of HTTPS, then ensure that your Github SSH key is added loaded in your SSH-agent. (look here if you don't know what I'm talking about) This way, you can automagically push commits in the background each time you start a shell without being bothered by a username/password prompt.

Result

You will push a commit to your own forked version of this repository each time you open a new shell session.

Dependencies

The commit-flooder.sh script calls openssl rand -base64 32 to generate a random string. If your system doesn't have an OpenSSL installation and don't want to install it, you can use any other method you wish to generate random strings.

whattheheckjo's Projects

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.