pg_ctl -D /usr/local/var/postgres start
createdb <databasename>
psql <databasename>
| $.ajax({ | |
| dataType: "json", | |
| url: "<url for json here>", | |
| success: <function to run when request is done ex: filterdata>, | |
| cache: false | |
| }); |
| .dropList .dropHed { | |
| cursor: pointer; | |
| } | |
| .dropList .dropItem { | |
| background-color: rgb(240,240,240); | |
| border-radius: 2px; | |
| margin-bottom: .6rem; | |
| padding: 1rem; | |
| } | |
| .dropList .dropHed span.cardinal { |
| // this is a starter template for a responsive d3 chart | |
| // it assumes you're using jquery, and that the div your chart | |
| // will live in has an id of "chart" | |
| $(document).ready(function() { | |
| var windowWidth = $(window).width(); | |
| //variable setup: chartcontainer and it's width |
| /////////////////////////////////////////////////////// | |
| // EXPORT JSON to S3 /////////////////////////// | |
| //////////////////////////////////////////// | |
| function onOpen() { | |
| var ss = SpreadsheetApp.getActiveSpreadsheet(); | |
| var menuEntries = [ | |
| {name: "Publish to DMN data store", functionName: "exportS3"}, | |
| ]; | |
| ss.addMenu("Publish Data", menuEntries); |
| $(document).ready(function() { | |
| //custom scripting goes here | |
| // map setup | |
| L.Browser.webkit3d = false; | |
| var map; | |
| map = L.map('map').setView([32.8935772, -96.8870228],10); |
| Player | Age | Games | Started | Rush | RushYds | RushTD | Rec | RecYds | RecTD | Touches | YScm | Era | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| James Wilder (1981) | 23 | 16 | 16 | 107 | 370 | 4 | 48 | 507 | 1 | 155 | 877 | pre | |
| James Wilder (1982) | 24 | 9 | 9 | 83 | 324 | 3 | 53 | 466 | 1 | 136 | 790 | pre | |
| James Wilder (1983) | 25 | 10 | 10 | 161 | 640 | 4 | 57 | 380 | 2 | 218 | 1020 | pre | |
| James Wilder (1984) | 26 | 16 | 16 | 407 | 1544 | 13 | 85 | 685 | 0 | 492 | 2229 | current | |
| James Wilder (1985) | 27 | 16 | 16 | 365 | 1300 | 10 | 53 | 341 | 0 | 418 | 1641 | post | |
| James Wilder (1986) | 28 | 12 | 12 | 190 | 704 | 2 | 43 | 326 | 1 | 233 | 1030 | post | |
| James Wilder (1987) | 29 | 12 | 12 | 106 | 488 | 0 | 40 | 328 | 1 | 146 | 816 | post | |
| James Wilder (1988) | 30 | 7 | 7 | 86 | 343 | 1 | 15 | 124 | 0 | 101 | 467 | post | |
| James Wilder (1989) | 31 | 15 | 4 | 70 | 244 | 0 | 36 | 335 | 3 | 106 | 579 | post |
| /*clearfix hack */ | |
| .clearFix:after { | |
| content: ""; | |
| display: table; | |
| clear: both; } | |
| .audioBug { | |
| position: fixed; | |
| bottom: 5%; | |
| width: 4rem; |