This gist shows how to create a GIF screencast using only free OS X tools: QuickTime, ffmpeg, and gifsicle.
To capture the video (filesize: 19MB), using the free "QuickTime Player" application:
diff --git a/core/scripts/run-tests.sh b/core/scripts/run-tests.sh | |
index 49b1a44..d8f471f 100755 | |
--- a/core/scripts/run-tests.sh | |
+++ b/core/scripts/run-tests.sh | |
@@ -680,6 +680,7 @@ function simpletest_script_get_test_list() { | |
simpletest_script_print_error('No valid tests were specified.'); | |
exit; | |
} | |
+ // I only want to run one test class! :) | |
+ $test_list = array('Drupal\book\Tests\BookTest'); |
Last week I attempted to use the CSS sprites feature of Compass for the second or third time. It's been a struggle each time, but the power and potential is there, so I keep coming back. This time was a bit different, though, because I finally decided to stop relying on the docs and dive into the code.
Before I go into the nitty-gritty, let's take a step back and talk about why I
<?php | |
/** | |
* Implements hook_drush_command(). | |
*/ | |
function custom_local_drush_command() { | |
$items['files-fix-permissions'] = array( | |
'description' => 'Fix file permissions', | |
'options' => array( | |
'owner' => "The name of the user to assign ownership of all files with chown(). Defaults to \$USER.", |
Awesome PHP has been relocated permanently to its own Github repository. No further updates will made to this gist.
Please open an issue for any new suggestions.
In this document I am using Sass's SCSS syntax. You can choose to use the indented syntax in sass, if you prefer it, it has no functional differences from the SCSS syntax.
For Less, I'm using the JavaScript version because this is what they suggest on the website. The ruby version may be different.