Git presenter v0.2.1

I released an update to git-presenter this morning that adds the ability to add and run commands from within a presentation.

Note that if you have used version 0.1.1 you will need to regenerate the presentation file as it has now changed from a simple text file to a yaml file.

The screencast below will shows the changes.

Introducing Git Presenter

When giving presentations one thing I really hate to do is live coding, I will almost certainly make a mistake which will cause the code to fail, bore the audience and probably make me look like a fool. Unfortunately live coding is sometime the best way to show off a technique or framework. 

To solve this problem I created Git presenter. It takes a standard Git repository, extracts the commits and allows you to move forwards and back as you would with any slide deck. Below is a short screencast of how to use Git presenter.

It is currently very basic but I am going to add support for updating a presentation rather than regenerating it, adding commands for the presentation (e.g. run a code file, open a application) and quite a few more.

If you have any feedback or feature requests please email me at pythonandchips{at}gmail.com or add a issue to the git repository.


Stop checking in skratch files

When i'm writing code sometimes I like to play around with some code just to figure out how a library or function works in complete isolation. To do this I usual create skratch or sketch files that I can run using straight up ruby.

Problem comes when I forget to delete the skratch file and then check the file into source control creating a slight mess.

To stop doing this I recently added *.sk.* to my global git ignore file (more info in setting up global git ignore files http://help.github.com/ignore-files/ ) and then name the skratch file something like try_something.sk.rb. Now Git will completely ignore these files, I don't have to remember to delete them and the rest of the team don't get all my code doodles on their machines, thats a win in my opinion.