Skip to content

Latest commit

 

History

History
37 lines (23 loc) · 981 Bytes

NOTES.md

File metadata and controls

37 lines (23 loc) · 981 Bytes

show translation diffs

git diff --word-diff=color --word-diff-regex=. file1 file2
diff -u file1 file2 |perl /usr/share/doc/git/contrib/diff-highlight/diff-highlight
  • with colors:
sudo apt-get install colordiff
diff -u file1 file2 | colordiff | perl /usr/share/doc/git/contrib/diff-highlight/diff-highlight
wget "http://www.pixelbeat.org/scripts/ansi2html.sh" -O /tmp/ansi2html.sh
chmod +x /tmp/ansi2html.sh
git diff --color-words --no-index orig.txt edited.txt | \
/tmp/ansi2html.sh > 2beshared.html
  • chart.js for graphs

https://www.chartjs.org/ https://phppot.com/php/creating-dynamic-data-graph-using-php-and-chart-js/ https://write.corbpie.com/using-chart-js-with-php-and-mysql/