- Feb 28 (Sat) - Omloop Het Nieuwsblad
- Paris – Nice
- Mar 22 (Sun) - Milan – San Remo
- Mar 27 (Fri) - E3 Harelbeke
- Mar 29 (Sun) - Gent–Wevelgem
- Apr 5 (Sun) - Tour of Flanders
- Apr 12 (Sun) - Paris – Roubaix
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
import Ember from 'ember'; | |
export default Ember.Controller.extend({ | |
appName: 'Ember Twiddle', | |
init() { | |
this._super(); | |
this.set('model', [1, 2, 3]); | |
setInterval(() => { | |
console.log(Math.random()); |
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
index. |
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
NSColor.selectedMenuItemColor().set() | |
NSRectFillUsingOperation(dirtyRect, .CompositeSourceOver); | |
if (dirtyRect.size.height > 1) { | |
let heightMinus1 = dirtyRect.size.height - 1 | |
let currentControlTint = NSColor.currentControlTint() | |
var startingOpacity: CGFloat = 0.09 | |
if currentControlTint == .BlueControlTint { | |
startingOpacity = 0.16 |
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
GET http://localhost:5000/orders/4 | |
{ | |
"status": "shipped" | |
} | |
OPTIONS http://localhost:5000/orders/4 | |
{ | |
"PUT": { | |
"description": "Modify the status of a shipped order", | |
"parameters": { |
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
GET http://localhost:5000/articles/8 | |
Content-Type: application/pdf |
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
PATCH http://localhost:5000/comments/1 | |
{ | |
"favorite": true | |
} |
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
actions: { | |
submitForm: function() { | |
var model = this.store.createRecord('post'); | |
this.resolveKeywords(controller.get('postKeywords')).then(function(keywords) { | |
model.get('keywords').pushObjects(keywords); | |
return model.save(); | |
}).then(function() { | |
controller.transitionToRoute('post', model); | |
}); |
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
promise.then(function(response) { | |
console.log(response); | |
return promise; | |
}).then(function(anotherResponse) { | |
console.log(anotherResponse); | |
}).catch(function(error) { | |
console.error(error); | |
}); |
NewerOlder