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
{ | |
"apiVersion":"1.0", | |
"entityType":"node", | |
"entityID":"4", | |
"url":"http:\/\/project.loco:8080\/?q=node\/4", | |
"authorId":"1", | |
"authorName":"admin", | |
"authorUrl":"http:\/\/project.loco:8080\/?q=user\/1", | |
"created":"1340365718", | |
"changed":"1340365718", |
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 | |
// put the below in a file in ~/.drush/slc.alaises.drushrc.php | |
// allows commands like | |
// drush sql-sync @stage @mirzu | |
// -- to move the staging db to your sandbox | |
// and commands like | |
// drush rsync @stage @mirzu | |
// -- to move the files directory from staging to your sandbox | |
// with a couple of modifications it works with you local box as well. |
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
test |
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 | |
// how the session variable is used in the system module. | |
if (isset($_SESSION['ignore_slave_server'])) { | |
if ($_SESSION['ignore_slave_server'] >= REQUEST_TIME) { | |
Database::ignoreTarget('default', 'slave'); | |
} | |
else { | |
unset($_SESSION['ignore_slave_server']); | |
} |
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
[color] | |
diff = auto | |
status = auto | |
branch = auto | |
[push] | |
default = tracking | |
[core] | |
editor = mvim -f | |
[alias] | |
co = checkout |
NewerOlder