Skip to content

Instantly share code, notes, and snippets.

View SaiEmaniFlipp's full-sized avatar

SaiEmaniFlipp

  • Flipp
  • Toronto
View GitHub Profile
<storefront xmlns="http://schemas.flipp.com/sfml/2.0" title="STEP by STEP" subtitle="April 20 to April 20" uuid="452435423543254325">
<head>
<!-- styles can control borders, padding, margin, fonts and backgrounds -->
<styles>
<!-- PADDING AND MARGIN STYLE -->
<style id="1"
padding="30 30 30 30"
margin="10 10 10 10"
border-right-style="solid"
border-right-color="#a7a3a3"
<storefront xmlns="http://schemas.flipp.com/sfml/2.0" title="STEP by STEP" subtitle="April 20 to April 20" uuid="452435423543254325">
<head>
<!-- styles can control borders, padding, margin, fonts and backgrounds -->
<styles>
<!-- PADDING AND MARGIN STYLE -->
<style id="1"
padding="30 30 30 30"
margin="10 10 10 10"
border-right-style="solid"
border-right-color="#a7a3a3"
<!-- Copyright (c) 2020 Flipp. All rights reserved. -->
<storefront xmlns="http://schemas.flipp.com/sfml/2.0" title="STEP by STEP" subtitle="April 20 to April 20" uuid="452435423543254325">
<head>
</head>
<body>
<linear-layout width="match-parent" height="wrap-content">
<flexbox width="match-parent" height="wrap-content" orientation="horizontal" style-id="1">
<item-atom flex-grow="1" width="0" height="wrap-content" style-id="4" source-id="1" source="ecom" pre-price="" price="$124.00" name="South Shore Karbon Wall Mounted Cabinet in Pure Black Granite" sales-story="" post-price="" original-price="">
<url-source url="https://s3.amazonaws.com/storefront-sfml-assets-production/2135/flyers/123456/items/p_1000663877.jpg" width="481" height="458"/>
</item-atom>
<!-- Copyright (c) 2020 Flipp. All rights reserved. -->
<storefront xmlns="http://schemas.flipp.com/sfml/2.0" title="STEP by STEP" subtitle="April 20 to April 20" uuid="452435423543254325">
<head>
<!-- styles can control borders, padding, margin, fonts and backgrounds -->
<styles>
<!-- TOP flex box module style -->
<style id="1" padding="10 10 10 10" border-bottom-style="solid" border-bottom-color="#e8e8e8" border-bottom-width="1px" margin="20 0 -20 0" />
<storefront xmlns="http://schemas.flipp.com/sfml/2.0" title="STEP by STEP" subtitle="April 20 to April 20" uuid="452435423543254325">
<head>
<!-- styles can control borders, padding, margin, fonts and backgrounds -->
<styles>
<!-- TOP flex box module style -->
<style id="1" padding="10 10 10 10" border-bottom-style="solid" border-bottom-color="#e8e8e8" border-bottom-width="1px" margin="20 0 -20 0" />
<!-- flex box module style -->
<style id="2" padding="10 10 10 10" />
<storefront xmlns="http://schemas.flipp.com/sfml/2.0" title="SFML 2 Title" subtitle="SFML 2 subtitle" uuid="UUID">
<head></head>
<body>
<linear-layout width="match-parent" height="wrap-content" orientation="horizontal">
<flexbox width="match-parent" height="wrap-content" orientation="horizontal" >
<item-atom flex-grow="1" width="0" height="wrap-content" item-id="2" item-source="ecom">
<url-source url="https://dummyimage.com/381x358/ff0000/ffffff.png%26text=2UP%20LARGE" width="381" height="358"/>
</item-atom>
<item-atom flex-grow="2" width="0" height="wrap-content" item-id="2" item-source="ecom">
@SaiEmaniFlipp
SaiEmaniFlipp / margin_padding.sfml
Last active January 28, 2020 10:11
Margin and Padding sample sfml
<storefront xmlns="http://schemas.flipp.com/sfml/2.0" title="STEP by STEP" subtitle="April 20 to April 20" uuid="452435423543254325">
<head>
<!-- styles can control borders, padding, margin, fonts and backgrounds -->
<styles>
<!-- PADDING AND MARGIN STYLE -->
<style id="1"
padding="30 -30 30 -30"
margin="10 -10 10 -10"
/>
</styles>
<storefront xmlns="http://schemas.flipp.com/sfml/2.0" title="STEP by STEP" subtitle="April 20 to April 20" uuid="452435423543254325">
<head>
<!-- styles can control borders, padding, margin, fonts and backgrounds -->
<styles>
<!-- PADDING AND MARGIN STYLE -->
<style id="1"
padding="30 -30 30 -30"
margin="10 -10 10 -10"
border-right-style="solid"
border-right-color="#a7a3a3"
import java.io.BufferedReader;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.io.InputStreamReader;
import java.nio.charset.Charset;
import java.nio.file.Files;
import java.nio.file.Path;
import java.nio.file.Paths;
import java.util.ArrayList;