Skip to content

Instantly share code, notes, and snippets.

View hyeonseok's full-sized avatar
🧐

Hyeonseok Shin hyeonseok

🧐
View GitHub Profile
@hyeonseok
hyeonseok / diff2html.php
Last active December 22, 2015 03:28
Word diff to HTML
<?php
/*
http://hyeonseok.com/soojung/dev/2013/09/02/743.html
git diff -U1 --word-diff > ../diff.txt
Execute this command from repository then run this script.
*/
$diff_file = file('diff.txt');