Skip to content

Instantly share code, notes, and snippets.

View dpb587's full-sized avatar

Danny Berger dpb587

View GitHub Profile
diff --git a/src/app/services/fields.js b/src/app/services/fields.js
index 3d01490..03138f6 100644
--- a/src/app/services/fields.js
+++ b/src/app/services/fields.js
@@ -7,6 +7,7 @@ function (angular, _, config) {
'use strict';
var module = angular.module('kibana.services');
+ var patch0702 = { "mappings" : { "iis_tradingapi" : {} } };
{
"title": "{{ARGS.director||'*'}}/{{ARGS.deployment||'*'}}/{{ARGS.job||'*'}}",
"services": {
"query": {
"list": {
"0": {
"query": "",
"alias": "",
"color": "#7EB26D",
"id": 0,
package main
// ignore checks which are currently okay
import (
"os"
"github.com/dpb587/nocommit-experiments/healthchecks/check"
"github.com/dpb587/nocommit-experiments/healthchecks/handler"
)
#!/usr/bin/env ruby
require 'yaml'
lastvm = nil
vms = {}
vmsraw = `cd #{ARGV[0]} && bosh vms #{ARGV[1]}`
vmsraw.scan(/^\|\s([^\|]+)\s+\|\s([^\|]+)\s+\|\s([^\|]+)\s+\|\s([^\|]+)\s+\|$/) do | match |
thisvm = match[0].strip
#!/bin/bash
set -e
#
# Run through all package deps
#
for PACKAGE_NAME in $( cd packages ; find . -type d -depth 1 | cut -c3- ) ; do
@dpb587
dpb587 / composer.json
Created April 21, 2012 01:30
phpunit via composer
{
"repositories" : [
{
"type" : "composer",
"url" : "file:///tmp/phpunit-via-composer"
}
],
"require" : {
"pear-phpunit/PHPUnit" : "3.6.10"
}
<?php
##
# http://www.doctrine-project.org/jira/browse/DBAL-202
# Scenario where PDO and DBAL behavior differ
#
# pdo: 0
# dbal: 1
##
$ ./bin/test-spiff-patch https://github.com/logsearch/logsearch-boshrelease/pull/176.diff
patching file templates/logsearch-deployment.yml
patching file templates/logsearch-infrastructure-aws.yml
patching file templates/logsearch-infrastructure-vsphere.yml
patching file templates/logsearch-infrastructure-warden.yml
patching file templates/logsearch-jobs.yml
====> aws
120c120
< resource_pool: logsearch
@dpb587
dpb587 / README.md
Created January 28, 2013 23:04
Scripting Endicia to Purchase Postage - automating user interactions with AppleScript.
@dpb587
dpb587 / README.md
Last active December 15, 2015 08:09
Bank Card Readers for Web Applications - scanning credit cards into website forms.