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 * as React from "react"; | |
import { Box, Video } from "#vcs-react/components"; | |
import { useGrid } from "#vcs-react/hooks"; | |
import * as layoutFuncs from "../layouts.js"; | |
import VideoSingle from "./VideoSingle.js"; | |
import decorateVideoSplitItem from "./overrides/decorateVideoSplitItem.js"; | |
import { PositionCorner } from "../constants.js"; | |
import { debug } from "#vcs-stdlib/components"; | |
import { RoomContext } from "#vcs-react/contexts"; |
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 * as React from 'react'; | |
import { Box, Video } from '#vcs-react/components'; | |
import { useGrid } from '#vcs-react/hooks'; | |
import * as layoutFuncs from '../layouts.js'; | |
import VideoSingle from './VideoSingle.js'; | |
import decorateVideoSplitItem from './overrides/decorateVideoSplitItem.js'; | |
import { PositionCorner } from '../constants.js'; | |
export default function AugmentedSplit(props) { | |
const { participantDescs = [] } = props; |
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 * as React from 'react'; | |
import { Box, Video } from '#vcs-react/components'; | |
import { useGrid } from '#vcs-react/hooks'; | |
import * as layoutFuncs from '../layouts.js'; | |
import VideoSingle from './VideoSingle.js'; | |
import decorateVideoSplitItem from './overrides/decorateVideoSplitItem.js'; | |
import { PositionCorner } from '../constants.js'; | |
export default function AugmentedSplit(props) { | |
const { participantDescs = [] } = props; |
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
# Test |
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
#!/bin/bash | |
# Get Theme (install themekit here, probably a good idea to copy/paste these commands to the top https://shopify.github.io/themekit/) | |
theme get --password=[your-api-password] --store=[your-store.myshopify.com] --themeid=[your-theme-id] | |
unzip ThemeName.zip | |
cp -R ThemeName/ WhereYourThemeIs/ | |
cd WhereYourThemeIs/ || exit 0 | |
git checkout -b themeChanges | |
git push origin themeChanges |
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
{"lastUpload":"2021-09-15T15:33:45.998Z","extensionVersion":"v3.4.3"} |
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
interface ICity { | |
[key: string]: number; | |
} | |
const cities: ICity[] = [ | |
{ "San Francisco": 3000 }, | |
{ "Los Angeles": 5000 }, | |
{ "San Francisco": 3000 }, | |
{ Sacramento: 2000 } | |
]; |
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
const cities = [ | |
{ "San Francisco": 3000 }, | |
{ "Los Angeles": 5000 }, | |
{ "San Francisco": 3000 }, | |
{ Sacramento: 2000 } | |
]; | |
const uniqueCityFilter = (cityObject, index, array) => { | |
return ( | |
index === |
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
var equation = ["+2x", "+1y", "-1x", "+2y"]; | |
var equationRegex = /[a-zA-Z].*/g; | |
var numberRegex = /\+([^;]*)[a-zA-z]/g; // Make this the right regex, should match the number part and the sign e.g +3.5 | |
function sortEquation(a, b) { | |
var valueA = a.match(equationRegex)[0]; | |
var valueB = b.match(equationRegex)[0]; | |
if (valueA < valueB) { | |
return -1; |
NewerOlder