This file contains 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 containing the eZDatatypeTest class | |
* | |
* @copyright Copyright (C) 1999-2010 eZ Systems AS. All rights reserved. | |
* @license http://ez.no/licenses/gnu_gpl GNU GPLv2 | |
* @package tests | |
*/ | |
/** |
This file contains 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
# Create & publish an ezdemo article using the eZ Publish 5 REST API v2 | |
# Notes: | |
# - this script requires http ie, which can be found at https://github.com/jkbr/httpie | |
# - it temporarily depends on a few temporary fixes, available in my fork: https://github.com/bdunogier/ezp-next/tree/tmp-rest-fixes | |
# - it is NOT well written, and I suck at shell scripting. Feel free to submit improvements to the GIST ;) | |
# | |
# Author: Bertrand Dunogier <http://share.ez.no/community/profile>, twitter @bdunogier, http://gplus.to/BertrandDunogier | |
# Usage: run it | |
REST_URI="http://vm.ezpublish5/api/ezp/v2" |
This file contains 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
# Bash-Completion script for PHPUnit | |
# | |
# Created by Henrique Moody <[email protected]> | |
# | |
_phpunit() | |
{ | |
COMPREPLY=() | |
local cur="${COMP_WORDS[COMP_CWORD]}" | |
local prev="${COMP_WORDS[COMP_CWORD-1]}" |
This file contains 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
# use admin/publish as the login/password for net requests to localhost | |
machine localhost login admin password publish |