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

Contract Killer

The popular open-source contract for web designers and developers by Stuff & Nonsense

  • Originally published: 23/12/2008
  • Revised date: 15/12/2013
  • Original post

Date: [date]

Between us [company name] and you [customer name].


In short; neither of us will share any confidential information about each-other, by any means, with anyone else.

What’s confidential information?

inetbiz / user_prefs
Last active November 26, 2016 12:55
User SpamAssassin Custom Settings
# Make sure we get the required score header.
rewrite_header subject [SPAM] (_SCORE_)
add_header all Score _SCORE_
bayes_auto_learn 1
bayes_auto_learn_threshold_nonspam -0.1
bayes_auto_learn_threshold_spam 6.0
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 / apache-hsts.conf
Last active February 18, 2016 19:04
HSTS (HTTP Secure Transport Security) for Apache credit to
# Use HTTP Strict Transport Security to force client to use secure connections only
Header always set Strict-Transport-Security "max-age=31536000; includeSubDomains; preload"
inetbiz / lighttpd-hsts.conf
Last active August 8, 2019 21:40
Lighttpd HSTS Configuration
server.modules += ( "mod_setenv" )
$HTTP["scheme"] == "https" {
setenv.add-response-header = ("Strict-Transport-Security" => "max-age=31536000; includeSubDomains; preload")
inetbiz / iis-hsts
Last active February 18, 2016 19:08
protected void Application_BeginRequest(Object sender, EventArgs e)
switch (Request.Url.Scheme)
case "https":
Response.AddHeader("Strict-Transport-Security", "max-age=31536000; includeSubDomains; preload");
case "http":
var path = "https://" + Request.Url.Host + Request.Url.PathAndQuery;
Response.Status = "301 Moved Permanently";
inetbiz / favicon-snippet.html
Created March 26, 2014 07:34
Gist for video osCommerce - Favicon with Retina for AppleTouch. You can also use the video tip for wordpress sites.
<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon" />
<link rel="apple-touch-icon" href="/apple-touch-icon.png" />
<link rel="apple-touch-icon" sizes="57x57" href="/apple-touch-icon-57x57.png" />
<link rel="apple-touch-icon" sizes="72x72" href="/apple-touch-icon-72x72.png" />
<link rel="apple-touch-icon" sizes="76x76" href="/apple-touch-icon-76x76.png" />
<link rel="apple-touch-icon" sizes="114x114" href="/apple-touch-icon-114x114.png" />
<link rel="apple-touch-icon" sizes="120x120" href="/apple-touch-icon-120x120.png" />
<link rel="apple-touch-icon" sizes="144x144" href="/apple-touch-icon-144x144.png" />
<link rel="apple-touch-icon" sizes="152x152" href="/apple-touch-icon-152x152.png" />
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 / db-optimize.php
Last active September 7, 2021 17:00
Database Optimizer CRON Job via PHP
/* This script provided under the GNU GPL v3.0 AS-IS.
@Author =
# echo '<pre>' . "\n\n";
set_time_limit( 100 );
$time = microtime();
$time = explode(' ', $time);
$time = $time[1] + $time[0];