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
| /* Gulpfile | |
| * Mike Erickson | |
| */ | |
| var gulp = require('gulp'), | |
| notify = require('gulp-notify'), | |
| phpspec = require('gulp-phpspec'); | |
| gulp.task('phpspec', function() { | |
| var options = {debug: true}; |
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
| /* Gulpfile | |
| * Mike Erickson | |
| */ | |
| 'use strict'; | |
| var gulp = require('gulp'), | |
| notify = require('gulp-notify'), | |
| shell = require('gulp-shell'); |
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
| # Saved in following directory | |
| # /etc/apache2/sites-available/smith-guide.conf | |
| # then a2enable to /sites-enabled | |
| <VirtualHost *:80> | |
| ServerAdmin webmaster@localhost | |
| ServerName vaprobash.dev | |
| ServerAlias library.*.xip.io | |
| DocumentRoot /var/www/public |
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
| !34 | |
| <VirtualHost *:80> | |
| ServerAdmin webmaster@localhost | |
| ServerName 192.168.33.10.xip.io | |
| DocumentRoot /vagrant | |
| # Uncomment this to proxy pass to fastcgi | |
| # Assumes Apache 2.4 with mod_proxy_fcgi | |
| # ProxyPassMatch ^/(.*\.php(/.*)?)$ fcgi://127.0.0.1:9000/vagrant/ |
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
| # -*- mode: ruby -*- | |
| # vi: set ft=ruby : | |
| # Config Github Settings | |
| github_username = "fideloper" | |
| github_repo = "Vaprobash" | |
| github_branch = "master" | |
| # Server Configuration |
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 _prompt_char() { | |
| if $(git rev-parse --is-inside-work-tree >/dev/null 2>&1); then | |
| echo "%{%F{blue}%}±%{%f%k%b%}" | |
| else | |
| echo ' ' | |
| fi | |
| } | |
| # This theme works with both the "dark" and "light" variants of the | |
| # Solarized color schema. Set the SOLARIZED_THEME variable to one of |
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 | |
| // This class was automatically generated by build task | |
| // You should not change it manually as it will be overwritten on next build | |
| // @codingStandardsIgnoreFile | |
| use \Codeception\Maybe; | |
| use Codeception\Module\PhpBrowser; | |
| use Codeception\Module\REST; | |
| use Codeception\Module\ApiHelper; |
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 | |
| use \ApiGuy; | |
| class PostListingCest | |
| { | |
| public function _before() | |
| { | |
| } | |
| public function _after() |
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
| gulp.task('test', function () { | |
| return gulp.src('') | |
| .pipe(shell('npm test')) | |
| .on('error', notify.onError({ | |
| title: "Testing Failed", | |
| message: "Error(s) occurred during testing..." | |
| })); | |
| }); | |
| gulp.task('watch', function () { |
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
| gulp.task('phpspec', function() { | |
| var options = {debug: false, clear: true, formatter: 'pretty', notify: true}; | |
| gulp.src('phpspec.yml') | |
| .pipe(plugins.phpspec('',options)) | |
| .on('error', plugins.notify.onError(testNotification('fail', 'phpspec'))) | |
| .pipe(plugins.notify(testNotification('pass', 'phpspec'))); | |
| }); |
OlderNewer