Skip to content

Instantly share code, notes, and snippets.

View nlemoine's full-sized avatar

Nicolas Lemoine nlemoine

View GitHub Profile
@webmozart
webmozart / composer.json
Created August 4, 2012 11:51
DON'T USE THIS GIST! Please clone https://github.com/bschussek/standalone-forms instead.
{
"require": {
"symfony/form": "2.1.*",
"symfony/validator": "2.1.*",
"symfony/templating": "2.1.*",
"symfony/framework-bundle": "2.1.*"
},
"minimum-stability": "dev"
}
@mrinterweb
mrinterweb / deploy.rb
Created July 25, 2012 02:46
Wordpress site deployment using capistrano
set :application, 'www.mysite.com'
set :deploy_to, "/srv/www.mysite.com"
set :domain, "www.mysite.com"
set :user, "deploymentuser"
set :scm, :git
set :repository, "[email protected]:myusername/myproject.git"
set :branch, :master
set :deploy_via, :remote_cache
set :copy_exclude, ['.git']
ssh_options[:forward_agent] = true
@nclavaud
nclavaud / sf2_form.php
Created November 22, 2011 21:16
Symfony2 standalone Form component example
<?php
/**
* @author Nicolas Clavaud <[email protected]>
* http://n.clavaud.free.fr/blog/index.php?article31/symfony2-standalone-form-component-tutorial
*/
namespace Me\MyApp;
use Symfony\Component\ClassLoader\UniversalClassLoader;
@sunny
sunny / liste-de-departements-limitrophes-francais.txt
Last active April 16, 2025 10:01
Liste de départements limitrophes français
01:38,39,69,71,73,74
02:08,51,59,60,77,80
03:18,23,42,58,63,71
04:05,06,26,83,84
05:04,26,38,73
06:04,83
07:26,30,38,42,43,48,84
08:02,51,55
09:11,31,66
10:21,51,52,77,89