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 getQueryParams(qs) { | |
qs = qs.replace(/\+/g, " "); | |
var params = {}, | |
re = /[?&]?([^=]+)=([^&]*)/g, | |
tokens; | |
while (tokens = re.exec(qs)) { | |
params[decodeURIComponent(tokens[1])] | |
= decodeURIComponent(tokens[2]); | |
} |
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
@mixin breakpoint($point) { | |
@if $point == "medium" { | |
@media (min-width: 40.063em) { @content;} | |
} | |
@else if $point == "large" { | |
@media (min-width: 64.063em) { @content;} | |
} | |
@else if $point == "xlarge" { | |
@media (min-width: 90.063em) { @content;} | |
} |
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
# separate processes with an ampersand to run in parallel | |
gulp watch & theme watch | |
# just remember to kill the background process later | |
kill [PID] | |
# where PID is the process ID that's printed out at the | |
# top when you first run the processes e.g. [1] 65593 |
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
<!doctype HTML> | |
<head> | |
<title></title> | |
<script src="//cdnjs.cloudflare.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script> | |
<script src="//cdnjs.cloudflare.com/ajax/libs/path.js/0.8.4/path.min.js"></script> | |
<script> | |
Path.map('#/').to(function() { | |
yield('home'); | |
}); |
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
2012-12-17 17:24:50,235 INFO main org.apache.catalina.startup.HostConfig - Deploying web application archive samigo-app.war | |
java.lang.ClassNotFoundException: [Ljava.lang.String; | |
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1355) | |
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1201) | |
at com.sun.faces.config.ConfigureListener.configure(ConfigureListener.java:615) | |
at com.sun.faces.config.ConfigureListener.configure(ConfigureListener.java:402) | |
at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:328) | |
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3763) | |
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4211) | |
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759) |
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
[INFO] Copying 17 resources | |
[INFO] [compiler:compile {execution: default-compile}] | |
[INFO] Compiling 2 source files to /Users/jacoblichner/Code/wake-forest/sakai-2.8.2/authz/authz-tool/tool/target/classes | |
[INFO] [resources:testResources {execution: default-testResources}] | |
[INFO] Using 'UTF-8' encoding to copy filtered resources. | |
[INFO] skip non existing resourceDirectory /Users/jacoblichner/Code/wake-forest/sakai-2.8.2/authz/authz-tool/tool/src/test/resources | |
[INFO] [compiler:testCompile {execution: default-testCompile}] | |
[INFO] Not compiling test sources | |
[INFO] [surefire:test {execution: default-test}] | |
[INFO] Tests are skipped. |
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 () { | |
// Products as listed in Settings > Ticket Fields | |
products = { | |
cas: ["cas", "CAS"], | |
sakai: ["sak", "Sakai"], | |
shib: ["shib", "Shibboleth"], | |
uportal: ["up", "uPortal"], | |
zimbra: ["zimbra", "Zimbra"] | |
} |
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> | |
<!--[if !IE 7]> | |
<style type="text/css"> | |
.wrapper { | |
display: table; | |
height: 100% | |
} | |
</style> |
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"; | |
var up = up || {}; | |
(function ($, fluid) { | |
/** | |
* Set up the textEditButton. Append a background image with appropriate | |
* descriptive text to the button. | |
* | |
* @return {jQuery} The accessible button located after the display text |
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 kt { ps ax | grep java | grep "catalina" | awk '{print $1}' | xargs kill -9; } |