Skip to content

Instantly share code, notes, and snippets.

@douglasduteil
douglasduteil / web-animations.min.js
Created Jul 29, 2014
A web-animations/web-animations-next build version (247654e00c2371eede3eea53240e06049cae8de5)
View web-animations.min.js
// Copyright 2014 Google Inc. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
@douglasduteil
douglasduteil / README.md
Last active Aug 29, 2015
HACK publishing 6to5|babel/bowser.js to the people ! :D
View README.md

HACK publishing babel/bowser.js to the people ! :D (version : 5.1.10)

xclip -sel clip < ~/.nvm/current/lib/node_modules/babel/node_modules/babel-core/browser.js
xclip -sel clip < ~/.nvm/current/lib/node_modules/babel/node_modules/babel-core/browser-polyfill.js
@douglasduteil
douglasduteil / angularloader.js
Created Sep 11, 2012
Missing « controller » in the angular.Module interface of the angularloader.js (see https://github.com/angular/angular-seed/blob/master/app/index-async.html)
View angularloader.js
// include angular loader, which allows the files to load in any order
/*
AngularJS v1.0.0rc1
(c) 2010-2012 AngularJS http://angularjs.org
License: MIT
*/
'use strict';(function(i){function d(c,a,e){return c[a]||(c[a]=e())}return d(d(i,"angular",Object),"module",function(){var c={};return function(a,e,f){e&&c.hasOwnProperty(a)&&(c[a]=null);return d(c,a,function(){function b(a,b,d){return function(){c[d||"push"]([a,b,arguments]);return g}}if(!e)throw Error("No module: "+a);var c=[],d=[],h=b("$injector","invoke"),g={_invokeQueue:c,_runBlocks:d,requires:e,name:a,provider:b("$provide","provider"),factory:b("$provide","factory"),service:b("$provide","service"),
value:b("$provide","value"),constant:b("$provide","constant","unshift"),filter:b("$filterProvider","register"),controller:b('$controllerProvider', 'register'),directive:b("$compileProvider","directive"),config:h,run:function(a){d.push(a);return this}};f&&h(f);return g})}})})(window);
@douglasduteil
douglasduteil / README.md
Last active Nov 30, 2015
douglasduteil...jspm-server experiments results
View README.md

douglasduteil...jspm-server experiments results

Here comes the raw results

HTTP 1

  • No config
  • Record

douglasduteil jspm-server-demo-http1

@douglasduteil
douglasduteil / README.md
Last active Dec 16, 2015
Guide de démarrage pour la création de parsers sous ParserCliff v0.0.3 !
View README.md

ParserCliff version 0.0.3

ParserCliff est une plateforme d'exécution de parsers. Elle permet l'intégration de vos propres parsers, leurs exécutions sur un texte de votre choix, et l'exportation du résultat obtenu (sous XML).

Utilisation

ParserCliff peut être lancé à partir d'un serveur ou localement grâce à Node WebKit

Sur serveur local sous linux

@douglasduteil
douglasduteil / Markdown.sublime-settings
Last active Dec 27, 2015
Etienne Sublime User config ;) (install TrailingSpaces, Nexus Theme, etc...)
View Markdown.sublime-settings
{
"extensions":
[
"md",
"mdown",
"mdwn",
"mmd",
"txt"
],
View .gitconfig
# core {{{
[core]
editor = subl -n -w
excludesfile = /home/x/.gitignore_global
pager=less -x4
#}}}
# user {{{
[user]
email = douglasduteil@gmail.com
@douglasduteil
douglasduteil / karma-json-reporter-output.json
Created Dec 19, 2013
Here is a example of the karma json reporter output
View karma-json-reporter-output.json
{
"browsers": {
"J5RIN6sK-_Hhjeq6MetI": {
"id": "J5RIN6sK-_Hhjeq6MetI",
"fullName": "Mozilla/5.0 (Unknown; Linux x86_64) AppleWebKit/534.34 (KHTML, like Gecko) PhantomJS/1.9.2 Safari/534.34",
"name": "PhantomJS 1.9.2 (Linux)",
"state": 1,
"lastResult": {
"success": 0,
"failed": 1,
@douglasduteil
douglasduteil / zippy.js
Created Feb 12, 2016
Shows how to write a zippy component in pure ES6
View zippy.js
// following https://github.com/angular/angular/blob/2.0.0-beta.6/modules/playground/src/zippy_component/zippy.ts
import {Component, EventEmitter, Input, Output} from 'angular2/core';
import {ObservableWrapper} from 'angular2/src/facade/async';
export Zippy;
Zippy.annotations = [
new Component({
selector: 'zippy',
You can’t perform that action at this time.