View UploadDataOverWifi.ino
#include <SPI.h> | |
#include <WiFi101.h> | |
/* | |
UPLOAD DATA OVER WIFI | |
Jeff Thompson | 2017 | jeffreythompson.org | |
The great Arduino Wifi101 library includes lots of examples | |
of how to *get* data from the internet, but no examples on how |
View index.html
<div class="tabsContainer"> | |
<ul class="tabrow"> | |
<li><a href="#">RF games</a></li> | |
<li><a href="#">Nyx games</a></li> | |
<li class="selected"><a href="#">Tom Horn</a></li> | |
<li><a href="#">gg262</a></li> | |
<li><a href="#">Other games</a></li> | |
</ul> | |
</div> | |
View index.html
<!-- TAB TEMPLATE --> | |
<svg height="0" width="0" style="position: absolute; margin-left: -100%;"> | |
<defs> | |
<filter id='shadow'> | |
<feComponentTransfer in="SourceGraphic"> | |
<feFuncR type="discrete" tableValues="0"/> | |
<feFuncG type="discrete" tableValues="0"/> | |
<feFuncB type="discrete" tableValues="0"/> |
View How to get a visitor’s location and redirect them to right store for Shopify
These days some business have online store in different country with the same name. They have different URL for different country but they are facing a problem that how they can redirect store url based on IP address for eg. | |
www.domain.us – Customers in the United States | |
www.domain.ca – Customers in the Canada | |
www.domain.com – Customers in rest the world | |
This article guide you to do that. |
View Filter by size in stock shopify. Step 1 full guide at dylanjh.com
{% assign sizes = '' %} | |
{% for product in products limit: limit %} | |
{% for variant in product.variants %} | |
{% if variant.available %} | |
{% assign sizes = sizes | append: variant.options[1] | append: '_' %} | |
{% endif %} | |
{% endfor %} | |
{% endfor %} | |
{% assign sizesArr = sizes | split: '_' | uniq %} |
View ajax-cart.js
const defaults = { | |
cartModal: '.js-ajax-cart-modal', // classname | |
cartModalContent: '.js-ajax-cart-modal-content', // classname | |
cartModalClose: '.js-ajax-cart-modal-close', // classname | |
cartDrawer: '.js-ajax-cart-drawer', // classname | |
cartDrawerContent: '.js-ajax-cart-drawer-content', // classname | |
cartDrawerClose: '.js-ajax-cart-drawer-close', // classname | |
cartDrawerTrigger: '.js-ajax-cart-drawer-trigger', // classname | |
cartOverlay: '.js-ajax-cart-overlay', // classname | |
cartCounter: '.js-ajax-cart-counter', // classname |
View ajax-cart-complete.liquid
<!--ajax cart modal--> | |
<div class="ajax-cart__modal js-ajax-cart-modal"> | |
<div class="ajax-cart-modal"> | |
<!--ajax cart modal close--> | |
<div class="ajax-cart-modal__close js-ajax-cart-modal-close"> | |
{% include 'icon-close' %} | |
</div> | |
<!--end ajax cart modal close--> |
View ajaxify-cart.liquid
<script> | |
/** | |
* Module to ajaxify all add to cart forms on the page. | |
* | |
* Copyright (c) 2015 Caroline Schnapp (11heavens.com) | |
* Dual licensed under the MIT and GPL licenses: | |
* http://www.opensource.org/licenses/mit-license.php | |
* http://www.gnu.org/licenses/gpl.html | |
* |