-
Doodle Poll - Let me know what your most interested in
-
http://gist.github.com/btopro (near the top.. this one)
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
| // fetch the nodes somehow | |
| foreach ($nodes as $node) { | |
| $node->newfield = $node->oldfield | |
| unset($node->oldfield); | |
| node_save($node); | |
| } |
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
| # get the project! | |
| drush dl drush_recipes && drush cc drush && drush cook dlr | |
| # to list drush_recipes commands | |
| drush help --filter=drush_recipes | |
| # lets build a new site to play with | |
| drush dl drupal | |
| cd drupal-7.33 | |
| drush si minimal |
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
| { | |
| "bold_folder_labels": true, | |
| "caret_style": "wide", | |
| "color_scheme": "Packages/Color Scheme - Default/Colorized-41242979103884-Monokai.tmTheme", | |
| "default_line_ending": "unix", | |
| "detect_slow_plugins": false, | |
| "draw_white_space": "all", | |
| "ensure_newline_at_eof_on_save": true, | |
| "fade_fold_buttons": false, | |
| "fallback_encoding": "UTF-8", |
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
| # all the students in all the courses | |
| d @courses-all efq user user '[]' student --count --y | |
| # all of the courses that are being publicly marketted | |
| d @online efq node course '[{"condition":"fieldCondition","arguments":["field_display_in_course_list","value","1","="]}]' --count | |
| # number of service_instances that are for the "course" service | |
| d @online efq node service_instance '[{"condition":"propertyCondition","arguments":[ "title","%courses","LIKE"]}]' --count --format=json |
https://btopro.wordpress.com/2013/09/25/products-are-ephemeral-movements-are-eternal/
https://btopro.wordpress.com/2011/08/01/drupal-is-a-social-movement/
https://btopro.wordpress.com/2011/02/24/sustaining-a-decentralized-drupal-movement/
https://btopro.wordpress.com/2013/04/18/the-post-lms-era-suite-of-tools-learning-networks/
https://btopro.wordpress.com/2011/06/08/envisioning-a-lms-less-university/
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 | |
| # prep my digital ocean environment for testing... any elmsln stuff | |
| apt-get install git -y | |
| # then run | |
| cp /var/www/html/drupal/sites/default/settings.php /var/www/html/settings.php | |
| rm -rf /var/www/html/drupal | |
| git clone https://github.com/btopro/elmsln.git | |
| ln -s /var/www/html/elmsln/core/dslmcode/stacks/courses /var/www/html/drupal | |
| # kill symlink for development | |
| rm /var/www/html/drupal/sites/default |
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
| { | |
| "name": "Drupal 7 Admin Page - Rubik", | |
| "drush_recipes_api": "1.0", | |
| "weight": "0", | |
| "core": "7", | |
| "recipe": [ | |
| { | |
| "command": "pm-enable", | |
| "arguments": [ | |
| "tao,rubik", |
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
| <ul class="accordion" data-accordion> | |
| <li class="accordion-navigation"> | |
| <a href="#unit1">Unit 1</a> | |
| <div id="unit1" class="content active"> | |
| <ul class="off-canvas-list content-outline-navigation expanded"> | |
| <h2>Lesson 1</h2> | |
| <h3>Correspondence with Memory</h3><li><a href="/art010/node/81"><div class="icon-assignment-white outline-nav-icon" data-grunticon-embed=""></div>Textbook Readings</a></li><li class="has-submenu"><a href="#"><div class="icon-content-white outline-nav-icon" data-grunticon-embed=""></div><span class="outline-nav-text">Mail Art Overview</span></a> | |
| <ul class="left-submenu level-1-sub"> |