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
find . -name "*.info" -exec basename \{} .info \; | paste -s -d, |
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
apache2ctl -S |
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
drush en --y admin_menu admin_views ckeditor context entityreference features module_filter reldate strongarm pathauto globalredirect chosen devel eazylaunch date admin_menu_toolbar | |
drush ckeditor-download | |
drush chosenplugin | |
drush dis toolbar | |
drush cc all |
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 | |
//Github sanity check | |
$secret = 'my_secret_entered_on_webhook_settings_page'; | |
$headers = getallheaders(); | |
$hubSignature = $headers['X-Hub-Signature']; | |
list($algo, $hash) = explode('=', $hubSignature, 2); | |
$payload = file_get_contents('php://input'); | |
$data = json_decode($payload); | |
$payloadHash = hash_hmac($algo, $payload, $secret); |
NewerOlder