Skip to content

Instantly share code, notes, and snippets.

View MKorostoff's full-sized avatar

Matt Korostoff MKorostoff

View GitHub Profile
http://ad.doubleclick.net/N2620/adj/nbcu.golfchan/news_blog
pos=2
sz=728x90
tile=2
site=golfchan
tandomad=none
sect=news
sub=blog
sub2=gtc
pageid=389341
SELECT job.job_id AS job_id, job.app_id AS app_id, job.job_type AS job_type, job.asset_id AS asset_id, job.mediafile_id AS mediafile_id, job.started AS started, job.changed AS changed, job.error_description AS error_description, mediafile.filename AS filename
FROM
mediamosa_job job
INNER JOIN mediamosa_asset_mediafile mediafile ON mediafile.mediafile_id = job.mediafile_id
LEFT OUTER JOIN mediamosa_job_display display ON display.job_id = job.job_id
WHERE (job.job_id = (SELECT MAX(j.job_id) FROM mediamosa_job j WHERE j.mediafile_id = job.mediafile_id AND j.job_type = job.job_type)) AND (display.visibility IS NULL ) AND( (job.job_type = 'ANALYSE') OR (job.job_type = 'TRANSCODE') )AND( (job.status = 'FAILED') OR (job.status = 'CANCELLED') )AND (mediafile.is_still = 'FALSE')
ORDER BY job_id desc
LIMIT 25 OFFSET 0
SELECT node.nid AS nid, field_data_field_published_date.field_published_date_value AS field_data_field_published_date_field_published_date_value, 'node' AS field_data_field_article_headline_a_node_entity_type, 'node' AS field_data_field_article_hero_image_node_entity_type, 'node' AS field_data_field_article_author_reference_node_entity_type, 'node' AS field_data_field_published_date_node_entity_type, 'node' AS field_data_body_node_entity_type, 'node' AS field_data_field_article_tags_node_entity_type, 'g:detail_related_articles' AS view_name
FROM
{node} node
INNER JOIN {taxonomy_index} taxonomy_index_value_0 ON node.nid = taxonomy_index_value_0.nid AND taxonomy_index_value_0.tid = '1'
LEFT JOIN {field_data_field_published_date} field_data_field_published_date ON node.nid = field_data_field_published_date.entity_id AND (field_data_field_published_date.entity_type = 'node' AND field_data_field_published_date.deleted = '0')
WHERE ((( (taxonomy_index_value_0.tid = '1') )AND (node.nid != '1' OR node.nid IS NULL) )
This file has been truncated, but you can view the full file.
{
"$xmlns": {
"dcterms": "http://purl.org/dc/terms/",
"media": "http://search.yahoo.com/mrss/",
"pl": "http://xml.theplatform.com/data/object",
"pla": "http://xml.theplatform.com/data/object/admin",
"plmedia": "http://xml.theplatform.com/media/data/Media",
"plfile": "http://xml.theplatform.com/media/data/MediaFile",
"plrelease": "http://xml.theplatform.com/media/data/Release"
},
<?php
/**
* @file
* Code for the GFC Pathauto Settings feature.
*/
include_once 'gfc_pathauto_settings.features.inc';
/**
* Alter Pathauto-generated aliases before saving.
0123456701234567012345670123456701234567012345670123456701234567012345670123456701234567012345670123456701234567012345670123456701234567012345670123456701234567012345670123456701234567012345670123456701234567012345670123456701234567012345670123456701234567012345670123456701234567012345670123456701234567012345670123456701234567012345670123456701234567012345670123456701234567012345670123456701234567012345670123456701234567012345670123456701234567012345670123456701234567012345670123456701234567012345670123456701234567012345670123456701234567012345670123456701234567012345670123456701234567012345670123456701234567012345670123456701234567012345670123456701234567012345670123456701234567012345670123456701234567012345670123456701234567012345670123456701234567012345670123456701234567012345670123456701234567012345670123456701234567012345670123456701234567012345670123456701234567012345670123456701234567012345670123456701234567012345670123456701234567012345670123456701234567012345670123456701234567012345670123456701234567
createContent
createContentFolder
createCustomField
createEmailMailing
createFacebookMailing
createImportTemplate
createList
createRecipient
createRecipientAndReturnRecipID
createSendTemplate
$ drush @golf.local gfc-feed-test
XML Feed | Drupal Node --- Drupal Node | XML Feed
_________________________________________________
432376 | none 457624 | 457624
439498 | none 457627 | 457627
451828 | none 457629 | 457629
445385 | none 456282 | 456282
445386 | none 476140 | 476140
471342 | none 451247 | 451247
<?php
//why is it this...
if(!isset(get_value($key))){
//and not this?
if( !isset( get_value ( $key ) ) ) {
<?php
//Suppose we have a file with one function, which we commit in git:
function gfc_update_7001() {
nbcsports_features_revert( array( "gfc_pathauto_settings" ) );
}