Skip to content

Instantly share code, notes, and snippets.

View davidino's full-sized avatar

David Funaro davidino

  • AWS
  • Dublin
  • 07:29 (UTC +01:00)
View GitHub Profile
some text to read;
<?php
/**
* ConstraintFiscalCode.php.
* @author Andrea Giuliano <giulianoand@gmail.com>
* Date: 20/07/12
* Time: 16:11
*/
namespace Dnsee\RegistrationBundle\Validator\Constraints;
use Symfony\Component\Validator\Constraint;
<trans-unit id="22">
<source>This value should not be blank.</source>
<target>Questo valore non dovrebbe essere vuoto.</target>
</trans-unit>
public function rejectAction($id)
{
$em = $this->getDoctrine()->getManager();
$track = $em->getRepository('Track')->find($id);
if (!$track) {
throw $this->createNotFoundException('Track not found');
}
$track->setModerationStatus(ModerationStatus::DECLINED);
<?php
require ‘facebook.php’;
$app_id = “inserire app id”;
$app_secret = “inserire app secret”;
$facebook = new Facebook(array(
‘appId’ => $app_id,
‘secret’ => $app_secret,
‘cookie’ => true
));
[user]
email = ing.davidino@gmail.com
name = David Funaro
[github]
user = davidino
[bitbucket]
user = d.funaro
[core]
editor = vi
excludesfile = ~/.gitignore
<?php
namespace CsvToOrient\Console\Command;
use Symfony\Component\Console\Command\Command;
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Output\OutputInterface;
use Symfony\Component\Console\Input\InputArgument;
use Symfony\Component\Console\Input\InputOption;
use Doctrine\OrientDB\Binding\BindingParameters;
use Doctrine\OrientDB\Binding\HttpBinding;
<?php
namespace Doctrine\ODM\OrientDB\Proxy;
use Doctrine\ODM\OrientDB\Manager;
class Collection extends AbstractProxy
{
protected $manager;
protected $rids;
protected $collection;
This file has been truncated, but you can view the full file.
0000000 1f 8b 08 00 36 28 a9 50 00 03 ec da 79 7c 5c 65
0000010 a1 3f e0 99 03 15 01 91 a5 b2 28 52 43 58 54 30
0000020 e9 4c d6 86 a2 d0 24 b4 6c a5 40 0b b4 50 a8 69
0000030 92 42 b5 6d ba 53 50 14 59 95 7d 17 77 54 10 81
0000040 22 0a a8 80 08 88 2b 22 20 ae d7 0d 97 ab 5e 5c
0000050 10 50 14 bd 82 dc a4 3d 02 5f ee 4f ae 7f 14 f8
0000060 29 cf f3 f9 4c df 7e f3 be 73 e6 cc e4 bc cb bc
0000070 27 cd 63 9b 67 0d 0c ce 1f aa 3c 83 6a b5 5a 67
0000080 7b 7b c3 aa b2 63 75 59 6b 69 5b 5d 8e 68 6d ed
0000090 68 a8 b7 d4 da 5b ea ad 2d 6d 1d 6d 0d b5 91 b2
@davidino
davidino / README.md
Created November 18, 2012 18:30 — forked from nrk/README.md
CI stuff for the Orient PHP library.

This repository contains the stuff needed to run the full test suite of Orient on Travis CI.