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
| $ VAGRANT_LOG=debug vagrant package --base freebsd-9.2 --vagrantfile freebsd-9.2.box | |
| INFO global: Vagrant version: 1.6.3 | |
| INFO global: Ruby version: 2.0.0 | |
| INFO global: RubyGems version: 2.0.14 | |
| INFO global: VAGRANT_EXECUTABLE="/opt/vagrant/bin/../embedded/gems/gems/vagrant-1.6.3/bin/vagrant" | |
| INFO global: VAGRANT_LOG="debug" | |
| INFO global: VAGRANT_INSTALLER_EMBEDDED_DIR="/opt/vagrant/bin/../embedded" | |
| INFO global: VAGRANT_INSTALLER_VERSION="2" | |
| INFO global: VAGRANT_DETECTED_OS="Linux" | |
| INFO global: VAGRANT_INSTALLER_ENV="1" |
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
| <?=('services' == $navigationPage)?'class="active"':;?> |
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 Application\Router; | |
| /** | |
| * Class RestRoute | |
| * | |
| * Extends \Zend_Controller_Router_Route and handles methods in the router | |
| * | |
| * @author Chris Smith | |
| */ |
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
| # -*- mode: ruby -*- | |
| # vi: set ft=ruby : | |
| require 'yaml' | |
| # Variables | |
| data = YAML.load_file("provisioning/variables.yml") | |
| Vagrant.require_version ">= 1.6.0" | |
| Vagrant.configure("2") do |config| |
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 | |
| /** | |
| * Pre Zend 1.12.8 | |
| */ | |
| $select = $this->getDbTable()->select(); | |
| $select->from( | |
| $this->_getDbTable()->info(Zend_Db_Table_Abstract::NAME), | |
| array( | |
| "trim(concat_ws(' ', user.nameprefix, user.firstname, user.lastname)) as name", | |
| "user.email", |
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 | |
| /** | |
| * After making necessary ZF 1.12.8 changes | |
| */ | |
| $nameColumn = new Zend_Db_Expr("trim(concat_ws(' ', user.nameprefix, user.firstname, user.lastname)) as name"); | |
| $select = $this->getDbTable()->select(); | |
| $select->from( | |
| $this->_getDbTable()->info(Zend_Db_Table_Abstract::NAME), | |
| array( | |
| $nameColumn, |
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 Cgsmith\Form\Element; | |
| /** | |
| * Class Recaptcha | |
| * Renders a div for google recaptcha to allow for use of the Google Recaptcha API | |
| * | |
| * @package Cgsmith | |
| * @license MIT | |
| * @author Chris Smith |
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 Cgsmith\Validate; | |
| /** | |
| * Class ValidateRecaptcha | |
| * Handle validation against Google API | |
| * | |
| * @package Cgsmith | |
| * @license MIT | |
| * @author Chris Smith |
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
| <h1>Cart</h1> | |
| <?php | |
| require 'lib/myLibrary.php'; | |
| ?> | |
| <p>Your cart consists of <?=$_GET['item']. ' for $' . $inventory[$_GET['item']]/100;?></p> |
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 | |
| class TransferHandler | |
| { | |
| /** | |
| * @var string ftp host | |
| */ | |
| protected $targetFTPHost = "sftp.customer.com"; | |
| /** | |
| * @var string ftp user |