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
appt xml: | |
- <truckVisit> | |
<msgSource>NOTES</msgSource> | |
- <appt updQual="UPDATE"> | |
- <visit> | |
<ref>I03108172016T</ref> | |
<visitType>DROP</visitType> | |
<estArrTime /> | |
<estWkDuration>0200</estWkDuration> | |
<schedEqID>APHU6597693</schedEqID> |
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
appt xml: | |
- <truckVisit> | |
<msgSource>NOTES</msgSource> | |
- <appt updQual="UPDATE"> | |
- <visit> | |
<ref>080C04152016T</ref> | |
<visitType>LIVE</visitType> | |
<estArrTime>20160415_0800</estArrTime> | |
<estWkDuration>0200</estWkDuration> | |
<schedEqID /> |
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
#!/usr/bin/env sh | |
# each environment key/value pair should include the bundle name as follows: | |
# RELAYBUNDLE__name__KEY=VAL | |
for key in $(env | grep RELAYBUNDLE | sed -e 's/\(.*\)__\(.*\)__\(.*\)/\1:\2:\3/g'); do | |
BUNDLE_NAME=$(echo $key | cut -d: -f2) | |
BUNDLE_KEYVAL=$(echo $key | cut -d: -f3) | |
BUNDLE_KEY=$(echo ${BUNDLE_KEYVAL} | cut -d= -f1) | |
BUNDLE_VAL=$(echo ${BUNDLE_KEYVAL} | cut -d= -f2) | |
BUNDLE_PATH="/tmp/bundle_configs/${BUNDLE_NAME}" |
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
bash-4.3$ grep sasl mix.exs -A5 -B5 | |
"coveralls.post": :test] | |
] | |
end | |
def application do | |
[applications: [:sasl, | |
:logger, | |
:probe, | |
:logger_file_backend, |
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
bash-4.3$ cat scripts/docker-start | |
#!/bin/bash -x | |
set -eo pipefail | |
export ALLOW_WARNINGS=true | |
export PATH="${PATH}:$(dirname $0)" | |
echo "Waiting for Postgres to become available..." | |
#wait-for-it.sh -s -t 0 -h localhost -p 5432 && true |
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
chef > recipe_mode | |
chef:recipe > yum_package 'glibc' do | |
chef:recipe > arch 'i686' | |
chef:recipe ?> action :install | |
chef:recipe ?> end | |
[2015-12-23T09:22:44-08:00] WARN: Cloning resource attributes for yum_package[glibc] from prior resource (CHEF-3694) | |
[2015-12-23T09:22:44-08:00] WARN: Previous yum_package[glibc]: /var/chef/cache/cookbooks/x/recipes/install_packages.rb:12:in `from_file' | |
[2015-12-23T09:22:44-08:00] WARN: Current yum_package[glibc]: (irb#1):1:in `irb_binding' | |
=> <yum_package[glibc] @name: "glibc" @noop: nil @before: nil @params: {} @provider: Chef::Provider::Package::Yum @allowed_actions: [:nothing, :install, :upgrade, :remove, :purge, :reconfig] @action: [:install] @updated: false @updated_by_last_action: false @supports: {} @ignore_failure: false @retries: 0 @retry_delay: 2 @source_line: "(irb#1):1:in `irb_binding'" @guard_interpreter: :default @elapsed_time: 0 @sensitive: false @candidate_version: nil @options: nil @package_name: "glibc" @resource_name: :yum_package @response_file: nil @re |
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
import os | |
import signal | |
import sys | |
import time | |
import threading | |
class Daemon(object): | |
"""A simple class to properly daemonize a process""" | |
def __init__(self): |
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
package main | |
import _ "net/http/pprof" | |
import ( | |
"bufio" | |
"crypto/md5" | |
"flag" | |
"fmt" | |
"io" | |
"os" |