The following schedule is lifted directly from Garmin Connect's "intermediate" marathon training plan.
- Tuesday 8th: Intervals (10m warmup, 5m:1m threshold:recovery x6 = 46m)
- Thursday 10th: Threshold run (25m easy, 25 threshold, 25 easy = 1h15m)
| Given a tree structure which indicates some level of inheritance / dependency with | |
| some concrete objects at the end of the tree e.g. | |
| src/ | |
| adapter/ | |
| mocha/ | |
| coffeescript.js | |
| javascript.js | |
| Assume that at each level of the tree (excluding src) there is a relevant 'base' |
The following schedule is lifted directly from Garmin Connect's "intermediate" marathon training plan.
| bootbox.setDefaults({ | |
| /** | |
| * @optional String | |
| * @default: en | |
| * which locale settings to use to translate the three | |
| * standard button labels: OK, CONFIRM, CANCEL | |
| */ | |
| locale: "fr", | |
| /** |
| bootbox.dialog({ | |
| /** | |
| * @required String|Element | |
| */ | |
| message: "I am a custom dialog", | |
| /** | |
| * @optional String|Element | |
| * adds a header to the dialog and places this text in an h4 | |
| */ |
| bootbox.dialog({ | |
| message: "I am a custom dialog", | |
| title: "Custom title", | |
| buttons: { | |
| success: { | |
| label: "Success!", | |
| className: "btn-success", | |
| callback: function() { | |
| Example.show("great success"); | |
| } |
| <!-- set up the modal to start hidden and fade in and out --> | |
| <div id="myModal" class="modal fade"> | |
| <div class="modal-dialog"> | |
| <div class="modal-content"> | |
| <!-- dialog body --> | |
| <div class="modal-body"> | |
| <button type="button" class="close" data-dismiss="modal">×</button> | |
| Hello world! | |
| </div> | |
| <!-- dialog buttons --> |
| /** | |
| * alert | |
| */ | |
| bootbox.alert("Hello world"); | |
| bootbox.alert("Hello world", function() { | |
| console.log("dialog dismissed with OK or escape button"); | |
| }); | |
| bootbox.alert({ |
| // 1) colon aligned, no spaces where possible | |
| var Foo = { | |
| host :"foo", | |
| db :"bar", | |
| details:"baz" | |
| }; | |
| // 2) colon aligned, space after key | |
| var Foo = { | |
| host : "foo", |
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta charset="utf-8"> | |
| <title>My page</title> | |
| <!-- CSS dependencies --> | |
| <link rel="stylesheet" type="text/css" href="bootstrap.min.css"> | |
| </head> | |
| <body> |
| <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | |
| <html xmlns="http://www.w3.org/1999/xhtml"> | |
| <head> | |
| <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> | |
| <title>Garmin Connect</title> | |
| <link href="site-maintenance.css" rel="stylesheet" type="text/css" /> | |
| </head> | |
| <body> |