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
<?php | |
/** | |
* Implements hook_block_info(). | |
*/ | |
function jnet_community_map_block_info() { | |
$blocks['jnet_community_map_block'] = array( | |
'info' => t('Community Map Block'), | |
'cache' => DRUPAL_NO_CACHE | |
); |
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
<?php | |
/** | |
* Implements hook_block_info(). | |
*/ | |
function jnet_community_map_block_info() { | |
$blocks['jnet_community_map_block'] = array( | |
'info' => t('Community Map Block'), | |
'cache' => DRUPAL_NO_CACHE | |
); |
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
var markers = []; | |
// Active marker groups | |
var activeChurch = ""; | |
var activeDay = ""; | |
var activeType = ""; | |
// Different church marker groups | |
var towerGroveMarkers = []; |
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
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(); |
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
# 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 |
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
<?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() { |
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
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" |
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
[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 |
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
[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 |
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
#!/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."; |