6f37801
- (HEAD, origin/master, origin/HEAD, composer/master, master) Remove symfony2.2 support in travis ~ Fri Feb 28 16:05:32 2014 +0100 ~ Thomas Rabaixbe81021
- [documentation] fix configuration and fix formatting ~ Fri Feb 28 15:58:27 2014 +0100 ~ Thomas Rabaix57b61ab
- add missing extensions ~ Fri Feb 28 15:32:54 2014 +0100 ~ Thomas Rabaixde04766
- [travis] Add missing dependency ~ Fri Feb 28 15:24:22 2014 +0100 ~ Thomas Rabaix15a19bb
- Allow user to alter query, idx before executre a batch actions ~ Fri Feb 28 11:09:29 2014 +0100 ~ Benoît Lévêque77ac4e4
- Fixed doc warnings and completed action_list ~ Thu Feb 27 15:22:09 2014 +0100 ~ Hugo Briand1063230
- Fix Sphinx installation ~ Tue Feb 25 19:20:13 2014 +0100 ~ Thomas Rabaixe0c77c4
- add documentation support (travis and configuration) ~ Tue Feb 25 14:41:33 2014 +0100 ~ Thomas Rabaix
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
# vim: set fileencoding=utf-8 : | |
import unittest | |
from element.plugins.node.mapper import Manager, Meta, MetaCollection, MetaListener | |
from element.node import Node | |
from ioc.event import Event | |
import datetime | |
class NodeImage(Node): | |
pass |
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 | |
namespace Sonata\Bundle\DemoBundle\Entity; | |
use Doctrine\ORM\Mapping as ORM; | |
use Symfony\Component\Security\Acl\Model\DomainObjectInterface; | |
/** | |
* @ORM\Entity | |
* @ORM\Table(name="test_color") |
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
load 'deploy' if respond_to?(:namespace) # cap2 differentiator | |
require 'capifony_symfony2' | |
default_run_options[:pty] = true | |
set :application, "set your application name here" | |
set :domain, "#{application}.com" | |
set :app_path, "app" | |
set :repository, "[email protected]:php-sandbox.git" |
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
#!/bin/sh -ex | |
# reset local junit data | |
rm -rf junit; mkdir junit | |
# update puppet submodules | |
git submodule update --init | |
# add the ssh agent, so capistrano can use it | |
eval `ssh-agent`; ssh-add /var/lib/jenkins/.ssh/id_rsa |
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
VAGRANTFILE_API_VERSION = "2" | |
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| | |
config.ssh.forward_agent = true | |
config.vm.define "default", primary: true do |web| | |
web.vm.box = "ubuntu13_04" | |
web.vm.box_url = "https://dl.dropboxusercontent.com/s/eo85etnrthnrrfn/ubuntu_13_04.box" |
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 | |
namespace Stats\Test; | |
use Stats\Entry; | |
interface ComputerInterface | |
{ | |
/** | |
* @return string |
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
import ioc.loader | |
import os | |
class Extension(object): | |
def load(self, config, container_builder): | |
path = os.path.dirname(os.path.abspath(__file__)) | |
loader = ioc.loader.YamlLoader() | |
loader.load("%s/resources/config/services.yml" % path, container_builder) |
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
Problem 1 | |
- Installation request for sonata-project/user-bundle 2.1.*@dev -> satisfiable by sonata-project/user-bundle 2.1.x-dev. | |
- sonata-project/user-bundle 2.1.x-dev requires sonata-project/admin-bundle 2.1.x-dev -> no matching package found. | |
Problem 2 | |
- Installation request for sonata-project/page-bundle 2.1.*@dev -> satisfiable by sonata-project/page-bundle 2.1.x-dev. | |
- sonata-project/page-bundle 2.1.x-dev requires symfony-cmf/routing-extra-bundle 1.0.* -> no matching package found. | |
Problem 3 | |
- Installation request for sonata-project/media-bundle 2.1.*@dev -> satisfiable by sonata-project/media-bundle 2.1.x-dev. | |
- sonata-project/media-bundle 2.1.x-dev requires sonata-project/admin-bundle 2.1.x-dev -> no matching package found. |
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
class consumer(twistedhttpstream.MessageReceiver): | |
def connectionMade(self): | |
print "connected..." | |
def connectionFailed(self, why): | |
print "cannot connect:", why | |
reactor.stop() | |
def messageReceived(self, tweet): | |
print "new message:", repr(tweet) |