Skip to content

Instantly share code, notes, and snippets.

View markhealey's full-sized avatar

Mark Healey markhealey

View GitHub Profile
@mandiwise
mandiwise / Count lines in Git repo
Last active May 9, 2024 05:41
A command to calculate lines of code in all tracked files in a Git repo
// Reference: http://stackoverflow.com/questions/4822471/count-number-of-lines-in-a-git-repository
$ git ls-files | xargs wc -l
@montlebalm
montlebalm / container-example.js
Last active December 23, 2015 18:39
An example of loading an F2 app with real AMD.
// AppClass
define("com_markit_header", ["F2.Defer", "F2", "MyCoolClass"], function(defer, F2) {
var AppClass = function() {};
return AppClass;
});