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
## Cucumber Scenario | |
@wip | |
Scenario: Login with correct details | |
Given a user named "brent" exists | |
When I go to login | |
And I fill in "Username" with "brent" | |
And I fill in "Password" with "screech" | |
And I press "Log In" | |
# And show me the page |
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
MacBook-Pro:weblog brandon$ bundle install | |
Fetching source index for http://rubygems.org/ | |
Using rake (0.8.7) | |
Using abstract (1.0.0) | |
Using activesupport (3.0.0) | |
Using builder (2.1.2) | |
Using i18n (0.4.1) | |
Using activemodel (3.0.0) | |
Using erubis (2.6.6) | |
Using rack (1.2.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
<?php | |
/** | |
* Link Helper | |
* | |
* @copyright Copyright 2010, Brandon Cordell | |
* @author Brandon Cordell <[email protected]> | |
* @link http://snippets.leadandrock.com/cakephp-link-helper | |
* @license MIT License (http://www.opensource.org/licenses/mit-license.php) | |
* | |
* Usage: |
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 | |
/** | |
* Library for using Authorize.net's ARB (automated recurring billing) | |
* | |
* @author Brandon Cordell([email protected]) | |
* @link http://projects.leadAndrock.com/cake_arb | |
* @copyright Copyright (c) 2010, Brandon Cordell | |
* @version 1.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
<script type="text/javascript"> | |
//<![CDATA[ | |
var image_url = '<?=base_url()?>public/shared/images/products/'; | |
$(document).ready(function() | |
{ | |
/* hide some divs */ | |
$('.wall, .window, .multiple_windows, .cart').hide(); | |
/* disable checkout buttons */ |
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 | |
if (!defined('BASEPATH')) exit('No direct script access allowed'); | |
/** | |
* dZero authentication library | |
* | |
* @package dZero Auth Library | |
* @category authentication | |
* @author Daniel Nolan ([email protected]) & Brandon Cordell ([email protected]) | |
* @copyright Copyright (c) 2009 dZero Web Design & Development. |
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 if (!defined('BASEPATH')) exit('No direct script access allowed'); | |
/** | |
* dZero image library | |
* | |
* @package dZero Image Library | |
* @category Image Manipulation | |
* @author Daniel Nolan ([email protected]) & Brandon Cordell ([email protected]) | |
* @copyright Copyright (c) 2009 dZero Web Design & Development. | |
* @link http://dzerodesign.com | |
* @version 1.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
ALTER TABLE `table_name` AUTO_INCREMENT = xxxxx; |
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
http://maps.google.com/maps/api/staticmap?center=2312+gulf+to+bay+blvd+clearwater+fl&zoom=17&size=400x400&sensor=false |
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
// controllers/components/custom_acl.php | |
App::import('Component', 'Acl'); | |
class CustomAclComponent extends AclComponent { | |
public function example() { | |
// override the function | |
} | |
} | |
Then in your app_controller |
OlderNewer