Skip to content

Instantly share code, notes, and snippets.

View NaridaL's full-sized avatar

Adrian Leonhard NaridaL

  • Microsoft
  • Dublin, Ireland
View GitHub Profile
@roryokane
roryokane / 1 – myers (default) algorithm.diff
Last active March 25, 2024 03:02
Comparison between Git diff algorithms: myers (default) vs. patience (example favors patience)
diff --git a/file.c b/file.c
index 6faa5a3..e3af329 100644
--- a/file.c
+++ b/file.c
@@ -1,26 +1,25 @@
#include <stdio.h>
-// Frobs foo heartily
-int frobnitz(int foo)
+int fib(int n)