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
#!/bin/bash | |
REPOSITORIES=$(aws codecommit list-repositories --sort-by repositoryName --query 'repositories[].repositoryName' --output text) | |
if ! command -v parallel &> /dev/null | |
then | |
for REPO in $REPOSITORIES | |
do | |
bash ./get_repo.sh $REPO | |
done |
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
{ | |
"name": "drupal/social_feed", | |
"type": "drupal-module", | |
"description": "Provides user an option to easily fetch feeds from Facebook, Twitter or Instagram and then display them accordingly using block", | |
"keywords": ["Drupal"], | |
"license": "GPL-2.0+", | |
"homepage": "https://www.drupal.org/project/social_feed", | |
"minimum-stability": "dev", | |
"support": { | |
"issues": "https://www.drupal.org/project/issues/social_feed", |
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 | |
// Query all of the nids of the research content type. | |
$nids = db_select('node', 'n') | |
->fields('n', array('nid')) | |
->condition('type', 'research', '=') | |
->execute() | |
->fetchCol(); | |
foreach ($nids as $nid) { |
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
name: 'Ashok Test' | |
type: module | |
description: Test loading libraries conditionally | |
core: 8.x |
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
update node__body set body_format = 'basic_html' WHERE body_format = 'filtered_html'; | |
update node_revision__body set body_format = 'basic_html' WHERE body_format = 'filtered_html'; | |
update node__body SET body_value = REPLACE(body_value, '<pre>', ''); | |
update node_revision__body SET body_value = REPLACE(body_value, '<pre>', ''); | |
update node__body SET body_value = REPLACE(body_value, '</pre>', ''); | |
update node_revision__body SET body_value = REPLACE(body_value, '</pre>', ''); | |
update node__body SET body_value = REPLACE(body_value, '<code', '<pre><code'); |
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 | |
class DEMigrationCommerceProductMigration extends Migration { | |
protected $file_public_path = ""; | |
protected $source_drupal_root = ""; | |
public function __construct() { | |
parent::__construct(); | |
$this->systemOfRecord = Migration::DESTINATION; |
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
; Stub makefile for videola project. | |
; Get Drupal core and the videola profile which contains a .make file that will | |
; download all the required projects/libraries. | |
core = 6.x | |
api = 2 | |
projects[] = drupal | |
; If you want to use Pressflow Drupal, uncomment out the following three lines |
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/includes/admin.form.inc b/includes/admin.form.inc | |
new file mode 100644 | |
index 0000000..8970475 | |
--- /dev/null | |
+++ b/includes/admin.form.inc | |
@@ -0,0 +1,26 @@ | |
+<?php | |
+ | |
+function islandora_marcxml_settings($form, &$form_state) { | |
+ $form['islandora_marcxml_mods_to_marc_xsl_path'] = 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 | |
// Using awscli for this. Would probably be better in python but this was quick and simple. | |
date_default_timezone_set ('UTC'); | |
/** | |
* Executes aws command and returns output as PHP array. | |
*/ | |
function _exec_aws_command($command) { |
NewerOlder