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
| var Excel = React.createClass({ | |
| displayName: 'Excel', | |
| __preSearchData: null, | |
| _log: [], | |
| propTypes: { | |
| headers: React.PropTypes.arrayOf( | |
| React.PropTypes.string | |
| ), | |
| initialData: React.PropTypes.arrayOf( |
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
| .on("mouseover", function (d) { | |
| // Call Bootstrap tooltip, this is one of the few jQuery dependencies | |
| $(this).tooltip({ | |
| "title": "Tooltip text or function call", | |
| "placement": "right", | |
| "html": true, | |
| "container": "body" | |
| }).tooltip("show"); | |
| }); |
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
| /** | |
| * Create a linearly spaced array | |
| * | |
| * @param {number} start - starting integer | |
| * @param {number} nvalues - how many values | |
| * @param {number} interval - interval (optional) | |
| */ | |
| function __linspace(start, nvalues, interval) { | |
| if (typeof interval === "undefined") { interval = 0; } | |
| var 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
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <title>Wind Rose Example</title> | |
| <!-- You need to import these --> | |
| <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script> | |
| <script src="https://code.highcharts.com/highcharts.js"></script> | |
| <script src="https://code.highcharts.com/highcharts-more.js"></script> |
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
| for file in *.html; do | |
| mv "$file" "`basename $file .html`.txt" | |
| done |
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
| ; pconfig | |
| pconfig = {current:1, xrange:[0, 10], thick:1.5} | |
| p = plot(x, y, name='my_plot', $ | |
| _EXTRA = pconfig, $ | |
| dimensions = [700, 800], $ | |
| title = 'My Awesome Plot', $ | |
| ytitle = 'F(x)') |
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
| /* Thermocouple */ | |
| void setup() { | |
| Serial.begin(9600); | |
| } | |
| void loop() { | |
| int sensorValue = analogRead(A1); |
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
| /*********************************************************************** | |
| * File name: penny.ino * | |
| * * | |
| * Purpose: Logs data from an array of digital weather sensors and * | |
| * stores the data in CSV format on a standard SD Card. * | |
| * * | |
| * - File references: * | |
| * Name I/O Description * | |
| * ---------------------------------------------------------------- * | |
| * * |
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 get_hdf5,f,branch,var_name | |
| fid = h5f_open(f) ; open file | |
| gid = h5g_open(fid,branch) ; access the branch | |
| did = h5d_open(gid,var_name) ; access the variable | |
| var = h5d_read(did) ; read the variable | |
| h5d_close,did ; close the variable | |
| h5f_close,fid ; close file |
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
| pro print_loi_box,nlat,slat,elon,wlon | |
| ; Box dimensions - Comment out for real use. | |
| nlat=90.0 | |
| slat=-43.0 | |
| wlon=-70 | |
| elon=180.0 | |
| ; Graphic parts | |
| lg_offset = ' ' |