I hereby claim:
- I am htmelvis on github.
- I am htmelvis (https://keybase.io/htmelvis) on keybase.
- I have a public key ASAV6FrNQK0Zl0R1gMHIHD4IWYCaam194OtilTajxec2Ego
To claim this, I am signing this object:
{% if context == 'cart' or context == 'checkout' %} | |
<script type="text/javascript" charset="utf-8"> | |
(function (FC, $) { | |
FC.customFlatRates = {}; | |
FC.customFlatRates.shipping_results = []; | |
FC.customFlatRates.config = { | |
'autoSelect': false /* Set to true if you'd like the top shipping option to be automatically selected for the user */ | |
}; | |
var Decipher = function(text, rot){ | |
var lookup = ["a","b","c","d","e","f","g","h","i","j", | |
"k", "l", "m", "n", "o", "p", "q", "r", | |
"s", "t", "u", "v", "w", "x", "y", "z"]; | |
//clone the original lookup table to make a new one | |
var newLookup = lookup.slice(0); | |
//This is the offset to go off of | |
var offset = rot; | |
//split the message into characters to check against table but lowercase all chars first |
@mixin card($depth) { | |
@if $depth < 1 { | |
box-shadow: none; | |
} @else if $depth > 5 { | |
@warn "Invalid $depth `#{$depth}` for mixin `card`."; | |
} @else { | |
box-shadow: bottom-shadow($depth), top-shadow($depth); | |
} | |
} | |
/// Computes a top-shadow for a card effect. |
# Check what server processes are currently running on a given port | |
function _checkForRunningServer(){ | |
echo "Currently checking port: $1" | |
lsof -wni tcp\:$1; | |
#would like to expand to pass arg to kill said server ps | |
} | |
#register the alias in your .bashrc or .zshrc | |
alias whatsup=_checkForRunningServer |
(function() { | |
var i = 0, | |
adArray = [13,14,15,16,17,18,19,110,111,112,113,114,115,116], | |
l = adArray.length; | |
(function iterator() { | |
console.log('Loop: ', i, ' Loop content: ', adArray[i]); | |
//update before evaluating the conditional | |
if (++i < l) { | |
setTimeout(iterator, 1500); |
{% if context == 'cart' or context == 'checkout' %} | |
<script type="text/javascript" charset="utf-8"> | |
(function (FC, $) { | |
//Set the text of the newsletter subscribe button | |
FC.json.config.lang.checkout_newsletter_subscribe = "Don’t get left out! Stay up to date on our latest products and promotions."; | |
//set the default checked method to checked on the checkbox for subscribe | |
FC.customFlatRates = {}; |
function selectText(containerid) { | |
if (document.selection) { | |
var range = document.body.createTextRange(); | |
range.moveToElementText(document.getElementById(containerid)); | |
range.select(); | |
} else if (window.getSelection) { | |
var range = document.createRange(); | |
range.selectNode(document.getElementById(containerid)); | |
window.getSelection().addRange(range); | |
} |
{ | |
"name": "Example", | |
"version": "1.0.0", | |
"description": "This is an example of a complex app using Jest", | |
"main": "index.js", | |
"scripts": { | |
"start": "npm-run-all --parallel watch:server watch:build", | |
"watch:build": "webpack -d --watch --progress --colors", | |
"watch:server": "nodemon \"server/server.js\" --watch \"./server\"", | |
"test": "jest", |
I hereby claim:
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object: