Skip to content

Instantly share code, notes, and snippets.

@marcw
marcw / gist:738082
Created December 12, 2010 14:42
vim settings for symfony2.
set tabstop=4
set shiftwidth=4
@marcw
marcw / export-database.sh
Created October 23, 2010 12:35
Automatically export a magento database and change all the base_url references
#!/bin/bash
# Export options
if [[ -z "$1" || -z $2 ]]
then
echo "export-database.sh"
echo " usage: ./export-database current_host distant_host"
echo " example: ./export-database my.local.host my.other.host"
exit 1;
fi
.svn
*.swp
*/.svn/*
lib/*/doctrine/base/*
lib/*/doctrine/*/base/*
web/*Plugin
cache/*
log/*