Skip to content

Instantly share code, notes, and snippets.

View zachharkey's full-sized avatar

Zach Harkey zachharkey

  • Harkey Design
  • Deep South
View GitHub Profile
<style>
#fountainG{
position:relative;
width:240px;
height:29px}
.fountainG{
position:absolute;
top:0;
background-color:#fac431;
@zachharkey
zachharkey / BigCommerce-Template-Guide-Appendix-1.md
Created December 13, 2013 17:48
BigCommerce-Template-Guide-Appendix-1
@zachharkey
zachharkey / refund-policy.md
Created December 13, 2013 19:52
Refund Policy

Title: Refund Policy Comment: Methodology for administering refunds.

Refund Policy

Methodology for administering refunds.

Returns

Our policy lasts 30 days. If 30 days have gone by since your purchase, unfortunately we can’t offer you a refund or exchange.

@zachharkey
zachharkey / privacy-policy.md
Created December 13, 2013 19:54
Privacy Policy

Title: Privacy Policy Comment: What data does your store collect?

Privacy Policy

What data does your store collect?

PRIVACY STATEMENT

@zachharkey
zachharkey / shipping-policy.md
Created December 13, 2013 19:57
Shipping Policy

Title: Shipping and handling

Shipping Policy

Turnaround

All orders are shipped within 48 hours Monday - Friday 8am - 5pm.

Carriers

<script type="text/javascript">
jQuery(document).ready(function($){
// Get current url
// Select an a element that has the matching href and apply a class of 'active'. Also prepend a - to the content of the link
var url = window.location.href;
$('.menu a[href="'+url+'"]').addClass('current_page_item');
});
</script>
var url = window.location.href;
// Will only work if string in href matches with location
$('.menu a[href="'+ url +'"]').addClass('active');
// Will also work for relative and absolute hrefs
$('.menu a').filter(function() {
return this.href == url;
}).addClass('better-active');
@zachharkey
zachharkey / new_gist_file_0
Created February 26, 2014 18:40
Being scanned for vulnerabilities.
[Sun Feb 09 23:51:00 2014] [error] [client 221.204.213.194] File does not exist: /Applications/MAMP/htdocs/phpTest
[Sun Feb 09 23:51:02 2014] [error] [client 221.204.213.194] client denied by server configuration: /Library/Application Support/appsolute/MAMP PRO/phpMyAdmin/scripts
[Sun Feb 09 23:51:03 2014] [error] [client 221.204.213.194] File does not exist: /Applications/MAMP/htdocs/pma
[Sun Feb 09 23:51:04 2014] [error] [client 221.204.213.194] File does not exist: /Applications/MAMP/htdocs/myadmin
[Mon Feb 10 00:41:35 2014] [error] [client 125.210.64.19] File does not exist: /Applications/MAMP/htdocs/w00tw00t.at.blackhats.romanian.anti-sec:)
[Mon Feb 10 00:41:39 2014] [error] [client 125.210.64.19] client denied by server configuration: /Library/Application Support/appsolute/MAMP PRO/phpMyAdmin/scripts
[Mon Feb 10 00:41:42 2014] [error] [client 125.210.64.19] File does not exist: /Applications/MAMP/htdocs/phpmyadmin
[Mon Feb 10 00:41:44 2014] [error] [client 125.210.64.19] File does not exist: /Applicatio
@zachharkey
zachharkey / gist:9382987
Last active August 29, 2015 13:57
Trying to understand syntax highlighting inconsistencies in Marked.app

Lets see how this works

Let's look at a few lines from my terminal as an example.

Here is what they look like if I simply indent the block of text without any code fence or anything.

~/Sites/d7sandbox1/sites/all/themes $ rm -R mybrokentheme
~/Sites/d7sandbox1/sites/all/themes $ drush vset -y theme_default bartik

Sweet. No syntax coloring. This is how it should be.

# Get Sublime Text to use your rvm ruby without hardcoding a `$USER`.
#
# Include the configurations below the commend in the appropriate file listed below:
#
# - OS X ST2: ~/Library/Application Support/Sublime Text 2/Packages/Ruby/Ruby.sublime-build
# - OS X ST3: ~/Library/Application Support/Sublime Text 3/Packages/User/Ruby.sublime-build
# - Linux ST2: ~/.config/sublime-text-2/Packages/Ruby/Ruby.sublime-build
# - Linux ST3: ~/.config/sublime-text-3/Packages/User/Ruby.sublime-build
{