This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Remove stale remote tracking branches. | |
| git remote prune origin | |
| # Remove stale local tracking branches. | |
| git branch --merged | grep -v "\*" | egrep -v "master|development" | xargs -n 1 git branch -d |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| server { | |
| server_name vanilla.dev; | |
| listen 80; | |
| root /var/www/vanilla; | |
| location ^~ /static { | |
| access_log /dev/null; | |
| error_log /dev/null crit; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| /** | |
| * This file will make Vanilla use a different config depending on which site you're on. | |
| * Drop this file into your /conf folder. | |
| */ | |
| // Get the config. | |
| if (isset($_SERVER['NODE_SLUG'])) { | |
| // This is a site per folder setup. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Original | |
| # If you modify this file then change the above line to: # Modified | |
| <IfModule mod_rewrite.c> | |
| RewriteEngine On | |
| # Certain hosts may require the following line. | |
| # If vanilla is in a subfolder then you need to specify it after the /. | |
| # (ex. You put Vanilla in /forum so change the next line to: RewriteBase /forum) | |
| # RewriteBase / | |
| # The basic rewrtie rule. |
NewerOlder