This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function defaultLogout(){ | |
| $(config.appSwitcherSelector).slideUp(); | |
| var res = []; | |
| // create our status checking function | |
| function checkStatus(){ | |
| for(var i in res){ | |
| // don't do anything if requests are still pending |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 'use strict'; | |
| /* App Module */ | |
| angular.module('publisher',[]). | |
| config(['$routeProvider', function($routeProvider) { | |
| $routeProvider. | |
| when('/articles', {templateUrl: 'partials/articles.html', controller: PublishController}). | |
| when('/articles/:articleId', {templateUrl: 'partials/article.html', controller: PublishController}). | |
| otherwise({redirectTo: '/articles'}); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 'use strict'; | |
| /* App Module */ | |
| var publisher = angular.module('publisher',[]). | |
| config(['$routeProvider', function($routeProvider) { | |
| console.log("Route provider: ", $routeProvider); | |
| $routeProvider. | |
| when('/articles', {templateUrl: 'partials/articles', controller: PublishListController}). | |
| when('/articles/:articleId', {templateUrl: 'partials/edit', controller: PublishArticleController}). |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| * ==================================================================== | |
| * | |
| * Licensed to the Apache Software Foundation (ASF) under one or more | |
| * contributor license agreements. See the NOTICE file distributed with | |
| * this work for additional information regarding copyright ownership. | |
| * The ASF licenses this file to You 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 | |
| * |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <build> | |
| <finalName>SomeProject</finalName> | |
| <plugins> | |
| <plugin> | |
| <groupId>org.codehaus.mojo</groupId> | |
| <artifactId>appassembler-maven-plugin</artifactId> | |
| <version>1.1.1</version> | |
| <configuration> | |
| <assembleDirectory>target</assembleDirectory> | |
| <programs> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| public class Const { | |
| public static final String url = "https://<thru-lb.org.com>//services/reports/Report?name=Volunteer%20Assistant%20Recorders&format=pdf&locale=en"; | |
| public static final String goodUrl = "http://<host:port>//services/reports/Report?name=Volunteer%20Assistant%20Recorders&format=pdf&locale=en"; | |
| public static final String user = "DMD"; | |
| public static final String password = "password"; | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import java.io.IOException; | |
| import java.io.PrintWriter; | |
| import javax.servlet.Servlet; | |
| import javax.servlet.ServletConfig; | |
| import javax.servlet.ServletException; | |
| import javax.servlet.ServletRequest; | |
| import javax.servlet.ServletResponse; | |
| import javax.servlet.http.HttpServletRequest; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <html> | |
| <head> | |
| <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script> | |
| <script> | |
| function djCallback(data){ | |
| console.log("DJ got data", data); | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| sudo add-apt-repository ppa:webupd8team/java | |
| sudo apt-get update | |
| sudo apt-get install oracle-java7-installer |