Skip to content

Instantly share code, notes, and snippets.

View MrDesjardins's full-sized avatar

Patrick Desjardins MrDesjardins

View GitHub Profile
@szepeviktor
szepeviktor / do-fontdetect.js
Created May 19, 2014 17:44
JavaScript/CSS Font Detector by Lalit Patel
// loading on "load" may cause FOUC
window.onload = function() {
var detective = new Detector();
if (!detective.detect('Meat')) {
var url = 'link/to/style.css'
if (document.createStyleSheet) {
try { document.createStyleSheet(url); } catch (e) { }
} else {
var css;
@eyecatchup
eyecatchup / git-commit-log-stats.md
Last active July 12, 2024 09:40
Some commands to get git commit log statistics for a repository on the command line.

git commit stats

Commands to get commit statistics for a Git repository from the command line -
using git log, git shortlog and friends.




@tomhicks
tomhicks / plink-plonk.js
Last active July 26, 2024 01:10
Listen to your web pages