Skip to content

Instantly share code, notes, and snippets.

View ghardin137's full-sized avatar

Greg Hardin ghardin137

View GitHub Profile
const menuAndCategory = [
{
menu_name: "First Menu",
menu_description: "I love menus and everything it brings me ",
menu_unique_menu_id: "7d491498-8702-41ba-af53-4dff90f46fc8",
category_name: "Breakfast",
unique_category_id: "71f317cb-6376-4435-ba6c-3a57d006bca6",
product_id: "eda57dcf-234f-423a-9ee3-433e8264ab91",
},
{
import React, { Component } from 'react';
import ReactDOM from 'react-dom';
import './ContestWinnerList.scss';
export default class ContestWinnerList extends Component {
state = {
currentTop: 0;
}
timeout = null;
@ghardin137
ghardin137 / REACT SAMPLE.js
Last active June 24, 2019 18:34
REACT SAMPLE
import React, { Component } from 'react';
import ReactDOM from 'react-dom';
import Banner from './stateless/Banner/Banner';
import ContestWinnerList from './stateless/ContestWinnerList/ContestWinnerList';
import { getData, closeRequest } from './helpers/GetDailyContestWinners';
class DailyContestWinners extends Component {
state = {
externalData: [],
loading: false,
const audioCtx = new (window.AudioContext || window.webkitAudioContext)();
const Player = ({ tempo, phrases, assets, playing, length, togglePlaying, stopPlaying }) => {
const [audioLoading, setAudioLoading] = useState(true);
const [audioPhrases, setAudioPhrases] = useState({});
const [beat, setBeat] = useState(0);
const timeout = useRef();
const playingNodes = useRef([]);
useEffect(() => {

Keybase proof

I hereby claim:

  • I am ghardin137 on github.
  • I am ghardin137 (https://keybase.io/ghardin137) on keybase.
  • I have a public key whose fingerprint is 9F7A 3894 E176 5CE8 D73B 26CC BC14 3B93 8A0F E0A4

To claim this, I am signing this object: