##Description Simple Dashing widget (and associated job) to display RSS feeds. Based on Iaian Mitchell's News widget.
##Dependencies nokogiri
| describe("The Mystic Thrown Error", function() { | |
| it("should be working", function() { | |
| var oXML = new ActiveXObject("MSXML2.DOMDocument.4.0"); | |
| oXML.async = false; | |
| oXML.loadXML("<hello></hello>"); | |
| if (oXML.cloneNode) {} // This Fails | |
| expect(true).toBe(true); | |
| }); | |
| }); |
| # Start on mount | |
| SUBSYSTEM=="bdi",ACTION=="add",RUN+="/usr/bin/screen -m -d bash -c 'sleep 5; /usr/bin/dev_clicrdv up'" | |
| # Stop on unmount | |
| SUBSYSTEM=="bdi",ACTION=="remove",RUN+="/usr/bin/screen -m -d bash -c 'sleep 5; /usr/bin/dev_clicrdv halt'" |
| default['nginx']['version'] = "1.2.0" | |
| default['nginx']['passenger']['version'] = "3.0.12" |
| web: node index.js |
| input { | |
| file { | |
| type => "rails" | |
| path => "/log/development.log" | |
| tags => ["development"] | |
| } | |
| } | |
| filter { | |
| if [type] == "rails" { |
| { | |
| "title": "Logstash Search", | |
| "services": { | |
| "query": { | |
| "list": { | |
| "0": { | |
| "query": "agent:NewRelicPinger", | |
| "alias": "", | |
| "color": "#5195CE", | |
| "id": 0, |
| class Dashing.Pie extends Dashing.Widget | |
| @accessor 'value' | |
| onData: (data) -> | |
| @render(data.value) | |
| render: (data) -> | |
| if(!data) | |
| data = @get("value") | |
| if(!data) |
| 'use strict'; | |
| angular.module('app') | |
| .filter('u2camel', function($scope){ | |
| return function(msg) { | |
| if (!angular.isString(msg)) { | |
| return ''; | |
| } else { | |
| msg = msg.replace(/(\_[a-z])/g, function($1){return $1.toUpperCase().replace('_','');}); | |
| msg = msg.replace(/(\-[a-z])/g, function($1){return $1.toUpperCase().replace('-','');}); |
| require "csv" | |
| gem "gares", "> 2.0.0.pre.pre" | |
| require "gares" | |
| parameters = { | |
| :headers => true, | |
| :col_sep => ';', | |
| :encoding => 'UTF-8' | |
| } |