Skip to content

Instantly share code, notes, and snippets.


William Alencar williambsb

  • GoodFy Labs
  • Brasília
View GitHub Profile
williambsb / UploadDataOverWifi.ino
Created Dec 7, 2020 — forked from jeffThompson/UploadDataOverWifi.ino
How to upload data to a server with Arduino
View UploadDataOverWifi.ino
#include <SPI.h>
#include <WiFi101.h>
Jeff Thompson | 2017 |
The great Arduino Wifi101 library includes lots of examples
of how to *get* data from the internet, but no examples on how
williambsb / index.html
Created Sep 17, 2020
Rounded tabs Lobby 2
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>
View index.html
<svg height="0" width="0" style="position: absolute; margin-left: -100%;">
<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. – Customers in the United States – Customers in the Canada – Customers in rest the world
This article guide you to do that.
View Filter by size in stock shopify. Step 1 full guide at
{% 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 %}
williambsb / ajax-cart.js
Created Jun 25, 2020 — forked from marioloncarek/ajax-cart.js
complete shopify ajax cart solution with drawer and modal, adding and removing products - ugly AF
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' %}
<!--end ajax cart modal close-->
williambsb / ajaxify-cart.liquid
Created Jun 25, 2020 — forked from EvonuX/ajaxify-cart.liquid
Cart Drawer - HC Shopify
View ajaxify-cart.liquid
* Module to ajaxify all add to cart forms on the page.
* Copyright (c) 2015 Caroline Schnapp (
* Dual licensed under the MIT and GPL licenses:
You can’t perform that action at this time.