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
| mvn clean install -Dmaven.test.skip=true sakai:deploy -Dmaven.tomcat.home=/Users/Jacob/Sites/sakai.wfu.edu/apache-tomcat-5.5.20 |
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 m2 { | |
| export M2_HOME="/usr/local/bin/apache-maven-2.2.1" | |
| export PATH=$M2_HOME/bin:$PATH | |
| } |
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
| ArgumentError: comparison of Fixnum with nil failed | |
| === COMPILATION STACK: | |
| (empty) | |
| === BACKTRACE: | |
| 0. lib/helpers/resources.rb:45:in `sort_by' | |
| 1. lib/helpers/resources.rb:45:in `listings' |
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
| # Install Bash 4 using homebrew | |
| brew install bash | |
| # Or build it from source... | |
| curl -O http://ftp.gnu.org/gnu/bash/bash-4.2.tar.gz | |
| tar xzf bash-4.2.tar.gz | |
| cd bash-4.2 | |
| ./configure --prefix=/usr/local/bin && make && sudo make install | |
| # Add the new shell to the list of legit shells |
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
| TypeError: can't convert Hash into String | |
| from /Users/Jacob/.rvm/gems/ruby-1.9.2-p290/gems/ruby-mp3info-0.6.15/lib/mp3info.rb:471:in `+' | |
| from /Users/Jacob/.rvm/gems/ruby-1.9.2-p290/gems/ruby-mp3info-0.6.15/lib/mp3info.rb:471:in `to_s' | |
| from (irb):2:in `puts' | |
| from (irb):2:in `puts' | |
| from (irb):2:in `block in irb_binding' | |
| from /Users/Jacob/.rvm/gems/ruby-1.9.2-p290/gems/ruby-mp3info-0.6.15/lib/mp3info.rb:305:in `open' | |
| from (irb):2 | |
| from /Users/Jacob/.rvm/rubies/ruby-1.9.2-p290/bin/irb:16:in `<main>' |
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
| if ((poweredByUrl != null) && (poweredByImage != null) | |
| && (poweredByAltText != null) | |
| && (poweredByUrl.length == poweredByImage.length) | |
| && (poweredByUrl.length == poweredByAltText.length)) | |
| { | |
| for (int i = 0; i < poweredByUrl.length; i++) | |
| { | |
| out.println(" <span class=\"skip\">" | |
| + Web.escapeHtml(rb.getString("site_newwindow")) | |
| + "</span> <a href=\"" + poweredByUrl[i] |
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
| Number.prototype.times = function(value) { | |
| for (var i = 0; i < this; i++) { | |
| value(); | |
| } | |
| } |
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
| Array.prototype.sum = function() { | |
| var sum = 0; | |
| for ( var i = 0; i < this.length; i++ ) { | |
| sum += this[i]; | |
| } | |
| return sum; | |
| } |
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 buildNotifications(data) { | |
| var html = ' \ | |
| {% _.each(categories, function(category) { %} \ | |
| <div class="notification-trigger"> \ | |
| <h3>{{ category.name }}</h3> \ | |
| </div> \ | |
| \ | |
| <div class="notification-content"> \ | |
| {% _.each(category.notifications, function(notification) { %} \ | |
| <ul class="notifications"> \ |
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
| { | |
| "categories": [ | |
| { | |
| "name": "Today", | |
| "notifications": [ | |
| {"title": "Take Fluffy for a walk.", "detail": "Walking Fluffy..."}, | |
| {"title": "Mow the lawn.", "detail": "Mowing the lawn..."}, | |
| {"title": "Get a haircut.", "detail": "Getting a haircut..."}, | |
| {"title": "Do your homework.", "detail": "Doing homework..."}, | |
| {"title": "Mow the lawn.", "detail": "Mowing the lawn..."}, |