Skip to content

Instantly share code, notes, and snippets.

@SNProject
SNProject / Document.php
Created September 17, 2012 17:34 — forked from beberlei/Document.php
My Symfony2 File Upload workflow
<?php
use Symfony\Component\HttpFoundation\File\File;
use Symfony\Component\HttpFoundation\File\UploadedFile;
/**
* @Entity
*/
class Document
{
@SNProject
SNProject / pictures.markdown
Created August 29, 2012 14:05 — forked from sent-hil/pictures.markdown
River (getriver.com): Keep a programming journal.

One of my favorite past times is to look at the notebooks of famous scientists. Da Vinci's notebook is well known, but there plenty others. Worshipping Da Vinci like no other, I bought a Think/Create/Record journal, used it mostly to keep jot down random thoughts and take notes. This was great in the beginning, but the conformity of lines drove me nuts. Only moleskines made blank notebooks, so I had to buy one.

At the same time I started a freelance project. The project itself is irrelevant, but suffice to say it was very complex and spanned several months. It seemed like a perfect opportunity to use the moleskine. Looking back, all my entries fell under few categories:

  • Todo
  • Question
  • Thought
  • Bug
  • Feature
@SNProject
SNProject / build.xml
Created July 22, 2012 07:48
build.xml for Symfony 2 Jenkins job
<?xml version="1.0" encoding="UTF-8"?>
<!--
Ant build for Symfony 2 Jenkins job.
This recipe is using the docblox Instead of phpdoc
@author Gilmar Pupo <g@g1mr.com>
-->
<project name="ObjectSmirnoff" default="build" basedir=".">