Skip to content

Instantly share code, notes, and snippets.

View romainl's full-sized avatar
💰
Alwayz Into Somethin'

Romain Lafourcade romainl

💰
Alwayz Into Somethin'
  • Razorfish France
  • Paris, France
View GitHub Profile
Large Object Motions:
(
)
{
}
[[
[]
][
]]
[m
@romainl
romainl / gist:2e1f7936f8179b38f84b
Last active August 29, 2015 14:10 — forked from dahu/gist:f3f8dd2b93db253c1c1d
Possible Title Ideas

Possible Title Ideas

  • The Patient Vimmer
  • Vim from the Bottom Up
  • The Competent Vimmer
  • Versed in Vim
  • Cultivating Vimmers
  • Grooming Vimmers
  • The Vim of Editing
  • Vim is Beautiful -- Editing as if People Mattered
@romainl
romainl / 256color.pl
Last active August 29, 2015 14:14 — forked from hSATAC/256color.pl
#!/usr/bin/perl
# Author: Todd Larason <jtl@molehill.org>
# $XFree86: xc/programs/xterm/vttests/256colors2.pl,v 1.2 2002/03/26 01:46:43 dickey Exp $
# use the resources for colors 0-15 - usually more-or-less a
# reproduction of the standard ANSI colors, but possibly more
# pleasing shades
# colors 16-231 are a 6x6x6 color cube
for ($red = 0; $red < 6; $red++) {
TabLineFill _TabLineFill ModeMsg _ModeMsg
TabLine _TabLine DiffAdd _DiffAdd
LineNr _LineNr Search _Search
Ignore _Ignore PmenuSel _PmenuSel
CursorColumn _CursorColumn PmenuThumb _PmenuThumb
CursorLine _CursorLine CursorLineNr _CursorLineNr
SignColumn _SignColumn TabLineSel _TabLineSel
Pmenu _Pmenu Visual _Visual
FoldColumn _FoldColumn WildMenu _WildMenu
Folded _Folded DiffText _DiffText
@romainl
romainl / README.md
Created March 10, 2016 20:36 — forked from plugnburn/README.md
R.js - parameterized client-side routing in 30 lines of JS

R.js

R.js is a 30-line JS library that brings life to the third part of minimalistic saga: parameterized client-side routing.

How to obtain

Download the library here or include the following into your HTML:

@romainl
romainl / README.md
Created March 10, 2016 20:36 — forked from plugnburn/README.md
XT.js - DOM construction / templating library in 18 lines of JS, 323 bytes minified

XT.js

Let's close the ultra-small library cycle with some awesome array-based templating. 323 bytes minified.

How to obtain

Just download the minified version here or include it into your code:

@romainl
romainl / easing.js
Created August 5, 2016 09:35 — forked from gre/easing.js
Simple Easing Functions in Javascript - see https://github.com/gre/bezier-easing
/*
* Easing Functions - inspired from http://gizma.com/easing/
* only considering the t value for the range [0, 1] => [0, 1]
*/
EasingFunctions = {
// no easing, no acceleration
linear: function (t) { return t },
// accelerating from zero velocity
easeInQuad: function (t) { return t*t },
// decelerating to zero velocity
@romainl
romainl / rAF.js
Created August 5, 2016 12:48 — forked from lenville/rAF.js
requestAnimationFrame polyfill
// http://paulirish.com/2011/requestanimationframe-for-smart-animating/
// http://my.opera.com/emoller/blog/2011/12/20/requestanimationframe-for-smart-er-animating
// requestAnimationFrame polyfill by Erik Möller. fixes from Paul Irish and Tino Zijdel
// MIT license
(function() {
var lastTime = 0;
var vendors = ['ms', 'moz', 'webkit', 'o'];
@romainl
romainl / README.md
Created March 10, 2016 20:36 — forked from plugnburn/README.md
Zen.js - reactive nano-framework in 50 lines of JS

Zen.js

It seems that perfection is attained not when there is nothing more to add, but when there is nothing more to take away.

Antoine de Saint Exupéry

Zen.js is tiny attempt to create the Zen of reactive in-memory storage on the JS client-side environment.

How to obtain