Skip to content

Instantly share code, notes, and snippets.

View bvelastegui's full-sized avatar
🏠
Working from home

Bryan Velastegui bvelastegui

🏠
Working from home
View GitHub Profile
@satsura
satsura / Doctrine.xml
Created February 26, 2013 07:54
PHPStorm Doctrine Command Line Tools
<?xml version="1.0" encoding="UTF-8"?>
<framework xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="schemas/frameworkDescriptionVersion1.1.3.xsd" name="Doctrine"
invoke="$PhpExecutable$ $ProjectFileDir$/application/doctrine-cli.php" alias="doctrine-cli" enabled="true"
version="2">
<command>
<name>help</name>
<help><![CDATA[Displays help for a command]]></help>
</command>
<command>
@cbmd
cbmd / default.conf
Created December 9, 2012 21:13
nginx config - dynamic virtual hosts
server {
index index.php;
set $basepath "/var/www";
set $domain $host;
# check one name domain for simple application
if ($domain ~ "^(.[^.]*)\.dev$") {
set $domain $1;
set $rootpath "${domain}";