Skip to content

Instantly share code, notes, and snippets.

View pilot's full-sized avatar
💭
Wobbly.me, time tracker & resource planning for teams, open source

Alex Demchenko pilot

💭
Wobbly.me, time tracker & resource planning for teams, open source
View GitHub Profile

Keybase proof

I hereby claim:

  • I am pilot on github.
  • I am pilot (https://keybase.io/pilot) on keybase.
  • I have a public key whose fingerprint is 9C16 4088 03B5 648D BEFC 2937 4B82 04B5 F91D 9FA7

To claim this, I am signing this object:

@pilot
pilot / es_ubuntu_14.04
Created October 26, 2016 15:20 — forked from gnrfan/es_ubuntu_14.04
Install ElasticSearch 1.6.0 on Ubuntu 14.04
# Install PPA tool
echo "Installing software for working with PPA packages..."
sudo apt-get install -y python-software-properties software-properties-common
# Install Oracle Java 8
sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
echo "Installing ORACLE Java8..."
sudo apt-get install -y oracle-java8-installer
<?php
/**
* @param \Symfony\Component\HttpFoundation\File\UploadedFile $file
* @param \Doctrine\Common\Persistence\ObjectManager $objectManager
* @param PropertyDocument $propertyDocument
* @param boolean $persist
*
* @return array
*/
<?php
namespace AppBundle\Service;
use Symfony\Component\HttpFoundation\RequestStack;
/**
* Class ImagePathGenerator
*/
class ImagePathGenerator
{
const LOGO_PREFIX = '/store/uploads/logo/';
private $host;
<?php
class SomeName extends AnotherClass
{
public function index()
{
$input = Input::all();
$matches = Match::getList($input);
<font size='1'><table class='xdebug-error xe-uncaught-exception' dir='ltr' border='1' cellspacing='0' cellpadding='1'>
<tr><th align='left' bgcolor='#f57900' colspan="5"><span style='background-color: #cc0000; color: #fce94f; font-size: x-large;'>( ! )</span> Fatal error: Uncaught Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException: The service "ostrov.populator.top_banner" has a dependency on a non-existent service "fos_elastica.object_persister.dressa.top_banner". in /var/www/ostrov/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/Compiler/CheckExceptionOnInvalidReferenceBehaviorPass.php on line <i>58</i></th></tr>
<tr><th align='left' bgcolor='#f57900' colspan="5"><span style='background-color: #cc0000; color: #fce94f; font-size: x-large;'>( ! )</span> Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException: The service "ostrov.populator.top_banner" has a dependency on a non-existent service "fos_elastica.object_persister.dressa.top_banner". in /var/www