I hereby claim:
- I am vjousse on github.
- I am vjousse (https://keybase.io/vjousse) on keybase.
- I have a public key ASBJmFsbYUzduOMMeVx61F3Dw1gjGcQM8ejgI01Tl3ZUuQo
To claim this, I am signing this object:
| from sqlalchemy import create_engine | |
| from sqlalchemy.orm import Session | |
| from myapp.models import BaseModel | |
| import pytest | |
| @pytest.fixture(scope='session') | |
| def engine(): | |
| return create_engine('postgresql://localhost/test_database) |
I hereby claim:
To claim this, I am signing this object:
| from django.core.management.base import BaseCommand, CommandError | |
| from django.contrib.redirects.models import Redirect | |
| class Command(BaseCommand): | |
| help = 'Print nginx redirections' | |
| def handle(self, *args, **options): | |
| for redirect in Redirect.objects.all(): | |
| self.stdout.write('rewrite ^%s$ %s permanent;' % (redirect.old_path, redirect.new_path)) |
Symfony 2 is hosted at a public GitHub repository: http://github.com/symfony/symfony
Basic information about working with Git can be found in the book Pro Git.
| <?php | |
| // change this with the actual path you cloned sf2 to | |
| $sf2_path = '~/symfony/src'; | |
| use Symfony\Foundation\ClassLoader; | |
| use Symfony\Components\Console\Application; | |
| require_once $sf2_path.'/Symfony/Foundation/ClassLoader.php'; |