Skip to content

Instantly share code, notes, and snippets.

@abaumer
abaumer / htaccess cache and stuff
Last active August 29, 2015 14:09 — forked from wycks/htaccess cache and stuff
Basic htaccess based on Paul's. Extra stuff I didn't need removed. No WP in this one.
#Boilerplate------------------------------------
# Apache configuration file
# httpd.apache.org/docs/2.2/mod/quickreference.html
# Note .htaccess files are an overhead, this logic should be in your Apache
# config if possible: httpd.apache.org/docs/2.2/howto/htaccess.html
# Techniques in here adapted from all over, including:
@abaumer
abaumer / structuredData.html
Created September 17, 2014 17:48
Structured Data
<!--
Microformat Data
enabling better location based search results
-->
<div class="microdata" itemscope itemtype="http://schema.org/Organization">
<!-- Short Name - Hidden Attribute -->
<span itemprop="name" content="ORGANIZATION NAME"/>
<!-- Full name marked as Legal Name -->
<span itemprop="legalName">LONG OFFICIAL ORGANIZATION NAME</span>
<!-- Logo - Hidden Attribute -->
@abaumer
abaumer / tableCsvDownload.js
Last active August 29, 2015 13:55
TABLE to CSV and DOWNLOAD
/**
* Super Awesome CSV download Maker
*
* based heavily on the sweet new html5 download writeup by html5rocks
* source: http://updates.html5rocks.com/2011/08/Downloading-resources-in-HTML5-a-download
*
* Special Thanks to ZABB.co for the quick table parsing.
*/
@abaumer
abaumer / checklist-part2.md
Last active August 15, 2017 19:46
Testing Checklists in Gist Markdown

The second one

  • first item
  • second item
  • third item