Skip to content

Instantly share code, notes, and snippets.

View dixhuit's full-sized avatar

Dix Huit dixhuit

View GitHub Profile
@nmec
nmec / gulp-modernizr.js
Last active January 31, 2019 17:15
A very simple gulp task for compiling a custom modernizr build.
'use strict';
var fs = require('fs');
var gulp = require( 'gulp' );
var modernizr = require('modernizr');
var config = require('./modernizr-config'); // path to JSON config
gulp.task( 'modernizr', function (done) {
modernizr.build(config, function(code) {
@pixelwhip
pixelwhip / template.php
Last active August 29, 2015 14:08
Grunticon snippet for a Drupal theme.
<?php
/**
* Implements hook_preprocess_html().
*/
function [theme_name]_preprocess_html(&$vars) {
/**
* Add Grunticon stylesheet loader.
*/
@octocat
octocat / .gitignore
Created February 27, 2014 19:38
Some common .gitignore configurations
# Compiled source #
###################
*.com
*.class
*.dll
*.exe
*.o
*.so
# Packages #