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
| USER="$(wget -nv --no-proxy "$BUILD_URL/api/xml"'?xpath=//userName/text()' -O -)" | |
| echo $USER |
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
| ADMIN="admin:admin" | |
| DATABASE="test" | |
| USER="writer" | |
| PASSWORD="writer" | |
| READERUSER="reader" | |
| READERPASSWORD="reader" | |
| HOST="localhost" | |
| # Create Reader, Writer User | |
| SALT=`openssl rand 16 | openssl md5` | |
| READERSALT=`openssl rand 16 | openssl md5` |
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
| sudo pear config-set auto_discover 1 | |
| sudo pear config-set preferred_state beta | |
| sudo pear install pear.phpunit.de/PHPUnit |
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 | |
| $json = stripslashes(preg_replace("/u([0-9a-f]{3,4})/i","&#x\\1;", $json)); | |
| echo Zend_Json::prettyPrint($json); |
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
| sudo apt-get install firefox xvfb |
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
| <?xml version='1.0' encoding='UTF-8'?> | |
| <project> | |
| <actions/> | |
| <description>LMC_TEST_ENV=<b>devel.lmc.cz</b></br>
 | |
| SQUISH_TERM=<b>termdevel.ad.lmc.cz</b></br>
 | |
| SQUISH_PORT=<b>4338</b></br>
 | |
| <i>1 8-23 * * *</i></br></description> | |
| <logRotator> | |
| <daysToKeep>8</daysToKeep> | |
| <numToKeep>40</numToKeep> |
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 | |
| namespace Pokus; | |
| class Exception extends \Exception | |
| { | |
| } | |
| function tttt($string) | |
| { | |
| try { |
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
| wget -q -O - http://pkg.jenkins-ci.org/debian-stable/jenkins-ci.org.key | sudo apt-key add - | |
| echo 'deb http://pkg.jenkins-ci.org/debian-stable binary/' >jenkins | |
| sudo cp jenkins /etc/apt/sources.list.d/jenkins.list | |
| sudo apt-get update | |
| sudo apt-get install -y jenkins |
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
| /** | |
| * Input type - address with autocomplete and reverse geocoding using Seznam maps API. | |
| */ | |
| angular.inputType('address', function(element) { | |
| var scope = this; | |
| // full address data from geocoder for angular model | |
| var address = {}; | |
| // parse input value and set into model |
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
Show hidden characters
| { | |
| "cmd": ["php", "$file"], | |
| "selector": "source.php", | |
| "target": "exec", | |
| "variants": [ | |
| { "cmd": ["/usr/local/php5/bin/phpunit", "$file"], | |
| "name": "Run" | |
| } | |
| ] | |
| } |