Skip to content

Instantly share code, notes, and snippets.

View inetbiz's full-sized avatar
Honing my JSON+LD Structured Data Skills

Denver Prophit Jr. inetbiz

Honing my JSON+LD Structured Data Skills
View GitHub Profile
inetbiz / gist:9540912
Last active August 29, 2015 13:57
Redirect domain to www domain
# WWW redirect
RewriteCond %{HTTP_HOST} !^www\. [NC]
RewriteRule ^ http://www.%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
inetbiz / schema-person.html
Last active August 29, 2015 13:58
<div itemscope itemtype="">
<meta itemprop="sameAs" content="" />
<img itemprop="image" src="">
<a itemprop="url" href=""><div itemprop="name"><strong>Denver Prophit Jr.</strong></div>
<div itemscope itemtype=""><span itemprop="name">Denver Prophit Jr.</span></div><div itemprop="jobtitle">Open Source Evangelist</div>
<div itemprop="description">Open Source Evangelist dedicated to spreading the news about open source alternatives to commercial software.</div>
<div itemprop="address" itemscope itemtype="">
<div><span itemprop="addressLocality">NEW SMYRNA BEACH</span>, <span itemprop="addressRegion">Florida</span></div><div itemprop="postalCode">32168</div>
<div itemprop="addressCountry">USA</div>
inetbiz / gist:11239763
Created April 24, 2014 02:48
//Remove WordPress Generator Meta Tag as a obscurity measure
remove_action('wp_head', 'wp_generator');
// Remove it from your RSS feeds
function remove_generator_version_rss() {
return '';
add_filter('the_generator', 'remove_generator_version_rss');
inetbiz / geolocation.xml
Last active August 29, 2015 14:03
Geographical Location XML SIte Feed
<urlset xmlns=""
<!DOCTYPE html>
<html lang="en-US">
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="robots" content="noodp, noydir" />
<link rel="canonical" href="" />
<link rel="stylesheet" href="" type="text/css" />
<link rel="alternate" href="" type="application/rss+xml" title="Direct Feed"/>
<link rel="shortcut icon" href="" type="image/x-icon" />
# Force SSL Logins
define('FORCE_SSL_LOGIN', true);
define('FORCE_SSL_ADMIN', true);
/* That's all, stop editing! Happy blogging. */
inetbiz / .htaccess
Last active August 29, 2015 14:05
.htaccess redirect HTTP links to HTTPS
#This snippet places into your .htaccess file either in /var/www/httpd, /var/www/httpd_docroot or /home/your username/public_html
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}
inetbiz / sshd_config
Created September 26, 2014 02:22
SSHD Config
# $OpenBSD: sshd_config,v xxxx 2014/09/25 23:59:53 dprophit Exp $
# This is the sshd server system-wide configuration file. See
# sshd_config(5) for more information.
# This sshd was compiled with PATH=/usr/local/bin:/bin:/usr/bin
# The strategy used for options in the default sshd_config shipped with
# OpenSSH is to specify options with their default value where
# possible, but leave them commented. Uncommented options change a
inetbiz /
Created January 30, 2015 22:59
TinyMCE Advanced Configuration for WordPress




inetbiz / product.tpl
Last active August 29, 2015 14:20
Prestashop Product Detail Tabs *Alpha Code*
* 2015 StrikeHawk eCommerce, Inc.
* 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.