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
| mikey-p ~/git/example.org (master): drush --version | |
| Drush Version : 7.0.0-alpha9 | |
| mikey-p ~/git/example.org (master): drush sa @dev | |
| $aliases["dev"] = array ( | |
| 'uri' => 'dev.example.org', | |
| 'root' => '/var/www/dev.example.org/htdocs', | |
| 'remote-host' => 'example.org', | |
| 'remote-user' => '316e', | |
| 'path-aliases' => | |
| array ( |
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 | |
| public static function ajaxBundleCallback($form, FormStateInterface $form_state) { | |
| return $form['settings']['bundle']; | |
| } |
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 | |
| $aliases['prod'] = array( | |
| 'uri' => 'example.org', | |
| 'root' => '/var/www/example.org/htdocs', | |
| 'remote-host' => 'example.org', | |
| 'remote-user' => '316e', | |
| 'path-aliases' => array( | |
| '%files' => 'files/', | |
| '%dump-dir' => '/tmp', |
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
| mikey-p ~/git/8/core (8.0.x): php scripts/run-tests.sh --url http://8.dev/ --color --file core/modules/system/src/Tests/Common/FormatDateTest.php | |
| Drupal test run | |
| --------------- | |
| Tests to be run: | |
| - Drupal\system\Tests\Common\FormatDateTest | |
| Test run started: | |
| Friday, February 6, 2015 - 13:36 |
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
| ts := $(shell /bin/date "+%Y%m%d%H%M%S") | |
| root_domain := YOURDOMAINHERE.com | |
| archive_file := ${root_domain}-archive-$(ts) | |
| all: clean generate | |
| clean: | |
| rm -rf *o archive; | |
| rm -rf *o ${root_domain}-archive*.tar.gz; | |
| rm -rf *o ${root_domain}-archive*; |
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
| mikey-p ~/git/example-com-cookie (master *): mocha | |
| Example.com cookie | |
| tests | |
| ✓ should return a 200 status when loading the test page (5015ms) | |
| ✓ should have the correct title (5008ms) | |
| 2 passing (10s) |
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
| var assert = require('assert'); | |
| var Browser = require('zombie'); | |
| describe('example.com cookie', function(){ | |
| this.timeout(5000); | |
| describe('tests', function(){ | |
| // Set host and create browser | |
| before(function() { | |
| Browser.localhost('127.0.0.1', 4000); |
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
| function proj { | |
| cd $(find ~/git ~/www ~/ex -maxdepth 1 -type d | peco) | |
| } |
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
| function branch { | |
| git branch | cut -c 3- | peco | xargs git checkout | |
| } | |
| function proj { | |
| cd $(find ~/git ~/www ~/ex -maxdepth 1 -type d | peco) | |
| } |
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
| ag "$@" | peco | awk -F ':' '{print $1 ":" $2}' | xargs pstorm |