Skip to content

Instantly share code, notes, and snippets.

douglasduteil / angularloader.js
Created Sep 11, 2012
Missing « controller » in the angular.Module interface of the angularloader.js (see
View angularloader.js
// include angular loader, which allows the files to load in any order
AngularJS v1.0.0rc1
(c) 2010-2012 AngularJS
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 / codemirror-mode-regex.css
Last active Mar 21, 2019
Here is a start of a regex mode for CodeMirror inspired by [Regex Colorizer](
View codemirror-mode-regex.css
.cm-s-default{background: #aad1f7;}
.cm-s-default{background: #f9ca69;}
.cm-s-default{color: #007a09;}
.cm-s-default{background: #d2f854;}
.cm-s-default{background: #9ec70c;}
.cm-s-default{background: #ecc9f7;}
.cm-s-default{background: #54b70b;}
.cm-s-default{background: #b688cf;}
douglasduteil /
Last active Dec 16, 2015
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).


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

Sur serveur local sous linux

douglasduteil / .travis.yml
Last active Feb 22, 2021 — forked from lukewpatterson/gist:4242707
Here is how I allow Git SSH authentication in Travis CI. I'm using it to connect Travis to my repo organization AngularUI. This trick is a fork. The goal is to encode the RSA private deploy key in the .travis.yml as "-secure: xxxxx.....".
View .travis.yml
language: node_js
- '0.10'
- master
before_script: .travis/
script: echo -e " >>> Do something... \"grunt\" for example\n"
after_success: .travis/
douglasduteil / Markdown.sublime-settings
Last active Dec 27, 2015
Etienne Sublime User config ;) (install TrailingSpaces, Nexus Theme, etc...)
View Markdown.sublime-settings
View .gitconfig
# core {{{
editor = subl -n -w
excludesfile = /home/x/.gitignore_global
pager=less -x4
# user {{{
email =
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 / 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
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
douglasduteil / data.json
Created Aug 19, 2014
AngularMovie datas
View data.json
"directors":"James Cameron",
"actors":"Sam Worthington, Zoe Saldana, Sigourney Weaver, Stephen Lang, Michelle Rodriguez",
"synopsis":"Sur la lointaine planète de Pandora, Jake Sully, un héros malgré lui, se lance dans une quête de rédemption, de découverte, d'amour inattendu, dont l'issue sera un combat héroïque pour sauver toute une civilisation.",