Giter Club home page Giter Club logo

pokrovsky's Introduction

Build Status Dependency Status Coverage Status Code Climate License Badges

#Pokrovsky

##Github History Vandalism as a Service

v0.2.0

##Introduction

The unbroken chain of pointless Things-as-a-Service continues. This one uses my Uncle Clive service (via my Dead Cockroach service) to generate a script suitable for vandalising your Git commit history (my account is probably displaying an example right now).

###API

/:githublogin/:repo/:text

Will return a bash script which, when run locally, will:

  • initialise a local git repo named :repo
  • create a series of empty commits
  • push the repo to [email protected]::githublogin/:repo.git

The commits will be structured such that they will 'write' the first six characters of :text on the Github commit calendar using the 1982 Sinclair Spectrum character set. There is a limitation in that the Spectrum font is 8 units high, and the Github calendar has a height of 7 (see http://dead-cockroach.herokuapp.com/ for an explanation of how this is handled).

All of the above assumes that you can do public-key authentication to Github from the box on which you're running this.

###Usage example

Create a new, disposable Github repo, then try this:

DISPOSABLEREPO=dummy
GRAFFITI=`echo "© 1982" | sed "s: :%20:g"`
GITHUBUSER=yourgithublogin
curl "http://pokrovsky.herokuapp.com/${GITHUBUSER}/${DISPOSABLEREPO}/${GRAFFITI}" | bash

###Notes

  • You should start with a fresh repo each time, both locally and on Github. The script makes no attempt to create a new Github repo, and it certainly doesn't try to delete anything from there. If you can't work out how to do this safely, you probably shouldn't use this service.
  • If you decide this isn't for you after all, just delete the repo and it will all go away.
  • This owes a massive debt to Gelstudios' splendid Gitfiti.
  • I've made a commit-history video using Gource.
  • I gave a talk about this at EMF Camp 2014, the slides are here and there's video here.

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.