mmozuras / git-playback Goto Github PK
View Code? Open in Web Editor NEWCreate visual playback of your commits
License: MIT License
Create visual playback of your commits
License: MIT License
Not sure what the issue is here but this is what I get when running the script:
[milesmatthias]$ git playback Case.js
error: pathspec '748caebf2e63fcb830aaca8c26f02121ae2b4767' did not match any file(s) known to git.
When I try to run git-playback from a location that's on a path that contains a space, I recieve the following error:
~/Personal/projects/git-playback/git-playback.sh ReverseRomanNumeral.cs ReverseRomanNumeralTest.cs
cat: /cygdrive/c/Users/bas/Documents/My: No such file or directory
cat: Dropbox/Personal/projects/git-playback/git-playback.js/playback.js: No such file or directory
Note that my home directory is /cygdrive/c/Users/bas/Documents/My Dropbox/
. When I move git-playback to a different directory that doesn't contain spaces everything works fine.
System Information:
OS: Kubuntu 22
CPU: AMD Ryzen 7 3750H
RAM: 16 GB
Browser: Brave Browser (Version 1.52)
Terminal: Konsole
Behaviour:
When opening the html document, only a the first 30 or so lines of code are displayed. If there is a keybind to scroll up and down, it is not in the readme or the help command.
Expected Behaviour:
Preferrably I would like to be able to see the entire file. It isn't longer than 50 lines.
Alternatively, I would like to be able to press a button to scroll down the lines of code.
On Mac OS X 10.7.3 on both Google Chrome 18.0.1025.168 and Safari 5.1.3, the result of running git-playback[master*]% ./git-playback README.md
generates playback.html as a blank dark gray screen.
From the Chrome developer Resources tab, the page appears to have successfully loaded highlight.min.js
, jquery.min.js
, and monokai.min.css
. There are no errors in the javascript console.
This error occurs with every file I have tried to generate a playback.html
for.
Followed instructions in README thusly:
cd ~/Desktop/dotfiles-playback-test
sh /path/to/git-playback.sh bash zsh sh
open playback.html
playback.html
opens with blank page and the following JavaScript errors in the console:
SyntaxError: unmatched ) in regular expression playback.html:1:30
SyntaxError: unterminated regular expression literal playback.html:15:544
ReferenceError: jQuery is not defined
playback.html:20:2
<anonymous> file:///Users/rob/Desktop/dotfiles-playback-test/playback.html:20
ReferenceError: jQuery is not definedplayback.html:20:2
<anonymous> file:///Users/rob/Desktop/dotfiles-playback-test/playback.html:20
The animation makes it more difficult to see what changed between slides.
Nice script dude!
As files become larger it will be harder to see the changes they introduce. Maybe you could make vertical scroll pane to the left or right with the entire source tree and only display one file at a time by default (selecting multiple would require drag-selecting or Cmd/Ctrl-clicking the files).
This looks interesting, but I'm running into a problem:
I just cloned and "make install"ed git playback, and it seems to run nicely, e.g.:
$ git playback -s 3d3a9f27d0545255e093f38c6ff4789c2d3572da opac/opac-sign.pl
However when I try to view playback.html in Firefox 17.0.1 on Ubuntu 12.10 all I see is a blank page. Firebug reports these errors:
SyntaxError: missing ; before statement
...xt = current + 1; next = total === next t 0 : next; break; case 'prev': next = c...
playback.html (line 9851, col 60)
TypeError: jQuery(...).playback is not a function
...(v.childNodes[u].nodeType==3){w+=v.childNodes[u].nodeValue.length}else{if(v.chil...
playback.html (line 9851)
Line 9851 is the somewhat impenetrable line of JS that starts with " (function(a,b){function G(a){var b=F[a]={};return p.ea" etc...
Any ideas?
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.