Skip to content

Instantly share code, notes, and snippets.

Mathieu Leplatre leplatrem

Block or report user

Report or block leplatrem

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

Update Kinto.js in Firefox

Compile Firefox

First, follow the instructions to build Firefox.

Run Kinto tests

$ ./mach xpcshell-test services/common/tests/unit/test_kinto.js
jessegrosjean / AppDispatcher.js
Last active Dec 23, 2015
Reflux style wrapper around Flux
View AppDispatcher.js
var copyProperties = require('react/lib/copyProperties'),
Dispatcher = require('flux').Dispatcher,
util = require('util');
function AppDispatcher() {;
this._queue = [];
util.inherits(AppDispatcher, Dispatcher);
davidbgk / plugin.js
Last active Dec 17, 2015
Boutez les ignominieuses fonctions anonymes hors de vos jQuery lors de SudWeb 2013
View plugin.js
"use strict";
(function($, undefined) {
var Plugin, defaults, namespace;
namespace = 'myPopin';
defaults = {
duration: 1000,
onOpen: function() {}
jeffkistler /
Created May 11, 2011
GeoJSON Django GeoQuerySet Serializer
from cStringIO import StringIO
except ImportError:
from StringIO import StringIO
import datetime
import decimal
from django.core.serializers.python import Serializer as PythonSerializer
from django.core.serializers.json import DjangoJSONEncoder
from django.utils.encoding import is_protected_type, smart_unicode
You can’t perform that action at this time.