drush export-config
- new/changed configs go into src/sites/default/config
- Just copy them over to the modules and commit both...
drush export-config
| atlas-run-standalone -p 4444 --server "mastervm.dev" --product crowd |
// This will match /my-path, /my-path/other/path/index.php, /my-path/index.html
location /my-path {
. . .
}
// Exact path matching.
| /* YUI RESETS */ | |
| /* | |
| Copyright (c) 2008, Yahoo! Inc. All rights reserved. | |
| Code licensed under the BSD License: | |
| http://developer.yahoo.net/yui/license.txt | |
| version: 2.5.2 | |
| */ | |
| html{color:#000;background:#FFF;}body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,code,form,fieldset,legend,input,textarea,p,blockquote,th,td{margin:0;padding:0;}table{border-collapse:collapse;border-spacing:0;}fieldset,img{border:0;}address,caption,cite,code,dfn,em,strong,th,var{font-style:normal;font-weight:normal;}li{list-style:none;}caption,th{text-align:left;}h1,h2,h3,h4,h5,h6{font-size:100%;font-weight:normal;}q:before,q:after{content:'';}abbr,acronym {border:0;font-variant:normal;}sup {vertical-align:text-top;}sub {vertical-align:text-bottom;}input,textarea,select{font-family:inherit;font-size:inherit;font-weight:inherit;}input,textarea,select{*font-size:100%;}legend{color:#000;} |
I use Drupal VM with php5-fpm and it uses port 9000 so I just set my debug ports to 9001.
| fixfiles() { | |
| # Drupal root. | |
| drupal=$(drush dd) | |
| retval=$? | |
| echo "${retval}" | |
| if [ $? -eq 0 ]; then | |
| echo OK |
| # Enable/Disable Xdebug | |
| function x() { | |
| if [ "$@" = "en" ]; then | |
| sudo cp ~/vag-env/xdebug-en /etc/php.d/xdebug.ini | |
| elif [ "$@" = "dis" ]; then | |
| sudo cp ~/vag-env/xdebug-dis /etc/php.d/xdebug.ini | |
| fi | |
| } |
| # @arg int: The number of commits you want to squash. | |
| function squash() { | |
| num=${1}; | |
| if [ ! num ]; then | |
| echo "Integer required"; | |
| return 0; | |
| fi | |
| git reset --soft HEAD~${num}; | |
| git commit --edit -m"$(git log --format=%B --reverse HEAD..HEAD@{1})"; | |
| } |
| These are the settings I use. |