I hereby claim:
- I am kevinchampion on github.
- I am kevinchampion (https://keybase.io/kevinchampion) on keybase.
- I have a public key whose fingerprint is 8420 A445 C7CA F069 478D 11AF D941 9AD1 21F9 1CC1
To claim this, I am signing this object:
| /** | |
| * Implements hook_js_alter(). | |
| */ | |
| function invideous_ooyala_integration_js_alter(&$javascript) { | |
| $node = menu_get_object(); | |
| if (!empty($node) && $node->type == 'event') { | |
| $state = _eversport_videofield_get_state($node); |
| <?php | |
| /** | |
| * @file | |
| * Default theme implementation for beans. | |
| * | |
| * Available variables: | |
| * - $content: An array of comment items. Use render($content) to print them all, or | |
| * print a subset such as render($content['field_example']). Use | |
| * hide($content['field_example']) to temporarily suppress the printing of a | |
| * given element. |
I hereby claim:
To claim this, I am signing this object:
| (function(angular, factory) { | |
| if (typeof define === 'function' && define.amd) { | |
| define(['angular', 'ckeditor'], function(angular) { | |
| return factory(angular); | |
| }); | |
| } else { | |
| return factory(angular); | |
| } | |
| }(angular || null, function(angular) { | |
| var app = angular.module('ngCkeditor', []); |
| 1. Provision new vhost | |
| 2. Add CNAME record in rackspace | |
| 3. Create database and grant new mysql user full rights to it | |
| ## Steps for initial setup of buildsrepos | |
| 1. Create headless repo in correct directory | |
| 2. Create builds repo in correct directory | |
| 3. Copy .gitignore, commit, checkout new branch |
| <?php | |
| /** | |
| * Change the weight of this module. | |
| */ | |
| function isu_faculty_update_7000() { | |
| db_query("UPDATE {system} SET weight = 88 WHERE name = 'isu_faculty'"); | |
| } | |
| /** |
| #!/bin/bash | |
| USER="$1" | |
| PROJECT="$2" | |
| FILE="$3" | |
| DESTINATION="$4" | |
| TOKEN="$5" | |
| REF="$6" | |
| FILEDATA=$(curl https://api.github.com/repos/${USER}/${PROJECT}/contents/${FILE}?access_token=${TOKEN}&REF=${ref}) |
| <?php | |
| /** | |
| * @file | |
| * API functions for installing modules and themes. | |
| */ | |
| /** | |
| * Indicates that a module has not been installed yet. | |
| */ |
| ; Contributed modules. | |
| projects[ckeditor][version] = "1.x-dev" | |
| projects[ckeditor][type] = "module" | |
| projects[ckeditor][subdir] = "contrib" | |
| projects[ckeditor][download][type] = "git" | |
| projects[ckeditor][download][revision] = "57245a9" | |
| projects[ckeditor][download][branch] = "7.x-1.x" | |
| ; Integration with Media 2.x | |
| ; http://drupal.org/node/1504696 |
| CLIENT="$1" | |
| SITE="$2" | |
| VHOST="$3" | |
| cd /var/www/vhosts/${VHOST}/public | |
| # Remove all the gitignores | |
| find . -name ".gitignore" -print0 | xargs -0 rm | |
| # Create repo |