Skip to content

Instantly share code, notes, and snippets.

View hsleewis's full-sized avatar
🔥

Harold hsleewis

🔥
View GitHub Profile
<meta name='viewport' content='user-scalable=no, width=device-width' />
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
@hsleewis
hsleewis / gist:3374699
Created August 17, 2012 00:07 — forked from carolineschnapp/gist:1083007
Linked options helper methods for Shopify. See this: http://wiki.shopify.com/Linked_Options
<script>
// (c) Copyright 2011 Caroline Schnapp. All Rights Reserved. Contact: mllegeorgesand@gmail.com
// See http://wiki.shopify.com/Linked_Options
var Shopify = Shopify || {};
Shopify.optionsMap = {};
Shopify.updateOptionsInSelector = function(selectorIndex) {
Exception [ Error ]: parse error: failed at `@props: ~`"@{arguments}".replace(/[\[\]]|\,\sX/g, '')`;` /Users/hsl/Projects/fuel_base/fuel/app/vendor/less/../bootstrap/less/mixins.less on line 253
{
animation : none;
animation-delay : 0;
animation-direction : normal;
animation-duration : 0;
animation-fill-mode : none;
animation-iteration-count : 1;
animation-name : none;
animation-play-state : running;
animation-timing-function : ease;

Keybase proof

I hereby claim:

  • I am hsleewis on github.
  • I am hsl (https://keybase.io/hsl) on keybase.
  • I have a public key whose fingerprint is 64EB C26F 507D 9483 8C91 6690 9B40 9E96 E366 5E84

To claim this, I am signing this object:

.DS_Store
composer.lock
fuel/vendor
fuel/app/logs/*/*/*
fuel/app/cache/*/*
public/.htaccess
http.createServer(function (req, res) {
var jsondata = "";
req.on('data', function (chunk) {
jsondata += chunk;
});
req.on('end', function () {
res.writeHead(200, {'Content-Type': 'text/plain'});
#main {
display: table;
}
#overview {
display: table-footer-group;
}
#content {
display: table-header-group;
{% unless shop.enabled_payment_types == empty %}
<h4 class="text-center">Accepted Payments</h4>
<ul class="inline-list payment-icons text-center">
{% for type in shop.enabled_payment_types %}
<li>
<span class="icon-fallback-text">
<span class="icon icon-{{type}}" aria-hidden="true"></span>
<span class="fallback-text">{{type | replace: '_',' '}}</span>
</span>
</li>
// example1: ACTIVE AND HOVER STATE
a.error {
border: 1px solid #c6c6c6;
color: white;
&:hover {
background: #FA4549;
}