Skip to content

Instantly share code, notes, and snippets.

Greg Smith incompl

Block or report user

Report or block incompl

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View gist:497943e8ecaae9507267
- header
height 100px
| logo
align start
| menu
align end
incompl / mq.js
Last active Aug 29, 2015
View mq.js
var $ = function(selector, context) {
if (context === undefined) {
context = document;
var nl = context.querySelectorAll(selector);
View gist:6cc9775b5ebb7574a520
// gregParseInt - It's Less Bad™
function gregParseInt(x, y) {
if (y === undefined) {
y = 10;
return parseInt(x, y);
incompl / gist:1048678071ecfb280a5f
Last active Aug 29, 2015
The correct meta viewport tag to use for everything, please don't disable scaling thanks!
View gist:1048678071ecfb280a5f
<meta name="viewport" content="width=device-width">
View Client.js
var Egg = require('egg.js');
var Person = require('ConstructorExample.js');
var greg = new Person('Greg');
View gist:9574479

  • High fidelity html design prototyping tool
  • Only for bootstrap
  • Can export html/css for individual components
  • Maybe not ready yet, but a good direction for these types of tools and for workflows

CSS Filters

View gist:8867389
(define (Y f)
((lambda (x) (x x))
(lambda (g)
(f (lambda args (apply (g g) args))))))
(define fac
(lambda (f)
(lambda (x)
(if (< x 2)
View gist:7896479
Greg Smith:
dogs are eggs
Pete Karl II:
"Land seals"
Greg Smith:
dogs are animals who bark, sometimes. you can’t really say that in general because some dogs who bark aren’t dogs
Pete Karl II:
Barking happens most times.
Greg Smith:
dogs are eggs, but also they lay eggs
View gist:7585741
$.ajaxPrefilter(function(options, originalOptions, jqXHR) {
options.username = 'greg';
options.password = 'foo';
You can’t perform that action at this time.