This repository is intended to be run on a brand new computer.
Please note: macOS is our only supported environment.
- MacOS
- Git
Everything else will be installed for you.
| import React, { Component } from 'react'; | |
| import PropTypes from 'prop-types'; | |
| import { Alert, Box } from '@smooth-ui/core-sc'; | |
| class DismissableAlert extends Component { | |
| constructor (props) { | |
| super(props); |
| 'use strict'; | |
| /** | |
| * Member Api schema. | |
| * @return {Object} Mongoose model object. | |
| */ | |
| const memberApiSchema = () => { | |
| const schema = new mongoose.Schema({ | |
| active: { type: String, required: true, enum: ['true', 'false'] }, |
| # Here is your stack preview | |
| # You can make advanced changes like modifying your VM, | |
| # installing packages, and running shell commands. | |
| provider: | |
| digitalocean: | |
| access_token: '${var.digitalocean_access_token}' | |
| resource: | |
| digitalocean_droplet: |
| /** | |
| * Helper function to create an api key | |
| * @param {String} data The string to encrypt | |
| * @return {String} The sha256 hash result | |
| */ | |
| function createHmac (data) { | |
| const crypto = require('crypto'); | |
| const hmac = crypto.createHmac('sha256', config.get('appSecret')); | |
| hmac.update(data); |
| version: '2' | |
| services: | |
| consul: | |
| image: smebberson/alpine-consul | |
| consului: | |
| image: smebberson/alpine-consul-ui | |
| ports: | |
| - 8500:8500 |
| <!DOCTYPE html> | |
| <!-- | |
| Copyright (c) 2012-2016 Adobe Systems Incorporated. All rights reserved. | |
| Licensed to the Apache Software Foundation (ASF) under one | |
| or more contributor license agreements. See the NOTICE file | |
| distributed with this work for additional information | |
| regarding copyright ownership. The ASF licenses this file | |
| to you under the Apache License, Version 2.0 (the |
| { | |
| // -------------------------------------------------------------------- | |
| // JSHint Configuration, Strict Edition | |
| // -------------------------------------------------------------------- | |
| // | |
| // This is a options template for [JSHint][1], using [JSHint example][2] | |
| // and [Ory Band's example][3] as basis and setting config values to | |
| // be most strict: | |
| // | |
| // * set all enforcing options to true |
| .DS_Store | |
| node_modules/ |
| <!DOCTYPE html> | |
| <head> | |
| <meta chartset="UTF-8"> | |
| <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <meta name="author" content="Scott Mebberson"> | |
| <title>scottmebberson.com example</title> | |
| <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"> | |
| <link rel="stylesheet" href="http://scottmebberson.com/css/examples.css" type="text/css" media="screen"> |