Simple Dashing job to send sensu client history checks to dashing widgets.
##Dependencies
##Usage
Put the sensu.rb file in your /jobs folder.
Simple Dashing job to send sensu client history checks to dashing widgets.
##Dependencies
##Usage
Put the sensu.rb file in your /jobs folder.
| {-# LANGUAGE EmptyDataDecls #-} | |
| {-# LANGUAGE FlexibleContexts #-} | |
| {-# LANGUAGE FlexibleInstances #-} | |
| {-# LANGUAGE GADTs #-} | |
| {-# LANGUAGE OverloadedStrings #-} | |
| {-# LANGUAGE QuasiQuotes #-} | |
| {-# LANGUAGE TemplateHaskell #-} | |
| {-# LANGUAGE TypeFamilies #-} | |
| {-# LANGUAGE TypeSynonymInstances #-} | |
| {-# OPTIONS_GHC -fno-warn-orphans #-} |
| /** | |
| DQC - D QuickCheck | |
| This is an attempt to create a version of QuickCheck for the D Programming | |
| Language. This is an improvement over dashcheck as it has the following | |
| features : | |
| <ol> | |
| <li>Better randomization of values.</li> | |
| <li>Support for all basic D data types.</li> |
If you want to run it on phantomjs (a headless browser) you can add this profile to your behat.yml and you need phantomjs >= 1.8.0
phantomjs:
extensions:
Behat\MinkExtension\Extension:
base_url: http://dev.local
goutte: ~
selenium2:
wd_host: "http://localhost:8643/wd/hub"
| """ | |
| Attempting to set session variables directly from TestCases can | |
| be error prone. Use this super-class to enable session modifications | |
| from within your tests. | |
| Usage | |
| ----- | |
| class MyTest(SessionEnabledTestCase): |
| $fontawesome_path: "." !default | |
| @font-face | |
| font-family: 'FontAwesome' | |
| src: font-url('#{$fontawesome_path}/fontawesome-webfont.eot') | |
| src: font-url('#{$fontawesome_path}/fontawesome-webfont.eot?#iefix') format("embedded-opentype"), font-url('#{$fontawesome_path}/fontawesome-webfont.woff') format("woff"), font-url('#{$fontawesome_path}/fontawesome-webfont.ttf') format("truetype") | |
| font-weight: normal | |
| font-style: normal | |
| @mixin icon($icon) |
| namespace Fmdb\CoreBundle\Composer; | |
| use Sensio\Bundle\DistributionBundle\Composer\ScriptHandler as BaseScriptHandler; | |
| use Symfony\Component\ClassLoader\ClassCollectionLoader; | |
| use Symfony\Component\Process\Process; | |
| class ScriptHandler extends BaseScriptHandler | |
| { | |
| public static function installBowerAssets($event) | |
| { |
| """ | |
| A newforms widget and field to allow multiple file uploads. | |
| Created by Edward Dale (www.scompt.com) | |
| Released into the Public Domain | |
| """ | |
| from django.utils.encoding import force_unicode | |
| from django.utils.datastructures import MultiValueDict | |
| from django.utils.translation import ugettext |
| *.pyc | |
| bin/ | |
| include/ | |
| lib/ |
| // Source: https://groups.google.com/forum/#!topic/angular/hVrkvaHGOfc | |
| // jsFiddle: http://jsfiddle.net/pkozlowski_opensource/PxdSP/14/ | |
| // author: Pawel Kozlowski | |
| var myApp = angular.module('myApp', []); | |
| //service style, probably the simplest one | |
| myApp.service('helloWorldFromService', function() { | |
| this.sayHello = function() { | |
| return "Hello, World!" |