A Pen by Secret Sam on CodePen.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React from 'react'; | |
import { Typography, useTheme, Box, Theme, SxProps } from '@mui/material'; | |
import { LineChart, Line, Legend, Tooltip, TooltipProps } from 'recharts'; | |
import { LinePointItem } from 'recharts/types/cartesian/Line'; | |
// Leaving out some imports for brevity... | |
import { | |
PlanItem, | |
PlanItemGroup, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { useHubSpotMeetingsSchedulerListener } from '../lib/HubSpot/useHubSpotMeetingsSchedulerListener'; | |
const Component = () => { | |
useHubSpotMeetingsSchedulerListener({ | |
onMeetingBookedSuccess(event) { | |
console.log('success!', event); | |
}, | |
}); | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React from 'react'; | |
import { Box, Input } from '@mui/material'; | |
import { clsx } from 'clsx'; | |
import { useDropzone, DropzoneOptions } from 'react-dropzone'; | |
import { DropZoneProvider } from './DropZoneProvider'; | |
type IDropZoneProps = DropzoneOptions & { | |
children: React.ReactNode; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React from 'react'; | |
import { Box } from '@mui/material'; | |
import { useElementDimensions } from '../../hooks/useElementDimensions'; | |
const ResponsiveChartContainer = ({ | |
children, | |
}: { | |
children: React.ReactElement; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Request npm module - https://www.npmjs.com/package/request | |
const request = require('request'); | |
const http = require('http'); | |
const parse = require('url').parse; | |
// === | |
// API Authentication | |
// Get test keys from: https://valuereport.housecanary.com/settings/api-settings | |
// === | |
const API_KEY = '<REPLACE_WITH_API_KEY>'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<dom-module id="my-view1"> | |
<template> | |
<template is="dom-repeat" items="{{fixedList(hcValue)}}" as="item"> | |
<p>TEST:[[item.address_info.address]]</p> | |
<p>TEST:[[item.address_info.state]]</p> | |
<p>TEST:[[item.property_value.result.value.price_mean]]</p> | |
</template> | |
</template> | |
<script> | |
Polymer({ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
angular.callbacks._0([{"date":"Monday, March 16, 2015","time":"5:00am-6:00am","title":"Aqua Aerobics","studio":"Please note time change","category":"Aquatics","instructor":"John Fable","original_instructor":"John Fable","sub_instructor":"","length":"60","location":"All","id":"59506"},{"date":"Monday, March 16, 2015","time":"7:00am-8:00am","title":"Balletone","studio":"GX2","category":"Cardio","instructor":"Shannon Fable","original_instructor":"Shannon Fable","sub_instructor":"","length":"60","location":"All","id":"59513"},{"date":"Monday, March 16, 2015","time":"7:00am-8:00am","title":"Booty Blaster","studio":"","category":"Cardio","instructor":"Sara Allen","original_instructor":"Sara Allen","sub_instructor":"","length":"60","location":"GXP Club - Gray","id":"9143155"},{"date":"Monday, March 16, 2015","time":"7:00am-8:00am","title":"Balletone","studio":"GX2","category":"Cardio","instructor":"Lisa Way","original_instructor":"Lisa Way","sub_instructor":"","length":"60","location":"All","id":"9101321"},{"date":" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
# Vagrantfile API/syntax version. Don't touch unless you know what you're doing! | |
VAGRANTFILE_API_VERSION = "2" | |
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| | |
# All Vagrant configuration is done here. The most common configuration | |
# options are documented and commented below. For a complete reference, | |
# please see the online documentation at vagrantup.com. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta name='viewport' content='width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no' /> | |
<style> | |
body { margin:0; padding:0; } | |
#map { position:absolute; top:0; bottom:0; width:100%; } | |
.marker-properties { | |
border-collapse:collapse; |
NewerOlder