Skip to content

Instantly share code, notes, and snippets.

View joshdmiller's full-sized avatar

Josh David Miller joshdmiller

View GitHub Profile
@joshdmiller
joshdmiller / Gruntfile.js
Last active December 12, 2015 01:49
This is a Grunt 0.4 task for AngularJS projects. It facilitates the automatic compiling of HTML templates to pure JavaScript through AngularJS's `$templateCache`, so these files can be downloaded as part of an initial app payload. This is based on the Grunt 0.3.x version from angular-ui/bootstrap.
module.exports = function ( grunt ) {
// Load required Grunt tasks
// ...
grunt.loadTasks('build'); // <- place grunt-html2js in this folder
// Project Configuration
grunt.initConfig({
distdir: 'dist',
src: {
service.factory('userService', [ '$http', function($http) {
return {
go : function( user ) {
console.log('Executing ' + this.request);
return $http.post( '/api/login', user );
}
};
} ]);
--- PKGBUILD.old 2012-11-09 12:36:25.000000000 -0800
+++ PKGBUILD 2012-11-22 13:49:32.577936391 -0800
@@ -9,21 +9,19 @@
license=('cc-by-nc-sa-3.0')
arch=('any')
depends=('gnome-shell')
-makedepends=('unzip')
+makedepends=('wget' 'unzip')
optdepends=('gnome-shell-extension-user-theme: User Theme extension for GNOME Shell'
'gnome-tweak-tool: A tool to customize advanced GNOME 3 options.')