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
filter: | |
paths: | |
- 'lib/*' | |
- '/*' | |
excluded_paths: | |
- 'tests/*' | |
- 'examples/*' | |
tools: | |
php_mess_detector: | |
filter: |
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
config.vm.provider "virtualbox" do |v| | |
v.customize ["setextradata", :id, "VBoxInternal2/SharedFoldersEnableSymlinksCreate/v-root", "1"] | |
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
{ | |
"name": "progetto", | |
"version": "1.0.0", | |
"devDependencies": { | |
"grunt": "~0.4.0", | |
} | |
} |
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
1 pixline@white ~ % brew install liquidsoap :( | |
==> Installing liquidsoap dependency: objective-caml | |
==> Downloading https://downloads.sf.net/project/machomebrew/Bottles/objective-caml-4.00.1.lion.bottle.1.tar.gz | |
######################################################################## 100,0% | |
==> Pouring objective-caml-4.00.1.lion.bottle.1.tar.gz | |
🍺 /usr/local/Cellar/objective-caml/4.00.1: 1191 files, 210M | |
==> Installing liquidsoap dependency: ocaml-findlib | |
==> Downloading http://download.camlcity.org/download/findlib-1.3.3.tar.gz | |
######################################################################## 100,0% | |
Warning: MD5 support is deprecated and will be removed in a future version. |
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
#!/usr/bin/env bash | |
# args | |
MSG=${1-'deploy from git'} | |
BRANCH=${2-'trunk'} | |
# paths | |
SRC_DIR=$(git rev-parse --show-toplevel) | |
DIR_NAME=$(basename $SRC_DIR) | |
DEST_DIR=~/svn/$DIR_NAME/$BRANCH |
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 | |
print_r( exif_read_data( 'sucuri-test.jpg' ) ); | |
/* | |
Array | |
( | |
[FileName] => sucuri-test.jpg | |
[FileDateTime] => 1374009774 | |
[FileSize] => 38936 | |
[FileType] => 2 |
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/bash | |
wp db reset --yes | |
wp core install --url=http://wp35.dev --title="WP" --admin_name=test [email protected] --admin_password=test | |
wp theme-test install --menus |
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 Fatal error: Call to a member function register_early_invoke() on a non-object in /src/wp-cli/php/WP_CLI/Dispatcher/CompositeCommand.php on line 23 | |
PHP Stack trace: | |
PHP 1. {main}() /src/wp-cli/php/boot-fs.php:0 | |
PHP 2. include() /src/wp-cli/php/boot-fs.php:17 | |
PHP 3. WP_CLI\Utils\load_dependencies() /src/wp-cli/php/wp-cli.php:13 | |
PHP 4. require() /src/wp-cli/php/utils.php:19 | |
PHP 5. ComposerAutoloaderInitf85e7a78598cba3871ca35c635bc35df::getLoader() /src/wp-cli/vendor/autoload.php:7 | |
PHP 6. require() /src/wp-cli/vendor/composer/autoload_real.php:46 | |
PHP 7. WP_CLI::add_command() /src/wp-cli-test-command/wp-cli-test-command.php:72 |
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 | |
$download_url = 'https://wpcom-themes.svn.automattic.com/demo/theme-unit-test-data.xml'; | |
$silent = WP_CLI::get_config('quiet') ? '--silent ' : ''; | |
$cmd = "curl -f $silent %s -o /tmp/theme-unit-test-data.xml"; | |
WP_CLI::launch( Utils\esc_cmd( $cmd, $download_url ) ); | |
# reset wp | |
WP_CLI::launch( 'wp db reset --yes' ); |
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/bash | |
wp db reset --yes | |
wp core install --url=http://plugins.wp --title="plugin dev" --admin_name=plugins [email protected] --admin_password=plugins | |
wp plugin install <plugin_name> --activate |