Tocacar Tocacar

View gist:9809088

Keybase proof

I hereby claim:

  • I am tocacar on github.
  • I am tocacar (https://keybase.io/tocacar) on keybase.
  • I have a public key whose fingerprint is 11A9 E0BA 3964 42F4 7ABC E988 FEE0 F6FC 0EE6 EE14

To claim this, I am signing this object:

View gist:9487645
1 2 3 4 5 6 7 8 9 10
Stderr from the command:
 
Warning: Could not retrieve fact fqdn
Error: Could not find package php-sqlite
Error: /Stage[main]/Main/Php_mod[sqlite]/Php::Module[sqlite]/Package[PhpModule_sqlite]/ensure: change from absent to present failed: Could not find package php-sqlite
Error: Execution of '/usr/bin/gem install --no-rdoc --no-ri mailcatcher' returned 1: ERROR: Error installing mailcatcher:
sinatra requires tilt (~> 1.3, >= 1.3.4, runtime)
Building native extensions. This could take a while...
 
HEADS UP! Haml 4.0 has many improvements, but also has changes that may break
View gist:9487587
1 2 3 4 5 6 7 8 9 10
---
vagrantfile-local:
vm:
box: centos64-x64-vbox43-1383512148
box_url: 'http://box.puphpet.com/centos64-x64-vbox43.box'
hostname: null
network:
private_network: 192.168.56.101
forwarded_port:
IfBGQF5hN1A8:
View gist:9322525
1 2 3 4 5 6 7 8 9
<?php
 
if (!in_array(@$_SERVER['REMOTE_ADDR'], array(
'127.0.0.1',
'::1',
))) {
header('HTTP/1.0 403 Forbidden');
exit('You are not allowed to access this file.');
}
View gist:9248219
1 2 3 4 5 6 7 8 9 10
/**
* Create and Edit
* @param \Sonata\AdminBundle\Form\FormMapper $formMapper
*
* @return void
*/
protected function configureFormFields(FormMapper $formMapper)
{
$formMapper
->with(
View gist:8667696
1 2 3 4 5 6 7 8 9 10
<?php
/**
* Autoloader
*
* PHP version 5
*
* @category Inc
* @package APIv2_Tests
* @author Rob Allen <rob@akrabat.com>
* @license BSD see doc/LICENSE
View gist:8471930
1 2 3 4 5 6 7 8 9 10
//CMMIDataHelper.php
 
/**
* @param \RecursiveArrayIterator $iterator
* @return mixed
* @throws \Symfony\Component\HttpKernel\Exception\HttpException
*/
protected function buildResources(\RecursiveArrayIterator $iterator)
{
if(count($this->mapping) == 0) {
View RecursiveArrayIterator.php
1 2 3 4 5 6 7 8 9
<?php
 
class ObjectIterator implements Iterator{
protected $object;
protected $reflectionObject;
protected $properties;
 
public function __construct( $object ){
$this->object = $object;
View gist:8219920
1 2 3 4 5 6 7 8 9 10
$ phpdoc -v
PHP Strict standards: Declaration of parserTag::getString() should be compatible with parserStringWithInlineTags::getString($trim = true) in /usr/share/php/PhpDocumentor/phpDocumentor/DocBlockTags.inc on line 185
PHP Stack trace:
PHP 1. {main}() /usr/bin/phpdoc:0
PHP 2. require() /usr/bin/phpdoc:40
PHP 3. require_once() /usr/share/php/PhpDocumentor/phpDocumentor/phpdoc.inc:60
 
Strict standards: Declaration of parserTag::getString() should be compatible with parserStringWithInlineTags::getString($trim = true) in /usr/share/php/PhpDocumentor/phpDocumentor/DocBlockTags.inc on line 185
 
Call Stack:
View gist:7985959
1 2 3 4 5 6 7 8 9 10
//answer entity class
 
/**
* Set answer
*
* If answer is an array, converts to
* string with 'CSV:' prepended. This
* value is used to detect whether or not
* to convert answer back to array for form
* choice widget (checkbox requires array)
Something went wrong with that request. Please try again.