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
| module.exports = function(grunt) { | |
| /** | |
| * Define "bin" wrapper tasks. | |
| */ | |
| var files = grunt.file.expand("bin/*.sh"); | |
| if (files) { | |
| for (var f in files) { | |
| var name = files[f].split('/').pop().split('.').shift(); | |
| grunt.config(['shell', name], { |
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
| ## | |
| # Copy this into your .bash_profile. | |
| # | |
| # It will show timestamp, working directory, and if available, your git branch. | |
| # | |
| # This snippet may evolve as I change my personal preferences, be sure to create your own canonical copy. | |
| ## | |
| function prompt_command() { | |
| local branch=`git rev-parse --abbrev-ref HEAD 2>/dev/null` |
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
| <?php | |
| class FindX { | |
| function __construct($x) { | |
| $this->x = $x; | |
| } | |
| /** |
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
| <?php | |
| /** | |
| * @file | |
| * Command definition for Drush Cache Warm. | |
| */ | |
| /** | |
| * Implements hook_drush_command(). | |
| */ | |
| function warm_drush_command() { |
NewerOlder