Skip to content

Instantly share code, notes, and snippets.

View tysoncadenhead's full-sized avatar
🚀

Tyson Cadenhead tysoncadenhead

🚀
View GitHub Profile
{
"swagger" : "2.0",
"info" : {
"version" : "1.0.0",
"title" : "LiveSales API",
"description" : "For our Square integration with LiveSales, we will need to provide a server-side endpoint to interface with the Beta Square Fulfillment API and to complete transactions."
},
"paths" : {
"/{citizenAppId}/categories" : {
"get" : {
const Container = styled.View`
background-color: ${R.path(['theme', 'primaryBackgroundColor'])};
`;
const result = R.path(['theme', 'primaryBackgroundColor']);
const result = props => R.path(['theme', 'primaryBackgroundColor'])(props);
const result = props => props.theme.primaryBackgroundColor;
const result = props => R.path(['theme', 'primaryBackgroundColor'], props);
const Container = styled.View`
background-color: {props => props.theme.primaryBackgroundColor};
`;
var server = require('./server');
server.listen(3000);
<div id="example"></div>
<script type="text/javascript">
$('#example').overlayGallery({
items: [{
small: 'img/small1.jpg'
medium: 'img/medium1.jpg',
large: 'img/large1.jpg',
title: 'Title for slide 1',
description: 'Description for slide 1'
},{
<div id="example">
<a href="images/1l.jpg" title="1 title" thumb="images/1s.jpg"><img src="images/1m.jpg" alt="1 desc" /></a>
<a href="images/2l.jpg" title="2 title" thumb="images/2s.jpg"><img src="images/2m.jpg" alt="2 desc" /></a>
<a href="images/1l.jpg" title="1 title" thumb="images/1s.jpg"><img src="images/1m.jpg" alt="1 desc" /></a>
<a href="images/2l.jpg" title="2 title" thumb="images/2s.jpg"><img src="images/2m.jpg" alt="2 desc" /></a>
</div>
<script type="text/javascript">
$('#example').overlayGallery();
</script>