GET /api/appsreturns a collection of Apps.
idsOptional Array: An array of IDs to filter the collection. Designed to work with Ember Data bulk loading.
| group :development do | |
| gem "rake-pipeline", :git => "https://github.com/livingsocial/rake-pipeline.git" | |
| gem "rake-pipeline-web-filters", :git => "https://github.com/wycats/rake-pipeline-web-filters.git" | |
| gem 'colored' | |
| end |
| App.AccountEditRoute = Ember.Route.extend({ | |
| setupController: function(controller) { | |
| controller.set('content', this.get('currentUser')); | |
| } | |
| }); |
| sudo add-apt-repository ppa:pitti/postgresql | |
| sudo apt-get update | |
| sudo apt-get install postgresql-9.2 postgresql-server-dev-9.2 postgresql-contrib-9.2 | |
| sudo su -l postgres | |
| psql -d template1 -p 5433 | |
| CREATE EXTENSION IF NOT EXISTS hstore; | |
| CREATE EXTENSION IF NOT EXISTS "uuid-ossp"; | |
| service postgresql stop | |
| /usr/lib/postgresql/9.2/bin/pg_upgrade -b /usr/lib/postgresql/9.1/bin -B /usr/lib/postgresql/9.2/bin -d /var/lib/postgresql/9.1/main/ -D /var/lib/postgresql/9.2/main/ -O "-c config_file=/etc/postgresql/9.2/main/postgresql.conf" -o "-c config_file=/etc/postgresql/9.1/main/postgresql.conf" |
| (function() { | |
| window.DS = Ember.Namespace.create({ | |
| CURRENT_API_REVISION: 10 | |
| }); | |
| })(); | |
| (function() { |
| load 'deploy/assets' | |
| set :bundle_roles, [:app] #{:except => {:no_release => true}} # e.g. [:app, :batch] | |
| require 'bundler/capistrano' | |
| set :application, "my_app" | |
| set :repository, "[email protected]:myname/#{application}.git" | |
| set :user, 'deploy' | |
| set :use_sudo, false |
| = address.input :formatted_address, | |
| :label => "Address", | |
| :placeholder => "e.g. Level 1, 41 Stewart Street, Somewhere, Victoria 3012", | |
| :input_html => {:class => "location input-xlarge"} | |
| = javascript_include_tag "//maps.googleapis.com/maps/api/js?sensor=true" | |
| :coffeescript | |
| geocoder = new google.maps.Geocoder() |
CrashLog accepts events over HTTP to stdin.crashlog.io. Events are authenticated with HMAC (see below) using an api_key and secret. Upon successfully authenticating the payload will be consumed.
All payloads must be sent along with a HMAC Authorization header, this should be structured like this:
Authorization: CrashLog <api-token>:<HMAC Signature>
| class CreateJobs < ActiveRecord::Migration | |
| def up | |
| create_table :jobs do |t| | |
| t.timestamps | |
| end | |
| sql = <<-SQL | |
| ALTER TABLE "jobs" ALTER COLUMN id DROP DEFAULT, | |
| ALTER COLUMN id TYPE uuid USING uuid_generate_v4(), | |
| ALTER COLUMN id SET DEFAULT uuid_generate_v4(); |