This file contains 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
2013-04-14T18:26:52+00:00 DEBUG (7): Topps_Content_Helper_Data::getWorld: Final world: stdClass Object | |
( | |
[id] => 95 | |
[slug] => bridal-bachelorette | |
[title] => Bridal & Bachelorette | |
[description] => | |
[parent] => 0 | |
[post_count] => 10 | |
[children] => Array | |
( |
This file contains 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 | |
/** | |
* World / Sub-channel template. A world is defined in Magento as a category | |
* (only World categories should have their "Include in Navigation Menu" | |
* attributes set to "Yes"). In WordPress, the World must have a correspon- | |
* ding category that shares the same URL slug as its Magento counterpart. | |
* There is also a World content type in WordPress, which gets associated | |
* with its World category. The world has attributes and content associations | |
* as part of its CTD. |
This file contains 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 | |
/** | |
* Where appropriate, we have injected some customized content rendering to | |
* substitute WordPress post URLs with their actual content. | |
*/ | |
class Topps_Content_Model_Observer | |
{ | |
const TOPPS_CONTENT_LOG = 'content.log'; |
This file contains 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 | |
/** | |
* Given a post type as defined in WP (either a native type, or one | |
* defined via Pods), compute custom fields list to request from | |
* WP JSON API. | |
* | |
* @param string $post_type WP/Pods post type, either singular or plural | |
* @return array | |
* @todo Consider externalizing these assignments into a config file. | |
*/ |
This file contains 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
<VirtualHost *:8888> | |
ServerAdmin webmaster@localhost | |
DocumentRoot /vagrant | |
<Directory /> | |
Options FollowSymLinks | |
AllowOverride None | |
</Directory> | |
This file contains 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
// From CLI, should be able to connect with | |
// mysql --database=qa_dosomething --host=qa.ds.lan --user=qa_dosomething --password=qa_dosomething -A | |
$databases = array ( | |
'default' => | |
array ( | |
'default' => | |
array ( | |
'database' => 'qa_dosomething', | |
'username' => 'qa_dosomething', |
This file contains 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
# | |
# Customized VCL file for serving up a Drupal site with multiple back-ends. | |
# | |
# For more information on this VCL, visit the Lullabot article: | |
# http://www.lullabot.com/articles/varnish-multiple-web-servers-drupal | |
# | |
# Define the internal network subnet. | |
# These are used below to allow internal access to certain files while not | |
# allowing access from the public internet. |
This file contains 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
STORY POINTS BASELINE: ~200 | |
CRITICAL BUGS | |
- Vanishing content: deleted nodes, taxonomies, or menu? | |
CRITICAL CAMPAIGNS WORK | |
- Stamos day | |
- Great Schools query | |
- Project Lunch dev | |
- Cell Phone Drive dev (started by interns) |
This file contains 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 xmlHttp=new XMLHttpRequest(); | |
xmlHttp.open('PURGE', top.location.href, true); | |
xmlHttp.onreadystatechange = function () { | |
if (xmlHttp.readyState === 4) { | |
if (xmlHttp.status === 200) { | |
console.log("Great"); | |
} | |
else { | |
console.log("Too bad"); |
This file contains 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
varnish-config: | |
file.managed: | |
- name: /etc/varnish/secret | |
- source: salt://varnishd/secret | |
- require: | |
- pkg: varnish | |