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
_The new NHL deal with Sweden is done - worth 800 million_ | |
It’s done, the new NHL deal. | |
On Tuesday evening, Swedish time, the Swedish Ice Hockey Association’s Vice Chairman Peter Forsberg [note: Not former NHL player Peter Forsberg] and NHL’s Deputy Commissioner Bill Daly both signed the new eight year deal in New York. | |
- “There have been some tough negotiations over the past two years, but in the end, this is most likely the biggest sports deal in Swedish history. It is worth around 600-800 million SEK [note: 63M-85M USD]”, Forsberg said to SportExpressen. | |
One late addition to the agreement is that the NHL is now bound to pay development fees to Swedish hockey immediately following the draft of a player. | |
Johan Hemlin, SHL’s Sports Director, who has been involved in the negotiations, as well as NHL’s Commissioner Gary Bettman, were both also on location at the NHL’s headquarters in New York on Tuesday. | |
- “This will provide some security for Swedish hockey and we, as the now leading hockey nation outside of |
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
- (void)buttonDidConnect:(FLICButton *)button; | |
{ | |
NSLog(@"Did connect Flic: %@", button.name); | |
} | |
- (void)button:(FLICButton *)button didDisconnectWithError:(NSError *)error; | |
{ | |
NSLog(@"Did disconnect Flic: %@", button.name); | |
} |
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
- (void)managerDidRestoreState:(FLICManager *)manager; | |
{ | |
// The mnager was restored and can now be used. | |
for (FLICButton *button in manager.buttons) | |
{ | |
NSLog(@"Did restore Flic: %@", button.name); | |
} | |
} |
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
- (IBAction)startScan:(id)sender; | |
{ | |
[[FLICManager sharedManager] scanForButtonsWithStateChangeHandler:^(FLICButtonScannerStatusEvent event) { | |
// You can use these events to update your UI. | |
switch (event) | |
{ | |
case FLICButtonScannerStatusEventDiscovered: | |
NSLog(@"A Flic was discovered."); | |
break; | |
case FLICButtonScannerStatusEventConnected: |
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
- (void)viewDidLoad | |
{ | |
[super viewDidLoad]; | |
[FLICManager configureWithDelegate:self | |
buttonDelegate:self | |
background:YES]; | |
} |
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 <flic2lib/flic2lib.h> | |
@interface ViewController () <FLICButtonDelegate, FLICManagerDelegate> | |
@end |
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
~/Library/Application Scripts/com.shortcutlabs.FlicMac |
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
{ | |
"pluginName": "Screenshot", | |
"pluginDescription": "Different kinds of screenshots", | |
"pluginReadMore": "This action lets you take different kinds of screenshots.", | |
"protocolVersion": 2, | |
"pluginIcon": "interactive_icon.png", | |
"actions": | |
[ | |
{ | |
"actionName": "Interactive", |
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
{ | |
"pluginName": "Screenshot", | |
"pluginDescription": "Different kinds of screenshots", | |
"pluginReadMore": "This action lets you take different kinds of screenshots.", | |
"protocolVersion": 1, | |
"actions": | |
[ | |
{ | |
"actionName": "Interactive", | |
"fileName": "interactiveScreenshot.sh", |
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
#!/bin/sh | |
screencapture ~/Desktop/$(date +%Y%m%d%H%M%S).png |
NewerOlder