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
object User "pagerduty" { | |
pager = "SERVICE_KEY_HERE" | |
groups = [ "icingaadmins" ] | |
display_name = "PagerDuty Notification User" | |
states = [ OK, Warning, Critical, Unknown ] | |
types = [ Problem, Recovery ] | |
} | |
object NotificationCommand "notify-service-by-pagerduty" { | |
import "plugin-notification-command" |
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
vmap ]i <Esc>l[bv]w | |
omap ]i :normal v]i<CR> |
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
class Test | |
{ | |
private $obj; | |
const MAP = ['testKey' => 'test']; | |
function __construct() { | |
$this->obj = new \stdClass(); | |
$this->obj->test = "testObject"; | |
} | |
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
Cool Idea: | |
* MySAM Stats (stats) | |
- FitBit / Pedometor / HR Monitor Sync with MySAM. Compare / compete with friends based on steps per (game / season), avg steps / heartrate per game, highest overall steps in a single game for a season (top steps) | |
- Allows additional stats-based, competative metrics | |
- Social engagement: points for sharing / promoting your team (this in turn promotes the facility / company, and of course, DASH) | |
* DASH Events (pub-sub) | |
- Implement (even a basic) Event System | |
- Allows different parts of DASH to passively integrate (i.e. without direct call / forcing, non-blocking) | |
- Modules that are expected to react can all do so by subscribing to an event type and triggering when such an event is broadcasted, especially when considering it can be done asynchronously and with multithreading (e.g., http://reactphp.org/) |
NewerOlder