This file contains 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
{* | |
* 2015 StrikeHawk eCommerce, Inc. | |
* | |
* NOTICE OF LICENSE | |
* | |
* This program is free software: you can redistribute it and/or modify | |
* it under the terms of the GNU General Public License as published by | |
* the Free Software Foundation, either version 3 of the License, or | |
* (at your option) any later version. | |
* |
This file contains 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
# Modify curl for your site lookup at the end of line | |
curl -s -w '\nLookup time:\t%{time_namelookup}\nConnect time:\t%{time_connect}\nAppCon time:\t%{time_appconnect}\nRedirect time:\t%{time_redirect}\nPreXfer time:\t%{time_pretransfer}\nStartXfer time:\t%{time_starttransfer}\n\nTotal time:\t%{time_total}\n' -o /dev/null http://www.example.com | |
# Use mtr for reverse traceroute. Change 192.168.1.1 to client reported IP address from whatismyip.com | |
mtr --report -c 5 192.168.1.1 |
This file contains 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
{ | |
"@context": "http://schema.org", | |
"@type": "Organization", | |
"@id": "#publisher", | |
"@reverse": | |
{ | |
"publisher": | |
{ | |
"@type":"Website", | |
"potentialAction": |
This file contains 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 | |
/** | |
* Storable interface | |
*/ | |
interface Storable extends \ArrayAccess, \Iterator {} |
This file contains 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 itemscope itemtype="http://schema.org/CollectionPage"> | |
<meta itemprop="sameAs" content="https://en.wikipedia.org/wiki/Social_media" /> | |
<a itemprop="url" href="https://www.example.org/category/social-media/"><img src="/wp-content/uploads/xxxx/xxxx/xxxxxx.png" width="95" height="100" itemprop="logo" alt="Social Media Iconic Representation" align="left"></a> | |
<div itemprop="name"><strong>Open Source Hardware</strong></div> | |
<div itemprop="description">Whatever description you are going to use that is contextual to both your sameAs content and the category loop</div> | |
</div> |
This file contains 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
{ | |
"@context": "https://schema.org/", | |
"@type": [ | |
"LodgingBusiness", | |
"CampGround" | |
], | |
"@id": "#brand", | |
"sameAs": [ | |
"http://www.facebook.com/your-profile", | |
"http://www.twitter.com/yourProfile", |
This file contains 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
{% comment %} | |
Loops though every collection you defined in _config.yml and grabs the pages they contain; outputting title and full text with good basic html semantics. | |
Use page.excerpt instead of page.content to grab the first paragraph, blog list style. Markdownify is optional, depends how you authored content in your collections; I typically use Markdown. | |
{% endcomment % } | |
{% for collection in site.collections %} | |
{% assign name = collection.label %} | |
<section> |
This file contains 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
<!-- Global site tag (gtag.js) - Google Analytics --> | |
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-xxxxxxx-xx"></script> | |
<script> | |
window.dataLayer = window.dataLayer || []; | |
function gtag(){dataLayer.push(arguments);} | |
gtag('js', new Date()); | |
gtag('set',{'content_group1':'{{page.title}}'}); | |
if (window.performance) { | |
var timeSincePageLoad = Math.round(performance.now()); | |
gtag('event', 'timing_complete', { |
This file contains 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
# BEGIN WordPress https://wordpress.org/support/article/htaccess/ | |
<Files xmlrpc.php> | |
Order Deny,Allow | |
Deny from all | |
Allow [ Trusted Domains/IPs ] | |
</Files> | |
# FINISH XML RPC BLOCKING | |
RewriteEngine On | |
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}] |
OlderNewer