Skip to content

Instantly share code, notes, and snippets.

View richardelloyd's full-sized avatar
💭
on a mission to learn all things

Rich richardelloyd

💭
on a mission to learn all things
  • Self Employed
  • 18:52 (UTC -12:00)
  • LinkedIn in/richp36
View GitHub Profile
@richardelloyd
richardelloyd / 0_reuse_code.js
Created November 22, 2013 14:18
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
<!-- Proguard, via une tâche Ant, pour être indépendant des plugins d'intégration
pour Maven car aucun d'eux n'est officiel et correctement maintenu -->
<plugin>
<artifactId>maven-antrun-plugin</artifactId>
<version>1.7</version>
<configuration>
<proguardVersion>4.9</proguardVersion>
</configuration>
<dependencies>
<dependency>
@richardelloyd
richardelloyd / app.js
Created September 30, 2013 14:48
angualr-app-require
define([
'angular',
'app',
'load-context',
'angular-mobile',
], function(angular, app) {
return angular.module('mobileeo', ['mobileeo.services', 'load-context', 'ngMobile'])
.run(function($rootScope, $route, $location, $routeParams) {
@richardelloyd
richardelloyd / require.config.js
Created September 30, 2013 14:47
require-config
require.config({
'deps': ['main'],
'baseUrl': './js/',
'paths': {
'app' : 'app',
'jquery': 'vendor/jquery',
'angular': 'vendor/angular/angular',
'angular-mobile': 'vendor/angular/angular-touch',
'underscore': 'vendor/underscore/underscore.min',