This file contains 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 org.jfree.chart.*; | |
import org.jfree.chart.plot.*; | |
import org.jfree.chart.title.*; | |
import org.jfree.data.general.*; | |
import java.awt.*; | |
void showMeter(int value ) { |
This file contains 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
val PRE_DST_DATE = "03/09/2013 19:00".toDateTime | |
val POST_DST_DATE = "03/10/2013 00:00".toDateTime | |
val interval = 15 | |
val minutePeriods = Minutes.minutesBetween( PRE_DST_DATE, POST_DST_DATE ).getMinutes / interval | |
val datePeriods = List.tabulate[DateTime](minutePeriods)( minutes => PRE_DST_DATE.plusMinutes(minutes * interval) ) |
This file contains 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
var highPass = function highPass(number, cutoff) { | |
if (number >= cutoff) { | |
return true; | |
} else { | |
return false; | |
} | |
}, | |
lowPass = function lowPass(number, cutoff) { | |
if (number >= cutoff) { |
This file contains 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
// Source Code boxes | |
.highlight, pre, .gist-data { | |
@include border-radius( 0 ); | |
@include box-shadow(#bbb 0 0 6px); | |
code, .line-numbers, .line_data, .line_data pre, .line_numbers { font-size: 15px; line-height: 1.5em; } | |
.line-numbers, .line_numbers { background: #f6f6f6; color: #999; } | |
} | |
.code-title { |
This file contains 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
# Setup Instructions For Get Started With Scala | |
Today's course on getting started with Scala will require a bit of setup on your part. Having everything ready to go well before you show up will ensure that you will get the maximum value from our course. | |
## Physical Setup | |
You'll need to bring a working laptop with you. | |
## Java Setup |