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
| #!/bin/bash | |
| # | |
| # pushkey | |
| # | |
| # usage: | |
| # | |
| # pushkey [email protected] | |
| # | |
| # This script was originally written by Greg Anderson |
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 | |
| /** | |
| * Database URL format: | |
| * $db_url = 'mysqli://username:password@localhost/databasename'; | |
| */ | |
| $db_url = 'mysqli://username:password@localhost/databasename'; | |
| $db_prefix = ''; | |
| // Access control for update.php script |
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
| <VirtualHost *:80> | |
| ServerAdmin [email protected] | |
| ServerName www.example.com | |
| # Force secure access via redirect to https | |
| RedirectMatch permanent /(.*) https://www.example.com/$1 | |
| </VirtualHost> | |
| # SSL | |
| <IfModule mod_ssl.c> | |
| <VirtualHost *:443> |
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
| $view = new view; | |
| $view->name = 'content_advanced'; | |
| $view->description = 'Allows for granular content search'; | |
| $view->tag = 'default'; | |
| $view->base_table = 'node'; | |
| $view->human_name = 'Content Advanced'; | |
| $view->core = 7; | |
| $view->api_version = '3.0'; | |
| $view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */ |
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
| <VirtualHost 0.0.0.0:80> | |
| ServerName mysite.sandbox | |
| DocumentRoot /path/to/mysite.sandbox | |
| <IfModule mod_rewrite.c> | |
| RewriteEngine on | |
| # Request resides in your 'sites/default/files' folder. | |
| RewriteCond %{REQUEST_URI} ^/sites/default/files/(.*)$ | |
| # File doesn't exist. | |
| RewriteCond %{REQUEST_FILENAME} !-f | |
| # Directory doesn't exist. |
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
| # | |
| # Customized VCL file for serving up a Drupal site with multiple back-ends. | |
| # | |
| # For more information on this VCL, visit the Lullabot article: | |
| # http://www.lullabot.com/articles/varnish-multiple-web-servers-drupal | |
| # | |
| # Define the internal network subnet. | |
| # These are used below to allow internal access to certain files while not | |
| # allowing access from the public internet. |
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
| #!/bin/sh | |
| # Local application path. The default is /Applications but I tend to separate | |
| # my apps in the sub directories, e.g. /Applications/Internet | |
| app_root="/Applications" | |
| path_chrome="$app_root/Google\ Chrome.app/Contents/MacOS/Google\ Chrome" | |
| # Everything below should be good as is, the script is interactive. | |
| # 1 Name | |
| # 2 URL |
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
| $view = new view; | |
| $view->name = 'admin_content'; | |
| $view->description = 'Emulates the Drupal content administration page.'; | |
| $view->tag = ''; | |
| $view->base_table = 'node'; | |
| $view->core = 0; | |
| $view->api_version = '2'; | |
| $view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */ | |
| $handler = $view->new_display('default', 'Default', 'default'); | |
| $handler->override_option('fields', array( |
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
| $view = new view; | |
| $view->name = 'admin_users'; | |
| $view->description = 'Emulates the Drupal user administration page.'; | |
| $view->tag = ''; | |
| $view->base_table = 'users'; | |
| $view->core = 0; | |
| $view->api_version = '2'; | |
| $view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */ | |
| $handler = $view->new_display('default', 'Default', 'default'); | |
| $handler->override_option('fields', array( |
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
| ; See http://drupal.org/node/625094 | |
| ; drush make test_make.txt --contrib-destination=sites/all/modules/contrib --prepare-install /Volumes/Work/DevSites/testing/test.local | |
| core = 6.x | |
| api = 2 | |
| ; Core project | |
| projects[] = drupal | |
| ; Contrib Modules |