Skip to content

Instantly share code, notes, and snippets.

@davidmerrique
davidmerrique / keybase.md
Last active August 29, 2015 13:58
keybase.md

Keybase proof

I hereby claim:

  • I am davidmerrique on github.
  • I am davidm (https://keybase.io/davidm) on keybase.
  • I have a public key whose fingerprint is 17DC C478 39F8 BD06 B84F 4D4B EFA9 B4DD C13C 3205

To claim this, I am signing this object:

'use strict';
var gulp = require('gulp');
var browserify = require('browserify');
var source = require('vinyl-source-stream');
var buffer = require('vinyl-buffer');
var uglify = require('gulp-uglify');
var coffeeify = require('coffeeify');
var shim = require('browserify-shim');
function countCSSRules() {
var results = '',
log = '';
if (!document.styleSheets) {
return;
}
for (var i = 0; i < document.styleSheets.length; i++) {
countSheet(document.styleSheets[i]);
}
function countSheet(sheet) {
@davidmerrique
davidmerrique / ios-test.css
Created January 13, 2012 20:50 — forked from tonywok/ios-test.css
iOS Media Queries
// iOS Media Queries
// Goal: capture styles for iPhone, iPhone 3G, iPhone 3GS, iPhone 4, iPhone 4S, iPad, and iPad 2
//
// Author: Tony Schneider (@tonywok)
// Please tell me where I fail. :)
// iPhone v(4,4S) portrait
// test: black text (overwritten by v* portrait) with blue background
@media all and (-webkit-min-device-pixel-ratio: 2) and (orientation: portrait) {
a {
@davidmerrique
davidmerrique / dabblet.css
Created January 25, 2012 15:48
The first commented line is your dabblet’s title
/**
* The first commented line is your dabblet’s title
*/
body { background: #fff; height: 100%; }
.icon {
position: absolute;
top: 50%;
left: 50%;
@davidmerrique
davidmerrique / dabblet.css
Created January 25, 2012 16:49
Path Icon Hover - Thanks to Dan Eden
/**
* Path Icon Hover - Thanks to Dan Eden
* Original here: http://dabblet.com/gist/1670215
*
* Dan did a great job emulating the Path icon, so I tried to emulate it without peeking at his code too much.
*/
body {
background: #636864;
height: 100%;
@davidmerrique
davidmerrique / dabblet.css
Created January 27, 2012 04:54
Radial Gradients - David Merrique
/**
* Radial Gradients - David Merrique
*/
body {
background: #fff;
min-height:100%;
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
font-size: 13px;
padding-top: 140px;
text-align: center;
@davidmerrique
davidmerrique / dabblet.css
Created February 4, 2012 16:02
Hello Dribbble!
/**
* Hello Dribbble!
*/
* { box-sizing: border-box; }
html {
font-family: Helvetica Neue, Helvetica, Arial, sans-serif;
background: #fff;
min-height:100%;
@davidmerrique
davidmerrique / dabblet.css
Created February 4, 2012 21:28
Tumblr-ish
/**
* Tumblr-ish
*/
* { box-sizing: border-box; }
html {
font-family: Helvetica Neue, Helvetica, Arial, sans-serif;
font-size: 14px;
/**
* Corner Ribbon - http://jsfiddle.net/chriscoyier/H6rQ6/1/
*/
.wrapper {
margin: 50px auto;
width: 280px;
height: 370px;
background: white;