Skip to content

Instantly share code, notes, and snippets.

View zsprackett's full-sized avatar

S. Zachariah Sprackett zsprackett

View GitHub Profile
##################### ElasticSearch Configuration Example #####################
# This file contains an overview of various configuration settings,
# targeted at operations staff. Application developers should
# consult the guide at <http://elasticsearch.org/guide>.
#
# The installation procedure is covered at
# <http://elasticsearch.org/guide/en/elasticsearch/reference/current/setup.html>.
#
# ElasticSearch comes with reasonable defaults for most settings,
input {
tcp {
port => 1514
type => syslog
}
udp {
port => 1514
type => syslog
}
tcp {
@zsprackett
zsprackett / README.md
Last active August 29, 2015 13:56 — forked from groodt/README.md

Homebrew Meteor Formula

To install Meteor with the Homebrew formula [below][3], run:

brew install https://gist.githubusercontent.com/zsprackett/9126793/raw/fe97cf997047f305e37f1490dfbbd0dabd76ca56/meteor.rb

This Homebrew Meteor Formula is based on https://install.meteor.com.

#!/usr/bin/env php
<?php
require(dirname(dirname(__FILE__)) . '/include/bootstrap.php');
require(dirname(dirname(__FILE__)) . '/lib/InstanceInfo.php');
function usage() {
error_log("Usage: $0 -d /var/www/od2/sugarondemand.com -s SQL\n");
error_log(" -e include eval instances");
error_log(" -t include test instances");
exit(1);
.
./clients
./clients/base
./clients/base/api
./clients/base/api/MarketoApi.php
./clients/base/fields
./clients/base/fields/listeditable
./clients/base/fields/listeditable/listeditable.js
./clients/base/fields/shareaction
./clients/base/fields/shareaction/detail.hbs
.
./clients
./clients/base
./clients/base/api
./clients/base/api/MarketoApi.php
./clients/base/fields
./clients/base/fields/listeditable
./clients/base/fields/listeditable/listeditable.js
./clients/base/fields/shareaction
./clients/base/fields/shareaction/detail.hbs
./clients/base/api/MarketoApi.php
./clients/base/fields/listeditable/listeditable.js
./clients/base/fields/shareaction/detail.hbs
./clients/base/layouts/detail/detail.php
./clients/base/layouts/edit/edit.php
./clients/base/layouts/newrecord/newrecord.php
./clients/base/views/agenda/agenda.hbs
./clients/base/views/agenda/agenda.js
./clients/base/views/detail/detail.hbs
./clients/base/views/detail/detail.js
[root@online-web3.sjc updates.sugarcrm.com]# ls -lR sortinghat
sortinghat:
total 4
drwxrwsr-x 7 apache apache 4096 Jun 30 17:07 11323432
sortinghat/11323432:
total 20
drwxrwsr-x 2 apache apache 4096 Jun 30 17:02 0
drwxrwsr-x 2 apache apache 4096 Jun 30 17:03 1
drwxrwsr-x 2 apache apache 4096 Jun 30 17:05 2
diff -ruN httpd-2.2.22/include/util_time.h httpd-2.2.22.patched/include/util_time.h
--- httpd-2.2.22/include/util_time.h 2006-07-11 20:38:44.000000000 -0700
+++ httpd-2.2.22.patched/include/util_time.h 2015-04-11 17:46:18.345588587 -0700
@@ -77,6 +77,13 @@
AP_DECLARE(apr_status_t) ap_recent_ctime(char *date_str, apr_time_t t);
/**
+ * format a recent timestamp in the ISO8601 format
+ * @param date_str String to write to (must have length >= APR_ISO8601_DATE_LEN)
+ * @param t the time to convert
@zsprackett
zsprackett / gist:671da02a0ab597137fe2
Created May 11, 2015 18:56
Verifying I am +zsprackett on my passcard. https://onename.com/zsprackett
Verifying I am +zsprackett on my passcard. https://onename.com/zsprackett