Skip to content

Instantly share code, notes, and snippets.

@AntonMeier
AntonMeier / NHLDeal.txt
Created April 9, 2022 13:11
The new NHL deal with Sweden is done - worth 800 million
_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
- (void)buttonDidConnect:(FLICButton *)button;
{
NSLog(@"Did connect Flic: %@", button.name);
}
- (void)button:(FLICButton *)button didDisconnectWithError:(NSError *)error;
{
NSLog(@"Did disconnect Flic: %@", button.name);
}
- (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);
}
}
- (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:
- (void)viewDidLoad
{
[super viewDidLoad];
[FLICManager configureWithDelegate:self
buttonDelegate:self
background:YES];
}
#import <flic2lib/flic2lib.h>
@interface ViewController () <FLICButtonDelegate, FLICManagerDelegate>
@end
~/Library/Application Scripts/com.shortcutlabs.FlicMac
{
"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",
{
"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",
#!/bin/sh
screencapture ~/Desktop/$(date +%Y%m%d%H%M%S).png