Skip to content

Instantly share code, notes, and snippets.

@invmatt
invmatt / gruntfile.js
Last active August 29, 2015 13:56
Concatinates sass (using compass) and outputs production (minified) and dev (expanded) files, lints the production CSS and smushes images.
/**
* Default Grunt File
* @version 0.1.0
* @description Concatinates sass and outputs production and dev, lints the production CSS, smushes images
*/
module.exports = function(grunt) {
grunt.initConfig({
@marcamos
marcamos / modernizr-classes-ie.markdown
Last active December 31, 2015 18:29
* modernizr-classes-ie.markdown: A list of classes added to each version of IE, via Modernizr. * report-filtered-classes.js: If pre-defined classes *are* found on the HTML element (from Modernizr), log them to the console. You can do something entirely different, such as prepending a list of the found classes to the body element (for example).

Classes inserted into IE by Modernizr

Updated December 23rd, 2013: These lists were gathered from a Windows 7 virtual machine on a MacBook Pro.

IE11

  • js
  • flexbox
  • canvas
  • canvastext
@twosixcode
twosixcode / gist:1988097
Created March 6, 2012 18:40
Make "Paste and Indent" the default paste in Sublime Text 2
// swap the keybindings for paste and paste_and_indent
{ "keys": ["super+v"], "command": "paste_and_indent" },
{ "keys": ["super+shift+v"], "command": "paste" }