[remote "heroku"]
url = [email protected]:<appname>.git
Host heroku.work
| form(:html => { :multipart => true }) do |f| | |
| f.inputs 'Main name' do | |
| f.input :name | |
| end | |
| f.inputs "Other sub-piece" do | |
| f.input :other_field_from_main_thing | |
| f.has_many :other_things do |thing| | |
| thing.inputs "things" do |
| include ActiveModel::Validations | |
| include ActiveModel::Conversion | |
| extend ActiveModel::Naming |
[remote "heroku"]
url = [email protected]:<appname>.git
Host heroku.work
| onRender: -> | |
| @$('#fileupload').fileupload | |
| dropZone: @$(@itemViewContainer) | |
| headers: | |
| token: App.Entities.Session.getCurrentSession().get("token") | |
| dataType: 'json', | |
| # done: (e, data) => | |
| # @collection.push(new App.Entities.Image(data.result)) | |
| add: (e, data) => | |
| @getFileSize(data) |
| @GuestServices.module "Components.Gallery", (Gallery, App, Backbone, Marionette, $, _) -> | |
| class Gallery.GalleryView extends App.Views.CompositeView | |
| ui: | |
| dropZone: ".dropzone" | |
| initialize: -> | |
| @$el.on("dragover", _.bind(@_showDropzone, @)) | |
| buildItemView: (item, itemViewType, itemViewOptions) -> |
I hereby claim:
To claim this, I am signing this object:
For old ruby hash syntax with symbols
%s/:\([a-z_]\+\) =>/\1:/gc
For old syntax with strings
%s/"\([a-z]\+\)" =>/\1:/gc
| #app/api/grape_test_api/api.rb | |
| module GrapeTestAPI | |
| class API < Grape::API | |
| version 'v1', using: :header, vendor: 'twitter' | |
| format :json | |
| get 'hello' do | |
| "hello world" | |
| end |
essentially
export ARCHFLAGS="-Wno-error=unused-command-line-argument-hard-error-in-future"
| Jeffs-MacBook-Pro-2:~ jeff$ curl -s https://intridea-boxen-web.herokuapp.com/script/590343f6.sh > /tmp/install-boxen; bash /tmp/install-boxen | |
| Since you are running OS X 10.9, you will need to install the Command | |
| Line Tools (even if you already have Xcode installed). | |
| 1. You should see a pop-up asking you to install them in a moment. | |
| 2. Click Install! | |
| Configured with: --prefix=/Library/Developer/CommandLineTools/usr --with-gxx-include-dir=/usr/include/c++/4.2.1 | |
| Apple LLVM version 5.1 (clang-503.0.40) (based on LLVM 3.4svn) |