Skip to content

Instantly share code, notes, and snippets.

<div class='title'>
We're in the United Kingdom. Deploy your cloud servers and private cloud today!
</div>
<ul class="clearfix">
<li class="home-solutions-email clickable">
<img src="/sites/default/files/ribbon_orange.png" class="corner-ribbon">
<h2>Email &amp; Collaboration for Business</h2>
Enhance productivity and data security with email, IM, file sharing, email archiving & PC backup.
<a href="/online-collaboration-bundle" title="Serverless Exchange">Shop Collaboration Bundles &raquo;</a>
</li>
<div class="home-banner-contact">
<div class="home-banner-contact-callout">
<div class="home-banner-contact-learn">Learn how you can benefit from a <strong>cloud solution</strong></div>
%token:marketplace_live_person:marketplace_liveperson_homepage
<div class="home-banner-contact-phone">%token:theme:partner_phone</div>
<div class="home-banner-contact-consult"><a href="#" class="home-open-consultation">Arrange a Consultation &raquo;</a></div>
<div class="home-consultation-wrapper">
<div class="home-consultation-top"></div>
#!/bin/bash
SSH_KEY_PATH=`readlink -f ~/.ssh/id_rsa.pub`;
KERNEL_VERSION=`uname -v`; # Has distro name in it
DEV_REPO_URL='[email protected]:myplanetdigital/savvis.git';
export DEBIAN_FRONTEND=noninteractive # Don't asking questions during install
if [[ "$KERNEL_VERSION" == *Ubuntu* ]]
then
echo "Found Ubuntu kernel.";
[Thu Aug 01 10:20:20 -0500 2013] web1 php[php_error] : [01-Aug-2013 10:20:20] PHP Warning: Module 'hash' already loaded in Unknown on line 0
[Thu Aug 01 10:20:20 -0500 2013] web1 php[php_error] : [01-Aug-2013 10:20:20] PHP Warning: Module 'json' already loaded in Unknown on line 0
[Thu Aug 01 10:20:20 -0500 2013] web1 php-fpm : [01-Aug-2013 15:20:20] NOTICE: fpm is running, pid 96
[Thu Aug 01 10:20:20 -0500 2013] web1 php-fpm : [01-Aug-2013 15:20:20] NOTICE: ready to handle connections
[Thu Aug 01 10:20:21 -0500 2013] web1 php[php-fpm] : [01-Aug-2013 15:20:20] NOTICE: fpm is running, pid 96
[Thu Aug 01 10:20:21 -0500 2013] web1 php[php-fpm] : [01-Aug-2013 15:20:20] NOTICE: ready to handle connections
[Thu Aug 01 10:20:21 -0500 2013] web1 php[php_error] : [01-Aug-2013 10:20:20] PHP Warning: Module 'xml' already loaded in Unknown on line 0
[Thu Aug 01 10:20:21 -0500 2013] web1 php[php_error] : [01-Aug-2013 10:20:20] PHP Warning: Module 'PDO' already loaded in Unknown on line 0
[Thu Aug 01 10:20:23 -0500 201
[Thu Aug 01 10:20:20 -0500 2013] web1 php[php_error] : [01-Aug-2013 10:20:20] PHP Warning: Module 'hash' already loaded in Unknown on line 0
[Thu Aug 01 10:20:20 -0500 2013] web1 php[php_error] : [01-Aug-2013 10:20:20] PHP Warning: Module 'json' already loaded in Unknown on line 0
[Thu Aug 01 10:20:20 -0500 2013] web1 php-fpm : [01-Aug-2013 15:20:20] NOTICE: fpm is running, pid 96
[Thu Aug 01 10:20:20 -0500 2013] web1 php-fpm : [01-Aug-2013 15:20:20] NOTICE: ready to handle connections
[Thu Aug 01 10:20:21 -0500 2013] web1 php[php-fpm] : [01-Aug-2013 15:20:20] NOTICE: fpm is running, pid 96
[Thu Aug 01 10:20:21 -0500 2013] web1 php[php-fpm] : [01-Aug-2013 15:20:20] NOTICE: ready to handle connections
[Thu Aug 01 10:20:21 -0500 2013] web1 php[php_error] : [01-Aug-2013 10:20:20] PHP Warning: Module 'xml' already loaded in Unknown on line 0
[Thu Aug 01 10:20:21 -0500 2013] web1 php[php_error] : [01-Aug-2013 10:20:20] PHP Warning: Module 'PDO' already loaded in Unknown on line 0
[Thu Aug 01 10:20:23 -0500 201
@kraigh
kraigh / Boxfile
Created May 14, 2013 20:11
Wordpress boxfile for Midrash
web1:
php_version: 5.3.8
php_max_execution_time: 600
php_max_input_time: 600
php_post_max_size: "100M"
php_upload_max_filesize: "100M"
php_file_uploads: "1"
php_max_file_uploads: 10
php_display_errors: "0"
php_date_timezone: "US/central"
<?php
define('JNET_VIEWS_PATH', drupal_get_path('module', 'jnet_views'));
include_once JNET_VIEWS_PATH . '/theme/theme.inc';
/**
* Implements hook_views_api().
*/
function jnet_views_views_api() {
@kraigh
kraigh / apache.sh
Last active December 14, 2015 14:08
Apache on osx mountain lion
# main Apache config file
/etc/apache2/httpd.conf
# virtual hosts config file
/etc/apache2/extra/httpd-vhosts.conf
# hosts file for redirecting URLs to local IP
/etc/hosts
function joinGroup(groupID, groupName, groupType, kidFriendly, meetingDays) {
jQuery("#joinRequestPopup").reveal();
jQuery("#edit-group-id").val(groupID);
jQuery("#edit-group-name").val(groupName);
jQuery("#edit-group-kids").val(kidFriendly);
jQuery("#edit-group-days").val(meetingDays);
}
function reportError(groupID, groupName, groupType, kidFriendly, meetingDays) {
jQuery("#reportErrorPopup").reveal();
var markers = [];
// Active marker groups
var activeChurch = "";
var activeDay = "";
var activeType = "";
// Different church marker groups
var towerGroveMarkers = [];