Skip to content

Instantly share code, notes, and snippets.

View zsprackett's full-sized avatar

S. Zachariah Sprackett zsprackett

View GitHub Profile
@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
[DEBUG] [6,22944] Loading access token for service [twitter].
[TRACE] D/dalvikvm( 1221): GC_FOR_MALLOC freed 12882 objects / 779768 bytes in 110ms
[DEBUG] [204,23148] got contents
[DEBUG] [1,23149] Parsing config
[TRACE] E/TiBlob ( 1221): (kroll$4) [35,23184] /data/data/net.damagestudios.Linux.com/app_appdata/twitter.config (No such file or directory)
[TRACE] E/TiBlob ( 1221): java.io.FileNotFoundException: /data/data/net.damagestudios.Linux.com/app_appdata/twitter.config (No such file or directory)
[TRACE] E/TiBlob ( 1221): at org.apache.harmony.luni.platform.OSFileSystem.openImpl(Native Method)
[TRACE] E/TiBlob ( 1221): at org.apache.harmony.luni.platform.OSFileSystem.open(OSFileSystem.java:152)
[TRACE] E/TiBlob ( 1221): at java.io.FileInputStream.<init>(FileInputStream.java:82)
[TRACE] E/TiBlob ( 1221): at org.appcelerator.titanium.io.TiFile.getInputStream(TiFile.java:217)
this.loadAccessToken = function(pService)
{
Ti.API.debug('Loading access token for service [' + pService + '].');
try
{
var file = Ti.Filesystem.getFile(Ti.Filesystem.applicationDataDirect
ory, pService + '.config');
}
catch(ex)