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
| #!/bin/bash | |
| # Script to fix permissions of cpanel nobody file and folders | |
| # Written by: Denver Prophit Jr. 03/13/2015 | |
| # https://www.strikehawk.com | |
| for user in `ls -A /var/cpanel/users` | |
| do | |
| HOMEDIR=$(egrep "^${user}:" /etc/passwd | cut -d: -f6) | |
| find $HOMEDIR ! -user $USER -exec chown $USER {} \; | |
| done |
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
| # 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 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
| {* | |
| * 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 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
| {* | |
| * 2007-2015 PrestaShop | |
| * | |
| * NOTICE OF LICENSE | |
| * | |
| * This source file is subject to the Academic Free License (AFL 3.0) | |
| * that is bundled with this package in the file LICENSE.txt. | |
| * It is also available through the world-wide-web at this URL: | |
| * http://opensource.org/licenses/afl-3.0.php | |
| * If you did not receive a copy of the license and are unable to |
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 class="about-author"> | |
| <?php | |
| ob_start(); | |
| the_author_posts_link(); | |
| $title = sprintf( '%s %s', __( 'About the Author:', 'Avada' ), ob_get_clean() ); | |
| echo do_shortcode( sprintf( '[title size="2" content_align="left" style_type="default"]%s[/title]', $title ) ); | |
| ?> | |
| <div class="about-author-container"> | |
| <div class="avatar"> | |
| <?php echo get_avatar(get_the_author_meta('email'), '72'); ?> |
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
| <html> | |
| <head> | |
| <style> | |
| #outlook a { | |
| padding: 0 | |
| } | |
| body { | |
| width: 100% !important; | |
| min-width: 100%; |
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
| <!-- Add this code to article page: --> | |
| <div itemscope itemtype='http://schema.org/Article'> | |
| <meta itemprop='keywords' content='abc, def, ghi, jkl, mno, pqrs'/> | |
| <meta itemprop='inLanguage' content='en_us'/> | |
| <meta itemprop='interactionCount' content='UserTweets: 20,001'/> | |
| <meta itemprop='description' content='This article example demonstrates how one should define the taxonomies of their content groupings'/> | |
| <meta itemprop='about' content='Taxonomy is the study of classification of tangible and intangible items and is a subset of Ontology. '/> | |
| <meta itemprop='isFamilyFriendly' content='True'/> | |
| <h1 itemprop='name headline'>Taxonomy Keywords</h1> | |
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
| <time class="icon" datetime="2014-09-20T15:00-5:00"><em>Saturday</em> | |
| <strong>September</strong> | |
| <span>20</span> | |
| <i>3pm -5 GMT</i> | |
| </time> | |
| <style> | |
| time.icon | |
| { | |
| font-size: 1em; /* change icon size */ | |
| display: block; |
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 itemscope itemtype="http://schema.org/SkiResort"> | |
| <span itemprop="name">StrikeHawk eCommerce, Inc.</span> | |
| We accept <span itemprop="paymentAccepted">Cash, credit card</span> in these currencies: <span itemprop="currenciesAccepted">USD, AUD, EUR, GBP</span> | |
| The typical destination package ranges from <span itemprop="priceRange">50 - 300</span> Euros. | |
| We are open <time itemprop="openingHours" datetime="Mo - Fri 13:00-20:00">Monday through Friday from 1pm to 8pm.</time> | |
| <div itemprop="address" itemscope itemtype="http://schema.org/PostalAddress"> | |
| <span itemprop="streetAddress">21204 NEWPORT SOUND PL</span> | |
| <span itemprop="addressLocality">NEW SMYRNA BEACH</span>, | |
| <span itemprop="addressRegion">FL</span> | |
| <span itemprop="postalCode">32168</span> |
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 * * * /usr/local/cpanel/3rdparty/bin/sa-learn -p /home/cp-user/.spamassassin/user_prefs --use-ignores --spam /home/cp-user/mail/domain.com/*/.Junk/{cur,new} > /dev/null 2>&1 | |
| 0 0 * * * /usr/local/cpanel/3rdparty/bin/sa-learn -p /home/cp-user/.spamassassin/user_prefs --use-ignores --ham /home/cp-user/mail/domain.com/*/.ham/{cur,new} > /dev/null 2>&1 |