Skip to content

Instantly share code, notes, and snippets.

colmtuite 468 0.0 0.1 849880 3000 ?? S Thu03am 0:28.31 /Applications/Utilities/Adobe Creative Cloud/HEX/Adobe CEF Helper.app/Contents/MacOS/Adobe CEF Helper --type=renderer --no-sandbox --user-agent=Mozilla/5.0 (Macintosh) AppleWebKit/537.36 (KHTML, like Gecko) Safari/537.36 CreativeCloud/1.9.1.474 --lang=en-US --lang=en-US --log-severity=disable --disable-accelerated-video-decode --channel=371.0.66053191
source 'https://rubygems.org'
# Needed by heroku
ruby '2.2.0'
# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
gem 'rails', '4.2.0'
/Users/colmtuite/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/rubygems/dependency.rb:315:in `to_specs': Could not find 'railties' (>= 0) among 6 total gem(s) (Gem::LoadError)
Checked in 'GEM_PATH=/Users/colmtuite/.gem/ruby/2.2.0:/Users/colmtuite/.rvm/rubies/ruby-2.2.0/lib/ruby/gems/2.2.0', execute `gem env` for more information
from /Users/colmtuite/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/rubygems/dependency.rb:324:in `to_spec'
from /Users/colmtuite/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/rubygems/core_ext/kernel_gem.rb:64:in `gem'
from /Users/colmtuite/.rvm/gems/ruby-2.2.0/bin/rails:22:in `<main>'
Colms-MacBook-Air:generator colmtuite$
Template.create! name: 'Hero #1', tag: 'hero', free: 'true', code: %{<section class="bg-gray--1 ptb-xxl cf height-80" style="position: relative;"><div class="verticallyCenter"><div class="pageWrap"><div class="width-40"><div class="mb-xl"><span class="icon--m icon-quote c-white js-highlight"></span></div><h1 class="fs-xl lh-xl c-white mb-m js-contentEditable js-highlight">Find a place that you can call home.</h1><p class="lh-s c-white opacity-70 mb-xl js-contentEditable js-lowlight">Be a yardstick of quality. Some people aren"t used to an environment where excellence is expected.</p><a href="#" class="btn--xl btn--flat">Get started</a></div></div></div><div class="height-100 width-50 posPinTR" style="background-image: url("/assets/forest-trees-hiker-hiking.jpg"); background-size: cover; background-position: center;></div>}
Template.create! name: 'Hero #1', tag: 'hero', free: 'true', code: '<section class="bg-gray--1 ptb-xxl cf height-80" style="position: relative;"><div class="verticallyCenter"><div class="pageWrap"><div class="width-40"><div class="mb-xl"><span class="icon--m icon-quote c-white js-highlight"></span></div><h1 class="fs-xl lh-xl c-white mb-m js-contentEditable js-highlight">Find a place that you can call home.</h1><p class="lh-s c-white opacity-70 mb-xl js-contentEditable js-lowlight">Be a yardstick of quality. Some people aren"t used to an environment where excellence is expected.</p><a href="#" class="btn--xl btn--flat">Get started</a></div></div></div><div class="height-100 width-50 posPinTR" style="background-image: url(\"/assets/forest-trees-hiker-hiking.jpg\"); background-size: cover; background-position: center;"></div>'
<div class="position-fixed ta-center" style="width: 200px; height: 200px;">
<div class="verticallyCenter">
<p>I am loading text to let you know the app is loading and will be with you shortly.</p>
</div>
</div>
<div class="ml-s mr-s" data-reactid=".0.3.$0.0.1.0.0">
<a class="fs-s td-underline--hover" href="javascript:void(0)" data-reactid=".0.3.$0.0.1.0.0.0">Link</a>
</div>
import React, { PropTypes } from 'react';
import classNames from 'classnames';
const baseButtonClasses = [
'display-inlineBlock',
'borderWidth-0',
'outlineStyle-none',
'verticalAlign-middle',
'appearance-none',
'whiteSpace-nowrap',
import React from 'react';
import throttle from 'lodash/throttle';
import Panel from './Panel.react';
import Input from './Input.react';
import SelectItemAction from '~/actions/SelectItemAction';
import DeselectItemAction from '~/actions/DeselectItemAction';
import TranslateItemAction from '~/actions/TranslateItemAction';
import TransformItemAction from '~/actions/TransformItemAction';
import React from 'react';
import InputField from './InputField.react';
import classNames from 'classnames';
export default function Input(props) {
const classes = [];
if (props.disabled) classes.push('opacity-30', 'userSelect-none', 'pointerEvents-none');
return (
<div
className={classNames(classes, props.className)}>
import React, { PropTypes } from 'react';
import classNames from 'classnames';
const baseButtonClasses = [
'display-inlineBlock',
'borderWidth-0',
'outlineStyle-none',
'verticalAlign-middle',
'appearance-none',
'whiteSpace-nowrap',