This file contains 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 write permissions from settings.php and remove unnecessary files per Drupal.org instructions | |
# (https://drupal.org/upgrade/finished). The file removal part isn't really a great security measure, | |
# but helpful if you prefer a clean directory. | |
alias drupal-post-install-cleanup="chmod a-w sites/default/settings.php && rm CHANGELOG.txt COPYRIGHT.txt install.php INSTALL.mysql.txt INSTALL.pgsql.txt INSTALL.sqlite.txt INSTALL.txt LICENSE.txt MAINTAINERS.txt UPGRADE.txt" |
This file contains 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
alias create-git-repo="git init && git add . && git commit -m \"initial commit\"" |
This file contains 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
/* | |
Set some useful development environment variables | |
*/ | |
# change site name | |
$conf['site_name'] = 'SITENAME LOCAL'; | |
# turn off caching & aggregation | |
$conf['cache'] = FALSE; | |
$conf['block_cache'] = FALSE; |
This file contains 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
# create settings.php, file directories, set permissions, and return to site root | |
alias prepare-d7-site="cd sites/default && cp default.settings.php settings.php && chmod a+w settings.php && mkdir files && chmod a+w files && mkdir private && mkdir tmp && chmod a+w private && chmod a+w tmp && cd .. && cd .." |
This file contains 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
# EditorConfig is awesome: http://EditorConfig.org | |
# top-most EditorConfig file | |
root = true | |
# Unix-style newlines with a newline ending every file | |
[*] | |
end_of_line = lf | |
insert_final_newline = true |
This file contains 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
######################### | |
# Drupal install commands | |
# Drupal 7 - add .htaccess, settings.php, file directories, set permissions, and return to site root | |
alias prepare-d7-site="cp ../drupal7/.htaccess .htaccess && cd sites/default && cp default.settings.php settings.php && chmod a+w settings.php && mkdir files && chmod a+w files && mkdir private && mkdir tmp && chmod a+w private && chmod a+w tmp && cd .. && cd .." | |
# Drupal 8 - add .htaccess, settings.php, file directories, set permissions, and return to site root | |
alias prepare-d8-site="cp ../drupal8/.htaccess .htaccess && cd sites/default && cp default.settings.php settings.php && chmod a+w settings.php && mkdir files && chmod a+w files && mkdir private && mkdir tmp && chmod a+w private && chmod a+w tmp && cd .. && cd .." | |
# remove unnecessary files and set permissions on settings.php () |
This file contains 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
// Configuring Grunt tasks: | |
// http://gruntjs.com/configuring-tasks | |
module.exports = function (grunt) { | |
grunt.initConfig({ | |
pkg: grunt.file.readJSON('package.json'), | |
// Play sound: https://github.com/astronaughts/grunt-play | |
play: { | |
compasscomplete: { | |
file: '/System/Library/Sounds/purr.aiff' |
This file contains 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
/** | |
* @file | |
* Font face declarations | |
* | |
* NOTES: | |
* 1) use .eot for full IE support or .woff for IE 9+ support | |
* (reference: http://caniuse.com/#search=font) | |
* 2) NOT using Compass' font-face mixin due to sketchy support, instead using | |
* http://www.paulirish.com/2009/bulletproof-font-face-implementation-syntax/ | |
*/ |
This file contains 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
/** | |
* @file | |
* Font face declaration for IcoMoon icon font. | |
* | |
* Font source: http://icomoon.io/ | |
*/ | |
/* IcoMoon icon font */ | |
@font-face { | |
font-family: 'icomoon'; |
This file contains 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
/** | |
* @file | |
* Font face declarations for Typography.com hosted fonts | |
*/ | |
/* replace this URL, it will be specific to each project */ | |
@import "//cloud.typography.com/123456/789123/css/fonts.css"; | |
/* Gotham Bold */ | |
@font-face { |
OlderNewer