Skip to content

Instantly share code, notes, and snippets.

View scottbaggett's full-sized avatar

Scott Baggett scottbaggett

View GitHub Profile
import 'dart:developer';
import 'dart:math';
import 'package:flutter/material.dart';
class FadeInOnScroll extends StatefulWidget {
final ScrollController controller;
final double offset;
final Widget child;
final int duration;
import 'package:flutter/material.dart';
import 'package:mgm_resorts/ui/theme.dart';
/// SEPARATOR WIDGET
/// Auxiliary widget used to separate other widgets.
class Separator extends StatelessWidget {
final Widget body;
Separator(this.body);
import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
// Colors
const black = const Color(0xFF000000);
const indigo = const Color(0xFF4957F4);
const brand = const Color(0xFF996D17);
const divider = const Color(0xFFCFCFCF);
const grey = const Color(0xFF7F7F7F);
const darkGrey = const Color(0xFF606060);
@scottbaggett
scottbaggett / product-designer.md
Created August 9, 2018 16:27
Product Designer

As Product Designer you will be empowered to:

  • Help define and shape the design and creative culture at Superformula
  • Deliver everything from very simple to highly complex features across web, email, mobile, and emerging platforms – from idea, to launch, and beyond
  • Partner with engineering very closely to ensure design concepts are both feasible at the start, and properly implemented at the end
  • Create meticulously organized and documented design systems by researching and applying cutting-edge digital product workflow and best-practices
  • Travel for in-person client meetings up to 2-3 times per month. (Usually Las Vegas)
  • Read and internalize Apple’s Human Interface Guidelines (https://developer.apple.com/design/human-interface-guidelines) and Android’s Material Design Guidelines (https://material.io/design/) so that you can thoughtfully contribute to our mobile products by knowing how and why some rules are meant to be broken
  • Create high-fidelity clickable prototypes using tools like Invision, Mar

Restaurant Menu Content Structure

This applies to all entity types that have menus: restaurants, nightlife, spa/salon.

Elements

A restaurant with menus has at least one menu category that contains at least one menu.

Menus have at least one section.

Keybase proof

I hereby claim:

  • I am scottbaggett on github.
  • I am scottbaggett (https://keybase.io/scottbaggett) on keybase.
  • I have a public key ASDWiSpf8Y9MAkegPSM5MDJ6mQHUEkLOsp5NIFjyaJ3f-go

To claim this, I am signing this object:

import EventEmitter from "event-emitter-es6"
class CategoryImage extends EventEmitter {
constructor(properties) {
super()
this.initVelocities()
this.hasBuilt = false
// console.info(properties)
@scottbaggett
scottbaggett / gist:2279d5325ae0eacfad1860744fc04c7e
Last active December 15, 2016 04:27
Installation and Development Instructions for Lexus International

Lexus International

Requirements

  • PHP 5.6
  • MySQL 5.6
  • Node 6
  • Ruby 2.3
  • Composer

Development Tool Install

@scottbaggett
scottbaggett / .env
Last active December 13, 2016 01:55
APP_ENV=local
APP_KEY=base64:ILhAw1MXiBkK9+0/6NilpY9Wdq0R9u9KP7XY2kqZ3es=
APP_DEBUG=true
APP_LOG_LEVEL=debug
APP_URL=http://localhost
DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=lexus_dev
{
"title": "Foo Article Title",
"author": "Will Prater",
"publishedOn": "11/24/2016",
"categories": [
"foo",
"bar"
],
"excerpt": "Crucifix fap tofu four loko man braid. Woke nostrud occupy reprehenderit pitchfork tousled.",
"modules": [