Skip to content

Instantly share code, notes, and snippets.

View dane-stevens's full-sized avatar

Dane Stevens dane-stevens

View GitHub Profile
import React from 'react'
import PropTypes from 'prop-types'
import { TueriContext } from './Provider'
import kebabCase from 'lodash.kebabcase'
class Img extends React.Component {
constructor(props) {
super(props)
this.state = {
@dane-stevens
dane-stevens / bitbucket-pipelines.yml
Last active November 4, 2019 11:00
Sample Bitbucket Pipelines Config
options:
# Enable docker for the Pipeline
docker: true
pipelines:
branches:
master:
- step:
name: Build app for Production (create-react-app)
image: mhart/alpine-node:10
@dane-stevens
dane-stevens / Dockerfile
Created April 4, 2019 11:30
Sample dockerfile
FROM mhart/alpine-node:10
WORKDIR /app
EXPOSE 5000
# Install http server
RUN yarn global add serve
# Bundle app source
COPY build /app/build
// Name: Format Addresses - Fulfillment Files
import "@johnlindquist/kit";
import { parse } from "csv-parse";
import { stringify } from "csv-stringify";
import fs from "fs";
import path from "path";
import { transform } from "stream-transform";
// const files = await drop();