Note: YouTube is serving thumbnails from 2 servers:
//img.youtube.com
//i.ytimg.com
Examples are with //i.ytimg.com server just because it’s shorter, no other particular reason. You can use both.
-
Player Background Thumbnail (480x360):
# This manifest assumes 'drupal' namespace is already present: | |
# | |
# kubectl create namespace drupal | |
# | |
# Apply the manifest with: | |
# | |
# kubectl apply -f drupal.yml | |
--- | |
kind: ConfigMap | |
apiVersion: v1 |
Note: YouTube is serving thumbnails from 2 servers:
//img.youtube.com
//i.ytimg.com
Examples are with //i.ytimg.com server just because it’s shorter, no other particular reason. You can use both.
Player Background Thumbnail (480x360):
# Create a pod containing the PHP-FPM application (my-php-app) | |
# and nginx, each mounting the `shared-files` volume to their | |
# respective /var/www/html directories. | |
kind: Pod | |
apiVersion: v1 | |
metadata: | |
name: phpfpm-nginx-example | |
spec: | |
volumes: |
diff --git a/Task/Drush/NimbusForceUuid.php b/Task/Drush/NimbusForceUuid.php | |
new file mode 100644 | |
index 0000000..0e3fbe1 | |
--- /dev/null | |
+++ b/Task/Drush/NimbusForceUuid.php | |
@@ -0,0 +1,20 @@ | |
+<?php | |
+ | |
+namespace Thunder\Robo\Task\Drush; | |
+ |
<?php | |
use Symfony\Component\Yaml\Yaml; | |
global $config_directories; | |
$config_name = drush_shift(); | |
if (!isset($config_directories[$config_name])) { | |
print "No such config directory $config_name\n"; | |
exit; | |
} |
UPDATE taxonomy_term_data SET vid = 'NEW_TAXONOMY' WHERE vid = 'OLD_TAXONOMY'; | |
UPDATE taxonomy_term_field_data SET vid = 'NEW_TAXONOMY' WHERE vid = 'OLD_TAXONOMY'; |
<?php | |
/** | |
* Class used for resampling images | |
*/ | |
class Resampler | |
{ | |
/** | |
* Resample an image | |
* |