Skip to content

Instantly share code, notes, and snippets.

View huntercaron's full-sized avatar
♻️

Hunter Caron huntercaron

♻️
View GitHub Profile
@huntercaron
huntercaron / Utils.tsx
Created December 26, 2019 21:41
Util functions from FirebaseData tutorial files
const hashCode = str =>
str
.split("")
.reduce((hash, val) => ((hash << 5) - hash + val.charCodeAt(0)) | 0, 0)
export const isChrome =
/Chrome/.test(navigator.userAgent) && /Google Inc/.test(navigator.vendor)
export const isSafari =
/Safari/.test(navigator.userAgent) &&
/Apple Computer/.test(navigator.vendor)
@huntercaron
huntercaron / garg.html
Created November 5, 2015 18:38
the added html and the added css
<div class="container g">
<div class="g-bro"></div>
g.
</div>
<h2 class="garg">GARGOYLE</h2>
<h3>interior design firm</h3>
<style>
.garg::after {
background-color: #ffd527;
@huntercaron
huntercaron / index.html
Created January 28, 2015 17:36 — forked from anonymous/index.html
Test Flexbox Grid
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Flexbox</title>
<meta name="viewport" content="width=device-width">
<link rel="stylesheet" href="css/stylesheet.css">
</head>