Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

View zsprackett's full-sized avatar

S. Zachariah Sprackett zsprackett

View GitHub Profile
diff -ruN php-5.6.30.orig/Zend/zend_language_scanner.c php-5.6.30/Zend/zend_language_scanner.c
--- php-5.6.30.orig/Zend/zend_language_scanner.c 2017-01-18 19:17:47.000000000 -0500
+++ php-5.6.30/Zend/zend_language_scanner.c 2017-06-25 18:47:16.000000000 -0400
@@ -38,6 +38,9 @@
#ifdef PHP_WIN32
# include <Winuser.h>
#endif
+#ifndef _WIN32
+# include "zend_signal.h"
+#endif
diff --git a/lib/hbc/container/zip.rb b/lib/hbc/container/zip.rb
index 5425d7f..2d59064 100644
--- a/lib/hbc/container/zip.rb
+++ b/lib/hbc/container/zip.rb
@@ -1,6 +1,6 @@
class Hbc::Container::Zip < Hbc::Container::Base
def self.me?(criteria)
- criteria.file.include? 'compressed-encoding=application/zip;'
+ criteria.file.include? 'compressed-encoding=application/zip;' or 'application/zip; charset=binary'
end
@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
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
[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
./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
.
./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
#!/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);
@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.