Skip to content

Instantly share code, notes, and snippets.

View codecowboy's full-sized avatar

Luke Mackenzie codecowboy

  • UK
View GitHub Profile
@codecowboy
codecowboy / gist:1056834
Created June 30, 2011 18:18
Programme Entity
<?php
namespace Gymloop\CoreBundle\Entity;
use Doctrine\ORM\Mapping as ORM;
/**
* @ORM\Entity
* @ORM\Table(name="programmes")
*/
class Programme
{
@codecowboy
codecowboy / gist:1048738
Created June 27, 2011 11:59
Twig error
A template that extends another one cannot have a body (Twig_Node_Print(
expr: Twig_Node_Expression_Filter(
node: Twig_Node_Expression_Constant(value: 'registration.check_email')
filter: Twig_Node_Expression_Constant(value: 'trans')
arguments: Twig_Node(
0: Twig_Node_Expression_Array(
%email%: Twig_Node_Expression_GetAttr(type: 'any'
node: Twig_Node_Expression_Name(name: 'user')
attribute: Twig_Node_Expression_Constant(value: 'email')
arguments: Twig_Node()
`deepthoughtPro:netpbm-10.35.78 lukemackenzie$ brew rm jpeg
Uninstalling /usr/local/Cellar/jpeg/8b...
deepthoughtPro:netpbm-10.35.78 lukemackenzie$ brew install jpeg
==> Downloading http://www.ijg.org/files/jpegsrc.v8b.tar.gz
File already downloaded and cached to /Users/lukemackenzie/Library/Caches/Homebrew
==> ./configure --prefix=/usr/local/Cellar/jpeg/8b --disable-dependency-tracking
==> make install
/usr/local/Cellar/jpeg/8b: 17 files, 1.6M, built in 28 seconds
deepthoughtPro:netpbm-10.35.78 lukemackenzie$ brew install netpbm