Skip to content

Instantly share code, notes, and snippets.

View fabiofabbrucci's full-sized avatar

Fabio Fabbrucci fabiofabbrucci

View GitHub Profile
@fabiofabbrucci
fabiofabbrucci / Load multiple pages and tests no errors js on load
Last active December 17, 2015 00:59
Load multiple pages and tests no errors js on load
How to test with phantomjs if some files have some JS errors
@fabiofabbrucci
fabiofabbrucci / gist:3519052
Created August 29, 2012 21:12
route remote
[root@server current]# ./app/console router:debug | grep imagine
_imagine_user_small GET /media/cache/user_small/{path}
_imagine_user_big GET /media/cache/user_big/{path}
_imagine_user_mini GET /media/cache/user_mini/{path}
_imagine_goal_sidebar GET /media/cache/goal_sidebar/{path}
_imagine_goal_top GET /media/cache/goal_top/{path}
_imagine_home_big_square GET /media/cache/home_big_square/{path}
_imagine_home_small_square GET /media/cache/home_small_square/{path}
_imagine_home_medium_square GET /media/cache/home_medium_square/{path}
[root@server current]#
@fabiofabbrucci
fabiofabbrucci / vh e ht
Created January 25, 2012 23:58
vh e ht
<VirtualHost *:80>
ServerAdmin fabio.fabbrucci@gmail.com
ServerName abmundi
DocumentRoot /var/www/ABMundi/web
DirectoryIndex app.php
<Directory /var/www/ABMundi/web>
AllowOverride all
</Directory>
@fabiofabbrucci
fabiofabbrucci / vhost
Created January 25, 2012 23:38
Vhost e .htaccess
<VirtualHost *:80>
CustomLog /var/www/vhosts/www.abmundi.com/logs/www.abmundi.com-access_log combined
DocumentRoot /var/www/vhosts/www.abmundi.com/httpdocs/current/web/
ServerName www.abmundi.com
ServerAlias abmundi.com www.abmundi.com
### sgcontrol.custom.config.start
DirectoryIndex app.php
ErrorLog /var/www/vhosts/www.abmundi.com/logs/error
@fabiofabbrucci
fabiofabbrucci / ABMundi
Created January 19, 2012 15:20
Vhost of ABMundi V1
<VirtualHost *:80>
ServerAdmin fabio.fabbrucci@gmail.com
ServerName abmundi
DocumentRoot /var/www/ABMundi/web/
DirectoryIndex index.php index.html
<Directory /var/www/ABMundi/web/>
Options All Indexes FollowSymLinks MultiViews
Order allow,deny
Allow from all
@fabiofabbrucci
fabiofabbrucci / gist:1638978
Created January 19, 2012 09:37
Vhost syfony2
<VirtualHost *:80>
ServerAdmin webmaster@localhost
DocumentRoot "/var/www/Symfony/web/"
ServerName symfony
<Directory "/var/www/Symfony/web/">
Options ExecCGI FollowSymLinks Includes MultiViews
AllowOverride All
Allow from all
</Directory>