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 elixir = require('laravel-elixir'); | |
| var gutil = require('gulp-util'); | |
| // If 'gulp watch' is run | |
| if (gutil.env._.indexOf('watch') > -1) { | |
| // Enable watchify for faster builds | |
| elixir.config.js.browserify.watchify.enabled = 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
| module.exports = function (config) { | |
| config.set({ | |
| browsers: ['PhantomJS'], | |
| frameworks: ['jasmine'], | |
| files: ['test/**/*.js'], | |
| reporters: ['spec'], | |
| preprocessors: { | |
| 'test/*.js': ['webpack'] | |
| }, | |
| singleRun: 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
| function collapse_pwd { | |
| echo $(pwd | sed -e "s,^$HOME,~,") | |
| } | |
| function prompt_char { | |
| git branch >/dev/null 2>/dev/null && echo '±' && return | |
| hg root >/dev/null 2>/dev/null && echo '☿' && return | |
| # echo '○' | |
| echo '→' | |
| } |
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
| <style lang="scss"> | |
| .github-search { | |
| &.panel-default { | |
| border: none; | |
| } | |
| .panel-heading, | |
| .panel-footer { | |
| background: none; | |
| } |
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 | |
| /** | |
| * PHPUnit bootstrap file | |
| * | |
| * @package Cli_Tests | |
| */ | |
| $wc = getenv( 'WC_TESTS_DIR' ) ? getenv( 'WC_TESTS_DIR' ) : '/tmp/woocommerce/tests'; | |
| $wp = getenv( 'WP_TESTS_DIR' ) ? getenv( 'WP_TESTS_DIR' ) : '/tmp/wordpress-tests-lib'; |
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 | |
| interface Container | |
| { | |
| static function bind($name, Callable $resolver); | |
| static function make($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
| /** | |
| * @test | |
| */ | |
| public function $METHOD$() | |
| { | |
| // $TEST$$END$ | |
| } |
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
| #!/bin/sh | |
| sed -i.default "s/^zend_extension=/;zend_extension=/" /usr/local/etc/php/7.1/conf.d/ext-xdebug.ini | |
| launchctl unload ~/Library/LaunchAgents/homebrew.mxcl.php71.plist | |
| launchctl load ~/Library/LaunchAgents/homebrew.mxcl.php71.plist | |
| echo "xdebug disabled" |
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
| cd {{ release }} | |
| # link node_modules from last deployment | |
| ln -s {{ project }}/node_modules | |
| # update linked folder with latest deps | |
| yarn install | |
| # remove the symlink | |
| rm node_modules |
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
| <template> | |
| <v-select :filter="fuseSearch" :options="books" :getOptionLabel="option => option.title"> | |
| <template #option="{author, title}"> | |
| {{ title }} <br> | |
| <cite>{{ author.firstName }} {{ author.lastName }}</cite> | |
| </template> | |
| </v-select> | |
| </template> | |
| <script> |
OlderNewer