Skip to content

Instantly share code, notes, and snippets.

@douglasduteil
douglasduteil / web-animations.min.js
Created July 29, 2014 07:58
A web-animations/web-animations-next build version (247654e00c2371eede3eea53240e06049cae8de5)
// 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,

function

angular.lowercase

@douglasduteil
douglasduteil / angularloader.js
Created September 11, 2012 01:20
Missing « controller » in the angular.Module interface of the angularloader.js (see https://github.com/angular/angular-seed/blob/master/app/index-async.html)
// 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 November 30, 2015 05:51
douglasduteil...jspm-server experiments results

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 December 16, 2015 12:29
Guide de démarrage pour la création de parsers sous ParserCliff v0.0.3 !

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 December 27, 2015 11:19
Etienne Sublime User config ;) (install TrailingSpaces, Nexus Theme, etc...)
{
"extensions":
[
"md",
"mdown",
"mdwn",
"mmd",
"txt"
],
# 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 December 19, 2013 14:12
Here is a example of the karma json reporter output
{
"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 February 12, 2016 18:33
Shows how to write a zippy component in pure ES6
// 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',
@douglasduteil
douglasduteil / README.md
Last active March 10, 2017 00:49
Arch install notes

Arch install notes

Install utils

sudo pacman -S tree yaourt terminator gnome-tweak-tool vlc ffmpeg  

ZPlug