Skip to content

Instantly share code, notes, and snippets.

View cromwellryan's full-sized avatar

Ryan Cromwell cromwellryan

View GitHub Profile
  • Heroku Provides review apps, Dev-Test-Production pipelines, Can run Ember server with proxy.
  • Sparkboxqa No proxy - server will need to support CORS. Can deploy side-x-side with EE for production style urls
  • surge.sh Simple, much like divshot. No native environments
  • Firebase Simple, much like divshot. No native environments
  • netlify.com Simple, much like divshot.
  • getforge.com Simple, much like divshot.
  • bitballoon.com Simple, much like divshot.
@cromwellryan
cromwellryan / README.md
Last active November 13, 2015 17:09
GemCityJS: Collaborative APIs with ApiBlueprint, Apiary.io and your favorite editor.

Intro

  • Markdown format for documenting APIs
  • Built for (geeky) humans
  • Why:
    • Build something out quickly
  • Docs for our approach
if [ -f "$rvm_path/scripts/rvm" ] && [ -f ".ruby-version" ]; then
source "$rvm_path/scripts/rvm"
if [ -f ".ruby-gemset" ]; then
rvm use `cat .ruby-version`@`cat .ruby-gemset`
else
rvm use `cat .ruby-version`
fi
fi
// instance-initializers/patterns.js
export function initialize(application) {
const typeToShow = 'template';
let componentsToShare = Object.keys(application.__registry__.knownForType(typeToShow))
.map( (registeredName) => { return registeredName.replace(`${typeToShow}:`, ""); } )
.map( (fullName) => {
return {
fullName: fullName,
shortName: fullName.replace("pods/","")
};
@cromwellryan
cromwellryan / product-crosssell.json
Last active August 29, 2015 14:22
Readme at the bottom.
{
"name": "Women's The Pixie Ankle Pants",
"regularMaxPrice": "49.99",
"regularMinPrice": "25.00",
"currentMaxPrice": "34.99",
"currentMinPrice": "12.99",
"intMaxQuantity": "5",
"intMaxOrderQuantity": "99",
"variants": [
{
@cromwellryan
cromwellryan / readme.md
Last active August 29, 2015 14:22
Some guidelines for how the EmberJS Community Slack makes decisions.

Channels & Groups

  • General
  • Random
  • Creating New Channels
  • Notifying via @channel, @everyone or @group

Permissions

  • Admins and Team Owners

Code of Conduct

class RecordSubscription
@@enabled = true
def self.enable
@@enabled = true
end
def self.disable
@@enabled = false
end
module FeatureAvailabilityHelper
def feature_available(feature_name)
feature_lookup(feature_name)
.new(request|self)
.available?
end
def feature_lookup(feature_name)
DebugResourceInformationFeature if feature_name == :debug_resource_information
dependencies:
post:
- node_modules/.bin/bower install
test:
override:
- ./node_modules/.bin/grunt dist
deployment:
staging:
MY_ENV=railsconf2015