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
import random | |
from uuid import uuid4 | |
from flask import ( | |
Flask, | |
jsonify, | |
session, | |
request, | |
redirect, | |
url_for, | |
render_template_string |
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
; call this file like this: | |
; drush make --working-copy acquia_lift.make acquia_lift | |
api = 2 | |
core = 7.x | |
projects[drupal][type] = core | |
projects[drupal][version] = "7.26" | |
; Modules ===================================================================== |
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
diff --git a/core/includes/bootstrap.inc b/core/includes/bootstrap.inc | |
index 0551e56..43f5f1b 100644 | |
--- a/core/includes/bootstrap.inc | |
+++ b/core/includes/bootstrap.inc | |
@@ -3,7 +3,8 @@ | |
use Drupal\Core\Database\Database; | |
use Symfony\Component\ClassLoader\UniversalClassLoader; | |
use Symfony\Component\ClassLoader\ApcUniversalClassLoader; | |
-use Drupal\Core\DependencyInjection\ContainerBuilder; | |
+use Symfony\Component\DependencyInjection\Container; |
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
diff --git a/docroot/sites/all/modules/media/file_entity/file_entity.info b/docroot/sites/all/modules/media/file_entity/file_entity.info | |
index 04e77fe..2435168 100644 | |
--- a/docroot/sites/all/modules/media/file_entity/file_entity.info | |
+++ b/docroot/sites/all/modules/media/file_entity/file_entity.info | |
@@ -5,9 +5,9 @@ core = 7.x | |
dependencies[] = field | |
dependencies[] = ctools | |
-; Information added by drupal.org packaging script on 2012-01-12 | |
-version = "7.x-1.0-rc3" |
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 | |
/** | |
* Implements hook_theme(). | |
*/ | |
function rwce_distro_theme($existing, $type, $theme, $path) { | |
return array( | |
'rwce_friendly_message' => array( | |
'template' => 'rwce-friendly-message', | |
'path' => $path . '/templates', |
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
function rwce_distro_update_aof_terms() { | |
$taxonomy_term_data = array( | |
// People | |
'creating access and equality' => array( | |
'name' => 'Creating access and equality', | |
'description' => 'Support equality-seeking organizations to enhance access to human rights, housing, employment and financial services, particularly for traditionally marginalized populations.', | |
'weight' => 0, | |
'icon' => 'aof_accessequality.png' | |
), | |
'financial knowledge' => 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
From 14bc63be8d9a19cdbedaa4b48c7729591f33555e Mon Sep 17 00:00:00 2001 | |
From: Katherine Bailey <katherine@katbailey.net> | |
Date: Tue, 3 Jan 2012 16:18:28 -0800 | |
Subject: [PATCH] Redoing Tom's patch for the highlighted state etc | |
--- | |
collapsible_widget.inc | 62 +++++++++++++++++++++++++++++++++++++++++++ | |
facetapi_collapsible.css | 3 +- | |
facetapi_collapsible.module | 23 ++++++++++++++- | |
3 files changed, 85 insertions(+), 3 deletions(-) |
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 | |
/** | |
* Implements hook_field_formatter_info(). | |
*/ | |
function mymodule_field_formatter_info() { | |
return array( | |
'default_image_formatter' => array( | |
'label' => t('Image with default'), | |
'field types' => array('imagefield'), // check that this is the field type name |
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
(function ($) { | |
Drupal.behaviors.qt_accordion = { | |
attach: function (context, settings) { | |
var qt_options = Drupal.settings.quicktabs; | |
var history_enabled = false; | |
$('.quick-accordion', context).once(function(){ | |
var qtKey = 'qt_' + this.id.substring(this.id.indexOf('-') +1); | |
var options = Drupal.settings.quicktabs[qtKey].options; | |
if (options.history) { |
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 sys=require('sys'), http = require('http'); | |
var target = "node.js"; | |
var since = 0; | |
var options = { | |
host: 'search.twitter.com', | |
port: 80, | |
path: "/search.json?q=" + target + "&since_id="+since, | |
method: 'GET' | |
}; |