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
function isoCodeToCountry($code) | |
{ | |
$code = strtoupper($code); | |
$countryList = array( | |
'AF' => 'Afghanistan', | |
'AX' => 'Aland Islands', | |
'AL' => 'Albania', | |
'DZ' => 'Algeria', | |
'AS' => 'American Samoa', |
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 | |
/** | |
* An exception listener to pickup PDOExceptions thrown in the codebase. | |
* | |
* @author Craig R Morton <crmpicco@aol.com> | |
* @date 22-07-2016 | |
*/ | |
namespace AppBundle\EventListener; |
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
CRMPiccos-MacBook:portfolio crmpicco$ cat ~/.bash_profile | |
alias ll='ls -lG' | |
alias composer="php /usr/local/bin/composer.phar" | |
if [ -f `brew --prefix`/usr/local/git/contrib/completion/git-completion.bash ]; then | |
. `brew --prefix`/usr/local/git/contrib/completion/git-completion.bash | |
fi | |
CRMPiccos-MacBook:portfolio crmpicco$ locate git-completion.bash | |
/usr/local/git/contrib/completion/git-completion.bash |
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
function it_imports_image_assets( | |
Filesystem $filesystem, | |
EntityManager $entityManager, | |
Finder $finder, | |
SplFileInfo $file1, | |
SplFileInfo $file2 | |
) { | |
$imageImportPath = '/var/www/crmpicco/app/files/images/rfc-1872/'; | |
$filesystem->exists($imageImportPath)->willReturn(true); |
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
$ = window.jQuery = require("jquery") | |
Course = | |
init: -> | |
$('.js-product-overlay').on 'click', (e) => | |
@viewProductClickHandler(e, MediaDetection) | |
@preSelectItemSize() |
NewerOlder