Skip to content

Instantly share code, notes, and snippets.

View Zlender's full-sized avatar

Rok Zlender Zlender

  • Acquia.com
  • Boston, MA
View GitHub Profile
var SCRUM_SECTIONS = [
"Core",
"Release",
"Data",
"MySQL Upgrades",
"Cats",
"Auto",
"Darwin",
"SecEng",
"Site Factory",
@Zlender
Zlender / quickstart.md
Last active October 4, 2016 19:13
Markdown test
ls *
ls *
#!/bin/bash
echo "Verifying Backups"
BUCKETS=`aws s3 ls | grep "acsf.*backup" | awk '{print $3}'`
while read -r BUCKET; do
echo "Listing files for $BUCKET"
REGION=`aws s3api get-bucket-location --bucket $BUCKET --output text`
if [ $REGION != "None" ]
then
core = 7.x
; API version
; ------------
; Every makefile needs to declare it's Drush Make API version. This version of
; drush make uses API version `2`.
api = 2
;includes[] = "https://gist.githubusercontent.com/Zlender/4cdbb1ce80ca38c49bc5/raw/418d4ad9e69522a8d4e9e6b5ae619137ddd4d880/gistfile1.txt"
projects[] = pants
diff --git a/wordpress_item.inc b/wordpress_item.inc
index aa8f24c..59ccfbb 100644
--- a/wordpress_item.inc
+++ b/wordpress_item.inc
@@ -498,13 +498,15 @@ abstract class WordPressItemMigration extends WordPressMigration {
// Attempt to parse embedded media automatically through the media module.
try {
$uri = media_parse_to_uri($src);
- // Sometimes, at least with oembed, it doesn't like the /v/ form
- $uri = str_replace('youtube.com/v/', 'youtube.com/watch?v=', $uri);
diff --git a/wordpress_item.inc b/wordpress_item.inc
index aa8f24c..59ccfbb 100644
--- a/wordpress_item.inc
+++ b/wordpress_item.inc
@@ -498,13 +498,15 @@ abstract class WordPressItemMigration extends WordPressMigration {
// Attempt to parse embedded media automatically through the media module.
try {
$uri = media_parse_to_uri($src);
- // Sometimes, at least with oembed, it doesn't like the /v/ form
- $uri = str_replace('youtube.com/v/', 'youtube.com/watch?v=', $uri);
diff --git a/wordpress_item.inc b/wordpress_item.inc
index aa8f24c..59ccfbb 100644
--- a/wordpress_item.inc
+++ b/wordpress_item.inc
@@ -498,13 +498,15 @@ abstract class WordPressItemMigration extends WordPressMigration {
// Attempt to parse embedded media automatically through the media module.
try {
$uri = media_parse_to_uri($src);
- // Sometimes, at least with oembed, it doesn't like the /v/ form
- $uri = str_replace('youtube.com/v/', 'youtube.com/watch?v=', $uri);
'super_channel_hot_topics' => array(
'field_name' => 'super_channel_hot_topics',
- 'label' => 'HTML content for hot topics list.',
+ 'label' => 'Hot Topics',
'widget' => array(
'type' => 'text_textarea',
),