Skip to content

Instantly share code, notes, and snippets.

View kensnyder's full-sized avatar

Ken Snyder kensnyder

View GitHub Profile
Benchmarking against 10 iteration(s):
--- 1.2MB jpg file ---
0.298s - data uri base64_encode()
0.701s - data uri urlencode()
0.702s - data uri rawurlencode()
0.045s - temp file
--- 2.5MB jpg file ---
0.597s - data uri base64_encode()
.adg3 .ghx-column h2 {
text-transform: none;
font-size: 13px;
color: #2e2e2e
}
.adg3 .ghx-column-headers .ghx-qty {
background-color: #18cb3b;
color: white;
width: 20px;
height: 20px;
import React from 'react';
import PropTypes from 'prop-types';
/**
* A box with an animated dashed border, i.e. marching ants
*/
export default function MarchingAnts({
width,
height,
animationDuration = 300,