Skip to content

Instantly share code, notes, and snippets.

View apetro's full-sized avatar
🏠
Working from home

Andrew Petro apetro

🏠
Working from home
View GitHub Profile
@apetro
apetro / 2015-08-24_myuw_grooming.md
Created August 26, 2015 16:06
2015-08-24 MyUW product backlog grooming

Notes from 2015-08-24 MyUW product backlog grooming

Groomed 68 new story points.

Maintenance and technical progress

  • MUMUP-2057 : Bug : Loading gif doesn't go away on static content : 3 story points.
  • MUMUP-2058 : Use minified dependencies : 5 story points.
  • MUMUP-2066 : Per-portlet flag whether to try to direct render from /web : 5 story points.
@apetro
apetro / result.txt
Created April 1, 2014 21:18
Broken build.
$ ant clean initportal > result.txt
Buildfile: /Users/apetro/code/github_jasig/uPortal/build.xml
clean:
mvn:
[artifact:mvn] [INFO] Scanning for projects...
[artifact:mvn] [INFO] ------------------------------------------------------------------------
[artifact:mvn] [INFO] Reactor Build Order:
@apetro
apetro / console.log
Created April 7, 2014 14:26
JavaScript errors in Gallery co-habiting with Favorites
Uncaught TypeError: Cannot read property 'length' of undefined fluid-custom.min.js:14
b.dom.getElementText fluid-custom.min.js:14
b.reorderer.labeller.renderLabel fluid-custom.min.js:37
q fluid-custom.min.js:17
(anonymous function) fluid-custom.min.js:37
i.each fluid-custom.min.js:11
b.reorderer.labeller.onRefresh fluid-custom.min.js:37
i.event.invokeListener fluid-custom.min.js:12
r fluid-custom.min.js:17
y fluid-custom.min.js:12
@apetro
apetro / README.md
Last active August 29, 2015 13:58
My local uPortal development environment CAS server log4j.xml

In my local environment, this log4j.xml file lives at

/Users/apetro/tomcat/apache-tomcat-7.0.42-jasig-up/webapps/cas/WEB-INF/classes
$ pwd
/Users/apetro/tomcat/apache-tomcat-7.0.42-jasig-up/webapps/cas/WEB-INF/classes
$ ls | grep log4j
log4j.xml
@apetro
apetro / registry.json
Created April 23, 2014 04:57
Work-in-progress JSON production from marketplace registry (example).
{"marketplace":{
"categories":[
{"id":"local.27","name":"News","creatorId":"system","description":"News Portlets"},
{"id":"local.22","name":"Entertainment","creatorId":"system","description":"Entertainment Portlets"},
{"id":"local.19","name":"Academics","creatorId":"system","description":"Academic Portlets"},
{"id":"local.25","name":"Instructors","creatorId":"system","description":"Instructor Portlets"},
{"id":"local.14","name":"Information","creatorId":"system","description":"Informational Portlets"}],
"portlets":[
{"screenShots":[],"shortURL":null,"name":"Movies.com New This Week in Theaters","title":"Movies.com New This Week in Theaters","description":"New movies opening this week from Movies.com","fname":"new-movies","lifecycleState":"PUBLISHED","rating":null,"usersRated":0,"portletReleaseNotes":{"releaseDate":null,"releaseNotes":null},"parentCategoryNames":["Entertainment"]},
{"screenShots":[],"shortURL":null,"name":"The Chronicle: Wired Campus","title":"The Chronicle: Wir
@apetro
apetro / 82a109b33d4007b68586edd70b7800fbe2af217a.diff
Created May 8, 2014 15:27
Changing container to container-fluid
diff --git a/uportal-war/src/main/resources/layout/theme/respondr/regions.xsl b/uportal-war/src/main/resources/layout/theme/respondr/regions.xsl
index 20c7f53..0a51e67 100644
--- a/uportal-war/src/main/resources/layout/theme/respondr/regions.xsl
+++ b/uportal-war/src/main/resources/layout/theme/respondr/regions.xsl
@@ -62,7 +62,7 @@
-->
<xsl:template name="region.hidden-top">
<xsl:if test="//region[@name='hidden-top']/channel">
- <div id="region-page-top-hidden" class="container">
+ <div id="region-page-top-hidden" class="container-fluid">
diff --git a/uportal-war/src/main/data/quickstart_entities/fragment-layout/authenticated-lo.fragment-layout.xml b/uportal-war/src/main/data/quickstart_entities/fragment-layout/authenticated-lo.fragment-layout.xml
index 401b3e5..6bb31e5 100644
--- a/uportal-war/src/main/data/quickstart_entities/fragment-layout/authenticated-lo.fragment-layout.xml
+++ b/uportal-war/src/main/data/quickstart_entities/fragment-layout/authenticated-lo.fragment-layout.xml
@@ -49,5 +49,8 @@
<folder ID="s18" hidden="false" immutable="true" name="Side bar left folder" type="sidebar-left" unremovable="true">
<channel fname="side-bar-menu" unremovable="false" hidden="false" immutable="false" ID="n19"/>
</folder>
+ <folder ID="s20" hidden="false" immutable="true" name="Global Side bar left folder" type="global-sidebar-left" unremovable="true">
+ <channel fname="side-bar-menu" unremovable="false" hidden="false" immutable="false" ID="n21"/>
@apetro
apetro / UW-Madison_uPortal-License.txt
Created May 14, 2014 18:30
old license text from a disappearing mywebspace directory
Copyright 2004-2008, The Board of Regents of the University of Wisconsin System. All rights reserved.
A non-exclusive worldwide royalty-free license is granted for this Software. Permission to use, copy, modify, and distribute this Software and its documentation, with or without modification, for any purpose is granted provided that such redistribution and use in source and binary forms, with or without modification meets the following conditions:
1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
3. Redistributions of any form whatsoever must retain the following acknowledgement:
@apetro
apetro / coverage.xml
Created June 20, 2014 22:14
Example coverage.xml generated from Cobertura.
This file has been truncated, but you can view the full file.
<?xml version="1.0"?>
<!DOCTYPE coverage SYSTEM "http://cobertura.sourceforge.net/xml/coverage-04.dtd">
<coverage line-rate="0.21974657217686028" branch-rate="0.14609273761902078" lines-covered="11411" lines-valid="51928" branches-covered="2593" branches-valid="17749" complexity="2.054109364767518" version="2.0.3" timestamp="1403301904999">
<sources>
<source>/Users/apetro/code/github_jasig/uPortal/uportal-war/target/generated-sources/annotations</source>
<source>/Users/apetro/code/github_jasig/uPortal/uportal-war/target/generated-sources/xjc</source>
<source>--source</source>
<source>/Users/apetro/code/github_jasig/uPortal/uportal-war/src/main/java</source>
</sources>
@apetro
apetro / github_as_wiki_transcript.md
Created June 24, 2014 13:23
Transcript of GitHub as Wiki lightning talk

GitHub as a Wiki

Note: this is a reasonably faithful verbatim transcript of a live conference lightning talk, not a re-worked blog format presentation of this content.

Links:

  • [Slides][]
  • [YouTube recording of presentation][]
  • [Lanyrd entry][]