Skip to content

Instantly share code, notes, and snippets.

View jbpros's full-sized avatar
🖐️
yo

Julien Biezemans jbpros

🖐️
yo
View GitHub Profile
@bendc
bendc / easing.css
Created September 23, 2016 04:12
Easing CSS variables
:root {
--ease-in-quad: cubic-bezier(.55, .085, .68, .53);
--ease-in-cubic: cubic-bezier(.550, .055, .675, .19);
--ease-in-quart: cubic-bezier(.895, .03, .685, .22);
--ease-in-quint: cubic-bezier(.755, .05, .855, .06);
--ease-in-expo: cubic-bezier(.95, .05, .795, .035);
--ease-in-circ: cubic-bezier(.6, .04, .98, .335);
--ease-out-quad: cubic-bezier(.25, .46, .45, .94);
--ease-out-cubic: cubic-bezier(.215, .61, .355, 1);
@jbpros
jbpros / gist:1895045
Created February 23, 2012 21:04
Cucumber shortened URLs
http://git.io/cukes -> https://github.com/cucumber
http://git.io/cuke -> https://github.com/cucumber/cucumber
http://git.io/cuke4duke -> https://github.com/cucumber/cuke4duke
http://git.io/cukebootstrap -> https://github.com/cucumber/cucumber-boostrap
http://git.io/cukefeatures -> https://github.com/cucumber/cucumber-features
http://git.io/cukehtml -> https://github.com/cucumber/cucumber-html
http://git.io/cukejvm -> https://github.com/cucumber/cucumber-jvm
http://git.io/cukejs -> https://github.com/cucumber/cucumber-js
http://git.io/cukepatch -> https://github.com/cucumber/cukepatch
http://git.io/cukerails -> https://github.com/cucumber/cucumber-rails
@aslakhellesoy
aslakhellesoy / cukelite.js
Created April 19, 2011 23:15
A little example illustrating how to lex a Gherkin file with node.js
// First: npm install gherkin
// Usage: node cukelite.js path/to/some.feature
var fs = require('fs');
var Lexer = require('gherkin').Lexer('en');
var lexer = new Lexer({
comment: function(value, line) {
console.log(value);
},
tag: function(value, line) {
@coolaj86
coolaj86 / cors.js
Created October 29, 2010 08:41
CORS / XHR2 middleware for Node.js
/*
Here's some documentation on XMLHttpRequest Level 1 and 2 as per the
standard and as per implementation.
XHR
http://www.w3.org/TR/XMLHttpRequest/
http://developer.apple.com/internet/webcontent/xmlhttpreq.html
http://msdn.microsoft.com/en-us/library/ms535874%28VS.85%29.aspx
XHR2