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
public function onBootstrap($e) | |
{ | |
$sm = $e->getApplication() | |
->getServiceManager(); | |
$sm->get('view_manager') | |
->getHelperManager() | |
->setFactory('fb', function($sm) { | |
return new View\Helper\Facebook($sm->get('facebook_service')); |
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 | |
/** | |
* @author Antoine Hedgecock <[email protected]> | |
*/ | |
/** | |
* @namespace | |
*/ | |
namespace Facebook; |
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 | |
$imagick = new Imagick(); | |
$imagick->readImage('image.jpeg'); | |
$it = $imagick->getPixelIterator(); | |
$width = $imagick->getImageWidth(); | |
$height = $imagick->getImageHeight(); |
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 | |
/** | |
* @author Antoine Hedgecock <[email protected]> | |
*/ | |
/** | |
* @namespace | |
*/ | |
namespace MCN; | |
use Zend\ModuleManager\ModuleManager, |
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
franchise:~ antoine$ vim /opt/local/apache2/conf/httpd.conf | |
Error detected while processing /Users/antoine/.vimrc: | |
line 2: | |
E492: Not an editor command: deline and Notes { | |
line 44: | |
E117: Unknown function: vundle#rc | |
line 45: | |
E492: Not an editor command: Bundle 'EvanDotPro/vundle', 'feature/refactor-git-treeish-support', {'local': 1} | |
line 68: | |
E492: Not an editor command: Bundle 'scrooloose/nerdtree', '4.2.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
<?php | |
/** | |
* @author Antoine Hedgecock <[email protected]> | |
*/ | |
/** | |
* @namespace | |
*/ | |
namespace Company\Form\Company; | |
use Zend\Form\Form, |
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 | |
/** | |
* @author Antoine Hedgecock <[email protected]> | |
*/ | |
/** | |
* @namespace | |
*/ | |
namespace MCNCore\View\Helper; | |
use MCNCore\Object\AbstractObject, |
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 | |
/** | |
* @author Antoine Hedgecock <[email protected]> | |
*/ | |
/** | |
* @namespace | |
*/ | |
namespace MCNCore\View\Helper; | |
use MCNCore\Object\AbstractObject, |
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 | |
/** | |
* @author Antoine Hedgecock <[email protected]> | |
*/ | |
/** | |
* @namespace | |
*/ | |
namespace MCNCore\View\Helper; | |
use MCNCore\Object\AbstractObject, |
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
Program received signal EXC_BAD_ACCESS, Could not access memory. | |
Reason: KERN_INVALID_ADDRESS at address: 0x0000000000000004 | |
0x00000001011fec8d in _zend_hash_add_or_update () | |
(gdb) bt | |
#0 0x00000001011fec8d in _zend_hash_add_or_update () | |
#1 0x0000000101a10aa3 in php_sphinx_client_get_properties () | |
#2 0x00000001019e456a in xdebug_var_export () | |
#3 0x00000001019e489f in xdebug_array_element_export () | |
#4 0x00000001011fdcbf in zend_hash_apply_with_arguments () | |
#5 0x00000001019e4526 in xdebug_var_export () |