pythonandchips / git-presenter Goto Github PK
View Code? Open in Web Editor NEWEasier way of presenting code
License: MIT License
Easier way of presenting code
License: MIT License
I was curious to try this out but unfortunately it didn't work after following the instructions in the readme.
lee@ubuntu-VirtualBox:~/junk/prezo_test$ git-presenter init
Presentation has been initalised
run 'git-presenter start' to begin the presentation
lee@ubuntu-VirtualBox:~/junk/prezo_test$ git-presenter start
/var/lib/gems/1.9.1/gems/git_presenter-0.2.1/lib/git_presenter/parser.rb:9:in `presentation': undefined method `to_ruby' for #<Syck::Map:0x8b897fc> (NoMethodError)
from /var/lib/gems/1.9.1/gems/git_presenter-0.2.1/lib/git_presenter.rb:17:in `start_presentation'
from /var/lib/gems/1.9.1/gems/git_presenter-0.2.1/bin/git-presenter:12:in `<top (required)>'
from /usr/local/bin/git-presenter:19:in `load'
from /usr/local/bin/git-presenter:19:in `<main>'
lee@ubuntu-VirtualBox:~/junk/prezo_test$ ruby --version
ruby 1.9.2p290 (2011-07-09 revision 32553) [i686-linux]
If new commits have been added to the repo append them to the configuration file
have a section of the configuration file that will open files and launch applications before starting the presentation
Add extended slide notes so they can be more meaningful to the user
add validation to presentation file to ensure hand edited files are completely valid
allow multiple definitions of a presentation in the presentation file
I realize it doesn't say you support either in the readme but there is a problem with grit
that makes git-presenter
explode on these ruby versions
See mojombo/grit#185
/Users/aaron/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/grit-2.5.0/lib/grit/git-ruby/internal/loose.rb:108:in `unpack_object_header_gently': undefined method `>>' for "x":String (NoMethodError)
from /Users/aaron/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/grit-2.5.0/lib/grit/git-ruby/internal/loose.rb:56:in `get_raw_object'
from /Users/aaron/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/grit-2.5.0/lib/grit/git-ruby/internal/loose.rb:32:in `[]'
from /Users/aaron/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/grit-2.5.0/lib/grit/git-ruby/repository.rb:84:in `block in get_raw_object_by_sha1'
from /Users/aaron/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/grit-2.5.0/lib/grit/git-ruby/repository.rb:83:in `each'
from /Users/aaron/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/grit-2.5.0/lib/grit/git-ruby/repository.rb:83:in `get_raw_object_by_sha1'
from /Users/aaron/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/grit-2.5.0/lib/grit/git-ruby/repository.rb:334:in `walk_log'
from /Users/aaron/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/grit-2.5.0/lib/grit/git-ruby/repository.rb:287:in `log'
from /Users/aaron/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/grit-2.5.0/lib/grit/git-ruby/repository.rb:306:in `rev_list'
from /Users/aaron/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/grit-2.5.0/lib/grit/git-ruby.rb:70:in `block in rev_list'
from /Users/aaron/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/grit-2.5.0/lib/grit/git-ruby.rb:211:in `block in try_run'
from /Users/aaron/.rbenv/versions/2.0.0-p353/lib/ruby/2.0.0/timeout.rb:66:in `timeout'
from /Users/aaron/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/grit-2.5.0/lib/grit/git-ruby.rb:210:in `try_run'
from /Users/aaron/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/grit-2.5.0/lib/grit/git-ruby.rb:70:in `rev_list'
from /Users/aaron/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/grit-2.5.0/lib/grit/commit.rb:120:in `find_all'
from /Users/aaron/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/grit-2.5.0/lib/grit/repo.rb:381:in `commits'
from /Users/aaron/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/git_presenter-0.4.0/lib/git_presenter/controller.rb:48:in `create_slides'
from /Users/aaron/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/git_presenter-0.4.0/lib/git_presenter/controller.rb:9:in `initialise_presentation'
from /Users/aaron/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/git_presenter-0.4.0/lib/git_presenter.rb:18:in `execute'
from /Users/aaron/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/git_presenter-0.4.0/bin/git-presenter:8:in `<top (required)>'
from /Users/aaron/.rbenv/versions/2.0.0-p353/bin/git-presenter:23:in `load'
from /Users/aaron/.rbenv/versions/2.0.0-p353/bin/git-presenter:23:in `<main>'
command mode already exists for test but needs expanded to allow it to be used from a text editor.
command would be as follows: -
git-presenter start -c (start git-presenter in command mode)
git-presenter next/n
git-presenter back/b
git-presenter end/e
git-presenter list/l
git-presenter will need to figure out the current position when transition slides based on the current commit.
extend the slides to open a web page from a slide
intended for when demonstrating code with a web interface
Only 10 commits for a presentation are being added to the presentation file.
print list of notes for the presentation
add yard documentation to the code
add command to edit the presentation based on the users EDITOR environment variable
As it says on the tin
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.