Skip to content

Instantly share code, notes, and snippets.

@tdrach
tdrach / Test and Deploy Cleverstack.md
Last active January 30, 2020 17:59
Previous setup for testing and deploying Cleverstack

Initial Setup

$ yarn
$ change-java-version 8

change-java-version was a command in Semaphore I used that allowed node-sass to compile correctly without errors.

We couldn’t find that file to show.
@tdrach
tdrach / SketchSystems.spec
Last active April 4, 2019 23:18
Funnels Chart
Funnels Chart
First Step
Create Cohort -> Create Cohort Modal
Second Step
Create Cohort -> Create Cohort Modal
Third Step
Create Cohort -> Create Cohort Modal
Create Cohort Modal
Save Cohort -> Confirmation Toast
Cancel -> First Step
// lambda function in Netlify Functions to add "subscribed" role to user
const axios = require('axios')
function subscribeUser (url, token, id) {
return axios({
method: `put`,
url: `${url}/admin/users/${id}`,
headers: {
'Authorization': `Bearer ${token}`,
'Content-Type': 'application/json',

Motel Guide—Brand & Voice

Motel is great, everyone loves Motel, blah blah blah. Motel even has a brand! That people like! Who knew! 😂 As Motel grows, however, we have to make sure our brand stays consistent, as we move onto more online territory, we should have a guide that keeps Motel a consistent. For my second goal this quarter, I want to create a guide that includes the following content.

Basics

Logo Usage

How do we use our logo? How don’t we use our logo? What versions are there and when do we use each?

Typography

How does Motel treat typography: mostly on the site, but also any situations type would be in a PDF or in print.

Hey Samina!

Hello!!!

Welcome No amount of gifs or bad movie references could tell you how excited we are for you to join. We're a small team at Motel, we don't take new folks on lightly. You are amoung a really, really great group of people.

Resources

There's a couple things you should know when you first join, and they're all here and in this place sort of. The most important is probably How We Work at Motel. It talks about some basic stuff that goes on day to day, and how we use a slew of software services to make us better (and happier).

SCSS Non-Component Structure

  • scss
    • base
      • reset.scss
      • ...
    • lib
      • bourbon
      • ...
    • modules
  • page.scss

Never App Functionality

Currently

  • A user can login via email and password
  • A user can login via Github auth
  • A user can login via Twitter auth
  • A user can login via Facebook auth
  • A user can view their list of books
  • A user can add a new book
  • A user can view their content in a book
  • A user can add an item to a book
[
{
"title": "cardsOne",
"type": "collection",
"collection": [
{
"heading": "Description",
"content": "We built a tool for storytellers, a system to manage your...",
"type": "is-text",
"inline": "",
@tdrach
tdrach / gist:e0cfc5336c70dc42688a
Last active August 29, 2015 14:24
never-cms-marketing-content
[
{
"title": "cards",
"type": "collection",
"collection": [
{
"title": "Signup CTA",
"content": "Neat! Let me know when it's out",
"type": "text"
},