How to set up a Headless Selenium Testing environment for CentOS 6.3.
Follow these steps to set up a CentOS 6.3 host to run headless Selenium tests with Firefox.
<?php | |
/** | |
* Rewrite Mage_Catalog_Model_Resource_Url class | |
* | |
* @category Lyonscg | |
* @package Lyonscg_Catalog | |
* @author Vladimir Kosenok vkosenok@lyonscg.com | |
* @copyright Copyright (c) 2012 Lyons Consulting Group (www.lyonscg.com) | |
*/ |
#!/bin/bash | |
if [ "$EUID" -ne 0 ] | |
then echo "Please run as root" | |
exit | |
fi | |
apt-get install pkg-config libmagickwand-dev -y | |
cd /tmp | |
wget https://pecl.php.net/get/imagick-3.4.3.tgz | |
tar xvzf imagick-3.4.3.tgz |
#!/bin/sh | |
if [ $(id -u) -ne 0 ]; then | |
echo "You must be root to run this." | |
exit 0 | |
fi | |
missing=0 | |
for pkg in wget curl rsync ar; do | |
echo -n "Checking for $pkg..." |
#!/bin/sh | |
####################################################### | |
# Another great script by: # | |
# _ , _ # | |
# / ) _, _ |) /|/_) ,_ _ _ # | |
# / / | / |/\ | \/ | / \_| | |_/|/| |/ # | |
# /__/\/|_/\__/| |/|(_/ |/\_/ \/ \/ | |_/|_/ # | |
# (| # | |
# # |
#!/usr/bin/env bash | |
VERSION=4.0.1 | |
SCRIPT=`basename "$0"` | |
APPNAME="My App" | |
APPICONS="/System/Library/CoreServices/CoreTypes.bundle/Contents/Resources/GenericApplicationIcon.icns" | |
OSX_VERSION=`sw_vers -productVersion` | |
PWD=`pwd` | |
function usage { |
cordova plugin add https://github.com/brodysoft/Cordova-SQLitePlugin.git |
<?xml version="1.0" encoding="UTF-8"?> | |
<!-- Set some basic project information and targets --> | |
<project name="My Symfony2 Project" default="build"> | |
<target name="build" | |
depends="prepare, vendors, dbupdate, fixtures, lint, phploc, phpmd, phpcpd, phpcs, phpunit"/> | |
<target name="build-parallel" | |
depends="prepare, vendors, dbupdate, fixtures, lint, tools-parallel, phpcpd, phpunit"/> |