I hereby claim:
- I am jackfoust on github.
- I am jackfoust (https://keybase.io/jackfoust) on keybase.
- I have a public key ASC6Gkj11NlFC9IJZZv6hGmj_QyPhd85TpKFlKeeWaVS3Qo
To claim this, I am signing this object:
proxy: | |
mannequin: | |
- appname-styleguide.lndo.site | |
node: | |
- appname-bs.lndo.site:3000 | |
services: | |
mannequin: | |
type: compose | |
services: | |
image: php:7.3 |
lando ssh appserver | |
cd ~/.drush | |
mkdir commands | |
cd commands | |
wget <site audit.tar.gz> | |
tar xvfz <site audit.tar.gz> | |
exit | |
#You may need to switch to a branch where you aren't doing site audit things to be able to `lando drush cc drush` |
I hereby claim:
To claim this, I am signing this object:
<cfcontent type="text/html; charset=UTF-8"> | |
<!doctype html> | |
<html lang="en"> | |
<head> | |
<title>Sanitize target="_blank"</title> | |
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.slim.min.js" type="text/javascript"></script> | |
<script type="text/javascript"> | |
/* 3/24/2017 Sanitize_Target_Blank.htm https://gist.github.com/JamoCA/80f65eb07f054b1326221bd4f15868d6 */ | |
function sanitizeTargetBlank(){ | |
$('#linkDiv a[rel~=external]').prop('target', '_blank'); |
# DIFF REPLACE | |
-$conf['404_fast_paths_exclude'] = '/\/(?:styles)\//'; | |
+$conf['404_fast_paths_exclude'] = '/\/(?:styles)|(?:system\/files)\//'; | |
# ADD TO END OF FILE | |
/** | |
* Theme debugging: | |
* | |
* When debugging is enabled: |
# ADD TO END OF FILE | |
# Add headers to all responses. | |
<IfModule mod_headers.c> | |
# Disable content sniffing, since it's an attack vector. | |
Header always set X-Content-Type-Options nosniff | |
</IfModule> |
sudo iwlist wlan0 scan | grep \(Channel |
<?php | |
$defaults = array( | |
'value' => '', | |
'format' => filter_default_format(), | |
); | |
$example = variable_get('example_variable', $defaults); | |
$form_['example'] = array( | |
'#title' => t(''), | |
'#type' => 'text_format', |
<?php | |
/** | |
* @file | |
* A test case for adding visibility settings of Desktop, Tablet and Mobile to Drupal block rendering. Dropped instead for Context + Mobile Detect Library | |
*/ | |
define('MOBILE_DETECT_LIBRARY_PATH', '/sites/all/libraries/Mobile_Detect'); | |
/** | |
* Implements hook_form_alter(). |
<?php | |
/** | |
* @file | |
* Creates a custom token. In this case this token was sent to Google Analytics. | |
*/ | |
function example_token_info() { | |
$info['tokens']['site']['active_alert'] = array( | |
'name' => t('Active Alert'), |