Is it possible to show 7 languages in a 90 minutes presentation? In this session, I will give that a try.
I'm below average when it comes to typing. When typing in front of an audience, it's even worse.
Since I don't want to bore my audience, I'm going to use git commits as slides. For this, I'm introducing two new git aliases:
git next
and git prev
.
To start the presentation: git checkout demo-start
To move to the next step : git next
To move one step back : git prev
To configure these aliases, run these scripts:
git config --global alias.next '!git checkout git rev-list HEAD..master | tail -1
'
git config --global alias.prev 'checkout HEAD^'
for moving within a specific branch:
git config alias.next-j '!git checkout . && git checkout git rev-list HEAD..java | tail -1
'
git config alias.next-c '!git checkout . && git checkout git rev-list HEAD..csharp | tail -1
'
git config alias.next-e '!git checkout . && git checkout git rev-list HEAD..elixir | tail -1
'
git config alias.next-f '!git checkout . && git checkout git rev-list HEAD..fsharp | tail -1
'
git config alias.next-js '!git checkout . && git checkout git rev-list HEAD..javascript | tail -1
'
git config alias.next-r '!git checkout . && git checkout git rev-list HEAD..ruby | tail -1
'
git config alias.next-s '!git checkout . && git checkout git rev-list HEAD..scala | tail -1
'
Source: http://www.jayway.com/2015/03/30/using-git-commits-to-drive-a-live-coding-session/